/trusted-firmware-a-3.7.0/include/drivers/st/ |
D | stm32mp_reset.h | 19 int stm32mp_reset_assert(uint32_t reset_id, unsigned int to_us); 26 static inline void stm32mp_reset_set(uint32_t reset_id) in stm32mp_reset_set() argument 28 (void)stm32mp_reset_assert(reset_id, 0U); in stm32mp_reset_set() 38 int stm32mp_reset_deassert(uint32_t reset_id, unsigned int to_us); 45 static inline void stm32mp_reset_release(uint32_t reset_id) in stm32mp_reset_release() argument 47 (void)stm32mp_reset_deassert(reset_id, 0U); in stm32mp_reset_release()
|
D | stm32_pka.h | 22 unsigned int reset_id; member
|
D | stm32_sdmmc2.h | 25 unsigned int reset_id; member
|
D | stm32_saes.h | 19 unsigned int reset_id; member
|
/trusted-firmware-a-3.7.0/drivers/st/reset/ |
D | stm32mp1_reset.c | 19 static uint32_t id2reg_offset(unsigned int reset_id) in id2reg_offset() argument 21 return ((reset_id & GENMASK(31, 5)) >> 5) * sizeof(uint32_t); in id2reg_offset() 24 static uint8_t id2reg_bit_pos(unsigned int reset_id) in id2reg_bit_pos() argument 26 return (uint8_t)(reset_id & GENMASK(4, 0)); in id2reg_bit_pos()
|
/trusted-firmware-a-3.7.0/plat/st/stm32mp1/ |
D | stm32mp1_scmi.c | 42 unsigned long reset_id; member 112 .reset_id = _id, \ 397 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_autonomous() 406 VERBOSE("SCMI reset %lu cycle\n", rstd->reset_id); in plat_scmi_rstd_autonomous() 408 if (stm32mp_reset_assert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous() 412 if (stm32mp_reset_deassert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous() 428 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_set_state() 433 VERBOSE("SCMI reset %lu set\n", rstd->reset_id); in plat_scmi_rstd_set_state() 434 stm32mp_reset_set(rstd->reset_id); in plat_scmi_rstd_set_state() 436 VERBOSE("SCMI reset %lu release\n", rstd->reset_id); in plat_scmi_rstd_set_state() [all …]
|
D | stm32mp1_shared_resources.c | 435 bool stm32mp_nsec_can_access_reset(unsigned int reset_id) in stm32mp_nsec_can_access_reset() argument 439 switch (reset_id) { in stm32mp_nsec_can_access_reset()
|
/trusted-firmware-a-3.7.0/plat/st/common/include/ |
D | stm32mp_shared_resources.h | 20 bool stm32mp_nsec_can_access_reset(unsigned int reset_id);
|
/trusted-firmware-a-3.7.0/plat/nvidia/tegra/drivers/bpmp_ipc/ |
D | intf.h | 72 uint32_t reset_id; member
|
D | intf.c | 284 .reset_id = rst_id in tegra_bpmp_ipc_reset_module()
|
/trusted-firmware-a-3.7.0/drivers/st/spi/ |
D | stm32_qspi.c | 113 unsigned int reset_id; member 491 stm32_qspi.reset_id = (unsigned int)info.reset; in stm32_qspi_init() 495 ret = stm32mp_reset_assert(stm32_qspi.reset_id, TIMEOUT_US_1_MS); in stm32_qspi_init() 499 ret = stm32mp_reset_deassert(stm32_qspi.reset_id, TIMEOUT_US_1_MS); in stm32_qspi_init()
|
/trusted-firmware-a-3.7.0/drivers/st/crypto/ |
D | stm32_pka.c | 288 pka_pdata.reset_id = (unsigned int)info.reset; in stm32_pka_parse_fdt() 589 if (stm32mp_reset_assert((unsigned long)pka_pdata.reset_id, TIMEOUT_US_1MS) != 0) { in stm32_pka_init() 594 if (stm32mp_reset_deassert((unsigned long)pka_pdata.reset_id, TIMEOUT_US_1MS) != 0) { in stm32_pka_init()
|
D | stm32_saes.c | 170 pdata->reset_id = (unsigned int)info.reset; in stm32_saes_parse_fdt() 389 if (stm32mp_reset_assert(saes_pdata.reset_id, TIMEOUT_US_1MS) != 0) { in stm32_saes_driver_init() 394 if (stm32mp_reset_deassert(saes_pdata.reset_id, TIMEOUT_US_1MS) != 0) { in stm32_saes_driver_init()
|
/trusted-firmware-a-3.7.0/drivers/st/mmc/ |
D | stm32_sdmmc2.c | 719 sdmmc2_params.reset_id = dt_info.reset; in stm32_sdmmc2_dt_get_config() 783 if ((int)sdmmc2_params.reset_id >= 0) { in stm32_sdmmc2_mmc_init() 786 rc = stm32mp_reset_assert(sdmmc2_params.reset_id, TIMEOUT_US_1_MS); in stm32_sdmmc2_mmc_init() 791 rc = stm32mp_reset_deassert(sdmmc2_params.reset_id, TIMEOUT_US_1_MS); in stm32_sdmmc2_mmc_init()
|
/trusted-firmware-a-3.7.0/drivers/st/fmc/ |
D | stm32_fmc2_nand.c | 151 unsigned int reset_id; member 822 stm32_fmc2.reset_id = (unsigned int)info.reset; in stm32_fmc2_init() 915 ret = stm32mp_reset_assert(stm32_fmc2.reset_id, TIMEOUT_US_1_MS); in stm32_fmc2_init() 919 ret = stm32mp_reset_deassert(stm32_fmc2.reset_id, TIMEOUT_US_1_MS); in stm32_fmc2_init()
|