Searched refs:atcr1 (Results 1 – 1 of 1) sorted by relevance
1167 uint32_t *cr2, uint32_t *atcr1, in stm32_tamp_set_ext_config() argument1206 *atcr1 |= _TAMP_ATCR1_ETAMPAM(id); in stm32_tamp_set_ext_config()1209 if (*atcr1 & _TAMP_ATCR1_ATOSHARE) { in stm32_tamp_set_ext_config()1216 *atcr1 = (*atcr1 & in stm32_tamp_set_ext_config()1222 *atcr1 &= ~_TAMP_ATCR1_ETAMPAM(id); in stm32_tamp_set_ext_config()1291 static void stm32_tamp_set_atper(uint32_t pins_out_bits, uint32_t *atcr1) in stm32_tamp_set_atper() argument1312 *atcr1 |= SHIFT_U32(conf, _TAMP_ATCR1_ATPER_SHIFT) & in stm32_tamp_set_atper()1320 uint32_t atcr1 = 0; in stm32_tamp_set_config() local1338 atcr1 = stm32_tamp_dev->pdata.active_conf & _TAMP_ATCR1_COMMON_MASK; in stm32_tamp_set_config()1339 stm32_tamp_set_atper(stm32_tamp_dev->pdata.out_pins, &atcr1); in stm32_tamp_set_config()[all …]