Searched refs:cr2 (Results 1 – 3 of 3) sorted by relevance
1167 uint32_t *cr2, uint32_t *atcr1, in stm32_tamp_set_ext_config() argument1189 *cr2 &= ~_TAMP_CR2_ETAMPMSK(id); in stm32_tamp_set_ext_config()1190 *cr2 &= ~_TAMP_CR2_ETAMPTRG(id); in stm32_tamp_set_ext_config()1191 *cr2 &= ~_TAMP_CR2_ETAMPNOER(id); in stm32_tamp_set_ext_config()1201 *cr2 |= _TAMP_CR2_ETAMPTRG(id); in stm32_tamp_set_ext_config()1203 *cr2 &= ~_TAMP_CR2_ETAMPTRG(id); in stm32_tamp_set_ext_config()1226 *cr2 |= _TAMP_CR2_ETAMPNOER(id); in stm32_tamp_set_ext_config()1228 *cr2 &= ~_TAMP_CR2_ETAMPNOER(id); in stm32_tamp_set_ext_config()1243 *cr2 |= _TAMP_CR2_ETAMPMSK(id); in stm32_tamp_set_ext_config()1252 *cr2 &= ~_TAMP_CR2_ETAMPMSK(id); in stm32_tamp_set_ext_config()[all …]
337 cfg->cr2 = io_read32(base + I2C_CR2); in save_cfg()354 io_write32(base + I2C_CR2, cfg->cr2); in restore_cfg()365 DMSG("CR2: %#"PRIx32, cfg->cr2); in dump_cfg()
101 uint32_t cr2; member