Searched refs:reg_value (Results 1 – 7 of 7) sorted by relevance
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_gtzc.c | 352 uint32_t reg_value; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 370 reg_value = READ_REG(GTZC_TZSC1->SECCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 373 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 383 reg_value = READ_REG(GTZC_TZSC1->SECCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 386 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 396 reg_value = READ_REG(GTZC_TZSC1->SECCFGR3); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 399 if (((reg_value & (1UL << (i - 64U))) >> (i - 64U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 413 reg_value = READ_REG(GTZC_TZSC1->PRIVCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 416 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 426 reg_value = READ_REG(GTZC_TZSC1->PRIVCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_gtzc.c | 385 uint32_t reg_value; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 402 reg_value = READ_REG(GTZC_TZSC1->SECCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 405 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 415 reg_value = READ_REG(GTZC_TZSC1->SECCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 418 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 428 reg_value = READ_REG(GTZC_TZSC1->SECCFGR3); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 431 if (((reg_value & (1UL << (i - 64U))) >> (i - 64U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 441 reg_value = READ_REG(GTZC_TZSC2->SECCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 444 if (((reg_value & (1UL << (i - 96U))) >> (i - 96U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 457 reg_value = READ_REG(GTZC_TZSC1->PRIVCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_flash_ex.c | 988 uint32_t reg_value; in FLASH_OB_PCROPConfig() local 1027 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1028 MODIFY_REG(FLASH->PCROP1SR, FLASH_PCROP1SR_PCROP1_STRT, reg_value); in FLASH_OB_PCROPConfig() 1030 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1031 MODIFY_REG(FLASH->PCROP1ER, FLASH_PCROP1ER_PCROP1_END, reg_value); in FLASH_OB_PCROPConfig() 1035 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1036 MODIFY_REG(FLASH->PCROP2SR, FLASH_PCROP2SR_PCROP2_STRT, reg_value); in FLASH_OB_PCROPConfig() 1038 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1039 MODIFY_REG(FLASH->PCROP2ER, FLASH_PCROP2ER_PCROP2_END, reg_value); in FLASH_OB_PCROPConfig() 1052 reg_value = ((PCROPStartAddr - bank1_addr) >> 3); in FLASH_OB_PCROPConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_gtzc.c | 322 uint32_t reg_value; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 338 reg_value = READ_REG(GTZC_TZSC->SECCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 341 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 351 reg_value = READ_REG(GTZC_TZSC->SECCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 354 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 367 reg_value = READ_REG(GTZC_TZSC->PRIVCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 370 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 380 reg_value = READ_REG(GTZC_TZSC->PRIVCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 383 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 460 uint32_t reg_value; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_flash_ex.c | 994 uint32_t reg_value; in FLASH_OB_PCROPConfig() local 1039 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1040 MODIFY_REG(FLASH->PCROP1SR, FLASH_PCROP1SR_PCROP1_STRT, reg_value); in FLASH_OB_PCROPConfig() 1042 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1043 MODIFY_REG(FLASH->PCROP1ER, FLASH_PCROP1ER_PCROP1_END, reg_value); in FLASH_OB_PCROPConfig() 1047 reg_value = ((PCROPStartAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1048 MODIFY_REG(FLASH->PCROP2SR, FLASH_PCROP2SR_PCROP2_STRT, reg_value); in FLASH_OB_PCROPConfig() 1050 reg_value = ((PCROPEndAddr - FLASH_BASE) >> 4); in FLASH_OB_PCROPConfig() 1051 MODIFY_REG(FLASH->PCROP2ER, FLASH_PCROP2ER_PCROP2_END, reg_value); in FLASH_OB_PCROPConfig() 1064 reg_value = ((PCROPStartAddr - bank1_addr) >> 3); in FLASH_OB_PCROPConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_gtzc.c | 335 uint32_t reg_value; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 352 reg_value = READ_REG(GTZC_TZSC->SECCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 355 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 365 reg_value = READ_REG(GTZC_TZSC->SECCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 368 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 378 reg_value = READ_REG(GTZC_TZSC->SECCFGR3); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 381 if (((reg_value & (1UL << (i - 64U))) >> (i - 64U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 394 reg_value = READ_REG(GTZC_TZSC->PRIVCFGR1); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 397 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 407 reg_value = READ_REG(GTZC_TZSC->PRIVCFGR2); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_gtzc.c | 203 uint32_t reg_value; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 222 reg_value = (GTZC_TZSC->SECCFGR1 & TZSC_SECCFGR1_ALL_Msk); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 234 if ((reg_value & (1UL << periphpos)) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 248 reg_value = (GTZC_TZSC->PRIVCFGR1 & TZSC_PRIVCFGR1_ALL_Msk); in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 259 if ((reg_value & (1UL << periphpos)) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 276 reg_value = GTZC_TZSC->SECCFGR1; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 278 if ((reg_value & (1UL << GTZC_GET_PERIPH_POS(PeriphId))) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 288 reg_value = GTZC_TZSC->PRIVCFGR1; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 290 if ((reg_value & (1UL << GTZC_GET_PERIPH_POS(PeriphId))) != 0x00U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 331 uint32_t reg_value; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local [all …]
|