Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/include/drivers/st/
Dstm32mp_reset.h19 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()
Dstm32_sdmmc2.h24 unsigned int reset_id; member
/external/arm-trusted-firmware/drivers/st/reset/
Dstm32mp1_reset.c19 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()
/external/arm-trusted-firmware/drivers/st/spi/
Dstm32_qspi.c111 unsigned int reset_id; member
494 stm32_qspi.reset_id = (unsigned int)info.reset; in stm32_qspi_init()
498 ret = stm32mp_reset_assert(stm32_qspi.reset_id, TIMEOUT_US_1_MS); in stm32_qspi_init()
502 ret = stm32mp_reset_deassert(stm32_qspi.reset_id, TIMEOUT_US_1_MS); in stm32_qspi_init()
/external/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
Dpm_api_sys.h105 enum pm_ret_status pm_reset_assert(unsigned int reset_id,
107 enum pm_ret_status pm_reset_get_status(unsigned int reset_id,
/external/arm-trusted-firmware/plat/nvidia/tegra/drivers/bpmp_ipc/
Dintf.h72 uint32_t reset_id; member
Dintf.c284 .reset_id = rst_id in tegra_bpmp_ipc_reset_module()
/external/arm-trusted-firmware/drivers/st/mmc/
Dstm32_sdmmc2.c682 sdmmc2_params.reset_id = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
744 rc = stm32mp_reset_assert(sdmmc2_params.reset_id, TIMEOUT_US_1_MS); in stm32_sdmmc2_mmc_init()
749 rc = stm32mp_reset_deassert(sdmmc2_params.reset_id, TIMEOUT_US_1_MS); in stm32_sdmmc2_mmc_init()
/external/arm-trusted-firmware/drivers/st/fmc/
Dstm32_fmc2_nand.c151 unsigned int reset_id; member
831 stm32_fmc2.reset_id = (unsigned int)info.reset; in stm32_fmc2_init()
924 ret = stm32mp_reset_assert(stm32_fmc2.reset_id, TIMEOUT_US_1_MS); in stm32_fmc2_init()
928 ret = stm32mp_reset_deassert(stm32_fmc2.reset_id, TIMEOUT_US_1_MS); in stm32_fmc2_init()