Lines Matching refs:periphpos
128 uint32_t periphpos; in HAL_GTZC_TZSC_ConfigPeriphAttributes() local
163 periphpos = (1UL << GTZC_GET_PERIPH_POS(PeriphId)); in HAL_GTZC_TZSC_ConfigPeriphAttributes()
169 GTZC_TZSC->SECCFGR1 |= periphpos; in HAL_GTZC_TZSC_ConfigPeriphAttributes()
173 GTZC_TZSC->SECCFGR1 &= ~periphpos; in HAL_GTZC_TZSC_ConfigPeriphAttributes()
180 GTZC_TZSC->PRIVCFGR1 |= periphpos; in HAL_GTZC_TZSC_ConfigPeriphAttributes()
184 GTZC_TZSC->PRIVCFGR1 &= ~periphpos; in HAL_GTZC_TZSC_ConfigPeriphAttributes()
204 uint32_t periphpos; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local
223 periphpos = 0; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
228 while((TZSC_PRIVCFGR1_ALL_Msk & (1UL << periphpos)) == 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
231 periphpos++; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
234 if ((reg_value & (1UL << periphpos)) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
244 periphpos++; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
249 periphpos = 0; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
253 while((TZSC_PRIVCFGR1_ALL_Msk & (1UL << periphpos)) == 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
256 periphpos++; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
259 if ((reg_value & (1UL << periphpos)) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes()
269 periphpos++; in HAL_GTZC_TZSC_GetConfigPeriphAttributes()