Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 2 of 2) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_gtzc.c534 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local
546 || ((pMPCWM_Desc->Offset % granularity) != 0U) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
547 || ((pMPCWM_Desc->Length % granularity) != 0U)) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
637 reg_value = ((pMPCWM_Desc->Offset / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
639 reg_value |= ((pMPCWM_Desc->Length / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
677 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes() local
722 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
724 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
753 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
755 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_gtzc.c579 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local
590 ((pMPCWM_Desc->Offset % granularity) != 0U) || in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
591 ((pMPCWM_Desc->Length % granularity) != 0U)) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
689 reg_value = ((pMPCWM_Desc->Offset / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
691 reg_value |= ((pMPCWM_Desc->Length / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
722 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes() local
767 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
769 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
784 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
786 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()