Lines Matching refs:tamp_ext

1170 	struct stm32_tamp_tamper_data *tamp_ext = NULL;  in stm32_tamp_set_ext_config()  local
1176 tamp_ext = &tcompat->ext_tamp[etamp_index]; in stm32_tamp_set_ext_config()
1177 id = tamp_ext->id; in stm32_tamp_set_ext_config()
1187 if (!tamp_ext->func || !(tamp_ext->mode & TAMP_IN_DT)) { in stm32_tamp_set_ext_config()
1200 if (tamp_ext->mode & TAMP_TRIG_ON) in stm32_tamp_set_ext_config()
1205 if (tamp_ext->mode & TAMP_ACTIVE) { in stm32_tamp_set_ext_config()
1214 tamp_ext->out_id); in stm32_tamp_set_ext_config()
1219 tamp_ext->out_id); in stm32_tamp_set_ext_config()
1225 if (tamp_ext->mode & TAMP_NOERASE) in stm32_tamp_set_ext_config()
1235 if (tamp_ext->mode & TAMP_EVT_MASK) { in stm32_tamp_set_ext_config()
1261 (tamp_ext->mode & TAMP_ACTIVE) ? "active" : "passive", in stm32_tamp_set_ext_config()
1262 (tamp_ext->mode & TAMP_NOERASE) ? "potential" : "confirmed", in stm32_tamp_set_ext_config()
1263 (tamp_ext->mode & TAMP_TRIG_ON) ? "on" : "off", in stm32_tamp_set_ext_config()
1264 (tamp_ext->mode & TAMP_EVT_MASK) ? " (masked)" : ""); in stm32_tamp_set_ext_config()
1266 if (tamp_ext->mode & TAMP_ACTIVE) in stm32_tamp_set_ext_config()
1268 tamp_ext->out_id - OUT_TAMP1 + 1); in stm32_tamp_set_ext_config()
1648 struct stm32_tamp_tamper_data *tamp_ext = NULL; in stm32_tamp_configure_pin_from_dt() local
1690 tamp_ext = &pdata->compat->ext_tamp[i]; in stm32_tamp_configure_pin_from_dt()
1695 if (!tamp_ext) { in stm32_tamp_configure_pin_from_dt()
1702 tamp_ext->mode |= TAMP_ACTIVE; in stm32_tamp_configure_pin_from_dt()
1703 tamp_ext->out_id = out_id; in stm32_tamp_configure_pin_from_dt()
1704 pdata->out_pins |= BIT(tamp_ext->out_id - OUT_TAMP1); in stm32_tamp_configure_pin_from_dt()
1710 tamp_ext->mode |= TAMP_TRIG_ON; in stm32_tamp_configure_pin_from_dt()
1713 tamp_ext->mode |= TAMP_IN_DT; in stm32_tamp_configure_pin_from_dt()