Searched refs:gran_offset (Results 1 – 1 of 1) sorted by relevance
334 uint32_t gran_offset; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes() local347 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_FLASH_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()368 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM1_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()380 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM2_OFFSET; in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()395 *pregister = (reg_value | ((pMPCWM_Desc->Length >> gran_offset) << length_pos)); in HAL_GTZC_TZSC_MPCWM_ConfigMemAttributes()420 uint32_t gran_offset; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes() local433 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_FLASH_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()453 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM1_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()465 gran_offset = GTZC_TZSC_MPCWM_GRANULARITY_SRAM2_OFFSET; in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()480 pMPCWM_Desc->Length = (reg_value << gran_offset); in HAL_GTZC_TZSC_MPCWM_GetConfigMemAttributes()