Home
last modified time | relevance | path

Searched refs:reset_id (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/arch/arm/plat-stm32mp1/
A Dscmi_server.c54 unsigned long reset_id; member
128 .reset_id = _id, \
440 if (!stm32mp_nsec_can_access_reset(rd->reset_id)) in plat_scmi_rd_autonomous()
443 if (rd->reset_id == MCU_HOLD_BOOT_R) in plat_scmi_rd_autonomous()
452 if (stm32_reset_assert(rd->reset_id, TIMEOUT_US_1MS)) in plat_scmi_rd_autonomous()
455 if (stm32_reset_deassert(rd->reset_id, TIMEOUT_US_1MS)) in plat_scmi_rd_autonomous()
469 if (!stm32mp_nsec_can_access_reset(rd->reset_id)) in plat_scmi_rd_set_state()
472 if (rd->reset_id == MCU_HOLD_BOOT_R) { in plat_scmi_rd_set_state()
481 stm32_reset_set(rd->reset_id); in plat_scmi_rd_set_state()
484 stm32_reset_release(rd->reset_id); in plat_scmi_rd_set_state()
A Dstm32_util.h116 bool stm32mp_nsec_can_access_reset(unsigned int reset_id);
A Dshared_resources.c543 bool stm32mp_nsec_can_access_reset(unsigned int reset_id) in stm32mp_nsec_can_access_reset() argument
547 switch (reset_id) { in stm32mp_nsec_can_access_reset()
/optee_os/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_rcc.c31 static uint8_t reset_id2reg_bit_pos(unsigned int reset_id) in reset_id2reg_bit_pos() argument
33 return reset_id & RESET_BIT_POS_MASK; in reset_id2reg_bit_pos()
/optee_os/core/drivers/crypto/stm32/
A Dstm32_cryp.h18 unsigned int reset_id; member
A Dstm32_cryp.c341 stm32_reset_assert(cryp_pdata.reset_id, TIMEOUT_US_1MS); in cryp_end()
342 stm32_reset_deassert(cryp_pdata.reset_id, TIMEOUT_US_1MS); in cryp_end()
1273 pdata->reset_id = (unsigned int)dt_cryp.reset; in fdt_stm32_cryp()
1295 if (stm32_reset_assert(cryp_pdata.reset_id, TIMEOUT_US_1MS)) in stm32_cryp_driver_init()
1298 if (stm32_reset_deassert(cryp_pdata.reset_id, TIMEOUT_US_1MS)) in stm32_cryp_driver_init()

Completed in 10 milliseconds