Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_gtzc.c523 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local
535 || ((pMPCWM_Desc->Offset % granularity) != 0U) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
536 || ((pMPCWM_Desc->Length % granularity) != 0U)) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
626 reg_value = ((pMPCWM_Desc->Offset / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
628 reg_value |= ((pMPCWM_Desc->Length / granularity) in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()
666 uint32_t granularity = (MemBaseAddress == BKPSRAM_BASE) ? \ in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes() local
711 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
713 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
742 >> GTZC_TZSC_MPCWMR_SUBZ_START_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
744 >> GTZC_TZSC_MPCWMR_SUBZ_LENGTH_Pos) * granularity; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()
/hal_stm32-3.5.0/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()