Lines Matching refs:EXT_TAMP1
102 #define _TAMP_CR1_ETAMP(id) BIT((id) - EXT_TAMP1)
105 #define _TAMP_CR2_ETAMPTRG(id) BIT((id) - EXT_TAMP1 + U(24))
109 #define _TAMP_CR2_ETAMPMSK(id) BIT((id) - EXT_TAMP1 + U(16))
110 #define _TAMP_CR2_ETAMPNOER(id) BIT((id) - EXT_TAMP1)
133 #define _TAMP_ATCR1_ETAMPAM(id) BIT((id) - EXT_TAMP1)
137 GENMASK_32(((_id) - EXT_TAMP1 + 1) * 2 + 7, \
138 ((_id) - EXT_TAMP1) * 2 + 8); \
142 SHIFT_U32((od) - OUT_TAMP1, ((id) - EXT_TAMP1) * 2 + 8)
148 GENMASK_32(((_id) - EXT_TAMP1 + 1) * 3 + 7, \
149 ((_id) - EXT_TAMP1) * 3 + 8); \
153 SHIFT_U32((od) - OUT_TAMP1, ((id) - EXT_TAMP1) * 3 + 8)
162 #define _TAMP_IER_ETAMP(id) BIT((id) - EXT_TAMP1)
168 #define _TAMP_SR_ETAMP(id) BIT((id) - EXT_TAMP1)
172 #define _TAMP_SCR_ETAMP(id) BIT((id) - EXT_TAMP1)
289 EXT_TAMP1, enumerator
476 { .id = EXT_TAMP1 }, { .id = EXT_TAMP2 }, { .id = EXT_TAMP3 },
483 .id = EXT_TAMP1, .bank = GPIO_BANK('C'), .pin = 13,
487 .id = EXT_TAMP1, .bank = GPIO_BANK('F'), .pin = 10,
533 { .id = EXT_TAMP1 }, { .id = EXT_TAMP2 }, { .id = EXT_TAMP3 },
538 .id = EXT_TAMP1, .bank = GPIO_BANK('C'), .pin = 13,
594 { .id = EXT_TAMP1 }, { .id = EXT_TAMP2 }, { .id = EXT_TAMP3 },
601 .id = EXT_TAMP1, .bank = GPIO_BANK('I'), .pin = 8,
605 .id = EXT_TAMP1, .bank = GPIO_BANK('C'), .pin = 4,
640 { .id = EXT_TAMP1 }, { .id = EXT_TAMP2 }, { .id = EXT_TAMP3 },
646 { .id = EXT_TAMP1 }, { .id = EXT_TAMP2 }, { .id = EXT_TAMP3 },
654 .id = EXT_TAMP1, .bank = GPIO_BANK('I'), .pin = 8,
658 .id = EXT_TAMP1, .bank = GPIO_BANK('C'), .pin = 4,
1033 return id - EXT_TAMP1 <= in is_ext_tamp_id_valid()
1194 FMSG("EXT_TAMP%d disabled", id - EXT_TAMP1 + 1); in stm32_tamp_set_ext_config()
1260 id - EXT_TAMP1 + 1, in stm32_tamp_set_ext_config()
1405 if (id < EXT_TAMP1 || id > (EXT_TAMP1 + _TAMP_CR2_ETAMPMSK_MAX_ID)) in stm32_tamp_set_mask()
1430 if (id < EXT_TAMP1 || id > (EXT_TAMP1 + _TAMP_CR2_ETAMPMSK_MAX_ID)) in stm32_tamp_unset_mask()
1685 id = ext_tamp_id + EXT_TAMP1 - 1; in stm32_tamp_configure_pin_from_dt()
1706 if (out_id - OUT_TAMP1 != id - EXT_TAMP1) in stm32_tamp_configure_pin_from_dt()
1855 MSG("External tamper %u occurs", id - EXT_TAMP1 + 1); in stm32_tamp_etamper_action()
1864 uint32_t i_tampers[EXT_TAMP1 * 2] = { }; in stm32_configure_tamp()
1878 !internal_tampers || len / sizeof(uint32_t) > EXT_TAMP1 * 2) in stm32_configure_tamp()
1930 res = stm32_tamp_activate_tamp(EXT_TAMP1 + ext_tamp_id - 1, in stm32_configure_tamp()