/trusted-firmware-a/plat/mediatek/common/drivers/pmic_wrap/ |
A D | pmic_wrap_init_v2.c | 22 uint32_t reg_rdata = 0U, retry; in pwrap_check_idle() local 24 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in pwrap_check_idle() 26 while (retry != 0) { in pwrap_check_idle() 49 retry--; in pwrap_check_idle() 53 if (retry == 0) { in pwrap_check_idle() 63 uint32_t reg_rdata = 0U, retry; in pwrap_check_vldclr() local 65 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in pwrap_check_vldclr() 66 while (retry != 0) { in pwrap_check_vldclr() 72 retry--; in pwrap_check_vldclr() 75 if (retry == 0) { in pwrap_check_vldclr()
|
A D | pmic_wrap_init.c | 25 uint32_t retry; in wait_for_state_idle() local 27 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in wait_for_state_idle() 55 retry--; in wait_for_state_idle() 56 } while (retry); in wait_for_state_idle() 59 if (!retry) /* timeout */ in wait_for_state_idle() 72 uint32_t retry; in wait_for_state_ready() local 74 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in wait_for_state_ready() 84 retry--; in wait_for_state_ready() 85 } while (retry); in wait_for_state_ready() 87 if (!retry) { /* timeout */ in wait_for_state_ready()
|
/trusted-firmware-a/plat/mediatek/common/drivers/rtc/ |
A D | rtc_common.c | 34 uint64_t retry = RTC_WRTGR_POLLING_CNT; in rtc_busy_wait() local 40 retry--; in rtc_busy_wait() 41 } while (retry); in rtc_busy_wait()
|
/trusted-firmware-a/drivers/arm/css/scp/ |
A D | css_sds.c | 64 int ret, retry = CSS_SCP_READY_10US_RETRIES; in css_scp_boot_ready() local 70 while (retry > 0) { in css_scp_boot_ready() 88 retry--; in css_scp_boot_ready()
|
/trusted-firmware-a/drivers/brcm/spi/ |
A D | iproc_qspi.c | 94 uint32_t retry; in bcmspi_disable_bspi() local 102 retry = QSPI_RETRY_COUNT_US_MAX; in bcmspi_disable_bspi() 114 } while (retry--); in bcmspi_disable_bspi() 151 uint32_t retry; in mspi_xfer() local 236 retry = QSPI_RETRY_COUNT_US_MAX; in mspi_xfer() 242 } while (retry--); in mspi_xfer()
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 24 uint32_t sta, retry; in mtk_cpc_last_core_prot() local 26 retry = 0U; in mtk_cpc_last_core_prot() 28 while (retry++ < RETRY_CNT_MAX) { in mtk_cpc_last_core_prot()
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 24 uint32_t sta, retry; in mtk_cpc_last_core_prot() local 26 retry = 0U; in mtk_cpc_last_core_prot() 28 while (retry++ < RETRY_CNT_MAX) { in mtk_cpc_last_core_prot()
|
/trusted-firmware-a/drivers/renesas/common/emmc/ |
A D | emmc_init.c | 36 static inline void emmc_set_retry_count(uint32_t retry) in emmc_set_retry_count() argument 38 mmc_drv_obj.retries_after_fail = retry; in emmc_set_retry_count()
|
A D | emmc_mount.c | 53 int32_t retry; in emmc_card_init() local 92 for (retry = 300; retry > 0; retry--) { in emmc_card_init() 106 if (retry == 0) { in emmc_card_init()
|
A D | emmc_cmd.c | 31 int32_t retry = 1000; in emmc_softreset() local 51 if ((loop == 0) && (retry > 0)) { in emmc_softreset() 54 retry--; in emmc_softreset()
|
/trusted-firmware-a/include/drivers/brcm/emmc/ |
A D | emmc_csl_sd.h | 88 uint32_t retry, uint32_t dma, uint32_t dmaBound, 92 uint32_t retry);
|
/trusted-firmware-a/plat/brcm/board/stingray/driver/ |
A D | swreg.c | 145 int retry = 100; in swreg_poll() local 151 retry--; in swreg_poll() 153 } while (retry > 0); in swreg_poll()
|
A D | usb_phy.c | 48 uint32_t retry; in pll_lock_check() local 51 retry = PLL_LOCK_RETRY_COUNT; in pll_lock_check() 58 } while (--retry != 0); in pll_lock_check()
|
/trusted-firmware-a/drivers/brcm/emmc/ |
A D | emmc_csl_sdcmd.c | 705 uint32_t event = 0, present, timeout = 0, retry = 0, mask = 3; in send_cmd() local 750 retry++; in send_cmd() 752 if (retry >= handle->device->cfg.retryLimit) { in send_cmd() 755 cmdIndex, retry); in send_cmd() 766 cmdIndex, retry, in send_cmd() 810 retry++; in send_cmd() 824 (retry < handle->device->cfg.retryLimit)) { in send_cmd() 826 EMMC_TRACE("retry %d PSTATE[0x%08x].\n", retry, in send_cmd() 832 cmdIndex, retry); in send_cmd()
|
A D | emmc_csl_sdcard.c | 969 uint32_t mask, uint32_t retry) in wait_for_event() argument 975 __func__, __LINE__, mask, retry, in wait_for_event() 991 if (time++ > retry) { in wait_for_event() 1046 int32_t set_config(struct sd_handle *handle, uint32_t speed, uint32_t retry, in set_config() argument 1057 rel = chal_sd_config((CHAL_HANDLE *)handle->device, speed, retry, in set_config()
|
/trusted-firmware-a/drivers/arm/gic/v3/ |
A D | gic600_multichip.c | 26 unsigned int retry = GICD_PUP_UPDATE_RETRIES; in gicd_dchipr_wait_for_power_update_progress() local 29 if (retry-- == 0) { in gicd_dchipr_wait_for_power_update_progress()
|
/trusted-firmware-a/plat/intel/soc/agilex/soc/ |
A D | agilex_memory_controller.c | 114 unsigned long retry = 0; in mem_calibration() local 119 if (retry != 0) in mem_calibration() 137 } while (++retry < MAX_MEM_CAL_RETRY); in mem_calibration()
|
/trusted-firmware-a/plat/intel/soc/stratix10/soc/ |
A D | s10_memory_controller.c | 118 unsigned long retry = 0; in mem_calibration() local 123 if (retry != 0) in mem_calibration() 141 } while (++retry < MAX_MEM_CAL_RETRY); in mem_calibration()
|
/trusted-firmware-a/drivers/st/mmc/ |
A D | stm32_sdmmc2.c | 388 uint8_t retry; in stm32_sdmmc2_send_cmd() local 393 for (retry = 0U; retry < 3U; retry++) { in stm32_sdmmc2_send_cmd() 407 cmd->cmd_idx, retry + 1U, err); in stm32_sdmmc2_send_cmd()
|
/trusted-firmware-a/drivers/brcm/i2c/ |
A D | i2c.c | 195 uint32_t retry = 0U; in iproc_i2c_startbusy_wait() local 205 if (retry++ > BUS_BUSY_COUNT) { in iproc_i2c_startbusy_wait() 311 uint32_t retry = 0U; in iproc_i2c_write_master_command() local 320 if (retry++ > BUS_BUSY_COUNT) { in iproc_i2c_write_master_command()
|
/trusted-firmware-a/drivers/renesas/common/ddr/ddr_b/ |
A D | boot_init_dram.c | 2522 uint32_t retry; in dfi_init_start() local 2567 retry = 0; in dfi_init_start() 2889 uint32_t retry; in pi_training_go() local 2912 retry = RETRY_MAX; in pi_training_go() 2953 } while (--retry); in pi_training_go() 3202 uint32_t retry; in swlvl1() local 3234 retry--; in swlvl1() 3236 if (retry == 0) { in swlvl1() 4011 uint32_t retry; in rx_offset_cal_hw() local 4020 retry = 0; in rx_offset_cal_hw() [all …]
|
/trusted-firmware-a/drivers/ufs/ |
A D | ufs.c | 653 int retry; in ufs_read_capacity() local 677 retry = 0; in ufs_read_capacity() 682 retry = 1; in ufs_read_capacity() 692 } while (retry); in ufs_read_capacity()
|
/trusted-firmware-a/plat/rockchip/rk3399/drivers/dram/ |
A D | suspend.c | 810 retry: in dmc_resume() 829 goto retry; in dmc_resume() 842 goto retry; in dmc_resume()
|
/trusted-firmware-a/plat/ti/k3/common/drivers/ti_sci/ |
A D | ti_sci.c | 97 unsigned int retry = 5; in ti_sci_get_response() local 100 for (; retry > 0; retry--) { in ti_sci_get_response() 117 if (!retry) { in ti_sci_get_response()
|
/trusted-firmware-a/services/std_svc/sdei/ |
A D | sdei_main.c | 711 bool retry = true, shared_mapping; in sdei_interrupt_bind() local 769 retry = false; in sdei_interrupt_bind() 772 } while (retry); in sdei_interrupt_bind()
|