Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 31) sorted by relevance

12

/trusted-firmware-a-3.6.0-3.5.0/plat/mediatek/drivers/pmic_wrap/
Dpmic_wrap_init_v2.c22 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()
Dpmic_wrap_init.c25 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-3.6.0-3.5.0/plat/mediatek/drivers/rtc/
Drtc_common.c34 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-3.6.0-3.5.0/drivers/arm/css/scp/
Dcss_sds.c64 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-3.6.0-3.5.0/drivers/brcm/spi/
Diproc_qspi.c94 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-3.6.0-3.5.0/plat/mediatek/drivers/cpu_pm/cpcv3_2/
Dmt_cpu_pm_cpc.c26 unsigned int retry = 0; in mtk_cpc_last_core_prot() local
28 while (retry < RETRY_CNT_MAX) { in mtk_cpc_last_core_prot()
29 retry++; in mtk_cpc_last_core_prot()
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/emmc/
Demmc_init.c36 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()
Demmc_mount.c53 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()
Demmc_cmd.c31 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-3.6.0-3.5.0/plat/mediatek/mt8186/drivers/mcdi/
Dmt_cpu_pm_cpc.c24 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-3.6.0-3.5.0/plat/mediatek/mt8192/drivers/mcdi/
Dmt_cpu_pm_cpc.c24 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-3.6.0-3.5.0/plat/mediatek/mt8195/drivers/mcdi/
Dmt_cpu_pm_cpc.c24 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-3.6.0-3.5.0/include/drivers/brcm/emmc/
Demmc_csl_sd.h88 uint32_t retry, uint32_t dma, uint32_t dmaBound,
92 uint32_t retry);
/trusted-firmware-a-3.6.0-3.5.0/plat/brcm/board/stingray/driver/
Dswreg.c145 int retry = 100; in swreg_poll() local
151 retry--; in swreg_poll()
153 } while (retry > 0); in swreg_poll()
Dusb_phy.c48 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-3.6.0-3.5.0/docs/perf/
Dpsci-performance-n1sdp.rst37 curl --fail --connect-timeout 5 --retry 5 \
41 --retry 5 -sLS -o build/n1sdp/release/scp_ram.bin \
48 curl --fail --connect-timeout 5 --retry 5 \
51 curl --fail --connect-timeout 5 --retry 5 \
/trusted-firmware-a-3.6.0-3.5.0/drivers/brcm/emmc/
Demmc_csl_sdcmd.c705 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()
Demmc_csl_sdcard.c970 uint32_t mask, uint32_t retry) in wait_for_event() argument
976 __func__, __LINE__, mask, retry, in wait_for_event()
992 if (time++ > retry) { in wait_for_event()
1047 int32_t set_config(struct sd_handle *handle, uint32_t speed, uint32_t retry, in set_config() argument
1058 rel = chal_sd_config((CHAL_HANDLE *)handle->device, speed, retry, in set_config()
/trusted-firmware-a-3.6.0-3.5.0/plat/intel/soc/agilex/soc/
Dagilex_memory_controller.c114 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-3.6.0-3.5.0/plat/intel/soc/stratix10/soc/
Ds10_memory_controller.c118 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-3.6.0-3.5.0/drivers/st/mmc/
Dstm32_sdmmc2.c443 uint8_t retry; in stm32_sdmmc2_send_cmd() local
448 for (retry = 0U; retry < 3U; retry++) { in stm32_sdmmc2_send_cmd()
462 cmd->cmd_idx, retry + 1U, err); in stm32_sdmmc2_send_cmd()
/trusted-firmware-a-3.6.0-3.5.0/drivers/brcm/i2c/
Di2c.c195 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-3.6.0-3.5.0/drivers/arm/gic/v3/
Dgic600_multichip.c50 unsigned int retry = GICD_PUP_UPDATE_RETRIES; in gicd_dchipr_wait_for_power_update_progress() local
53 if (retry-- == 0U) { in gicd_dchipr_wait_for_power_update_progress()
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/ddr/ddr_b/
Dboot_init_dram.c2522 uint32_t retry; in dfi_init_start() local
2567 retry = 0; in dfi_init_start()
2568 while (retry++ < RETRY_MAX) { in dfi_init_start()
2577 if (retry % 256 == 0) in dfi_init_start()
2889 uint32_t retry; in pi_training_go() local
2912 retry = RETRY_MAX; in pi_training_go()
2919 if ((retry % 4096) == 1) { in pi_training_go()
2953 } while (--retry); in pi_training_go()
3202 uint32_t retry; in swlvl1() local
3225 retry = RETRY_MAX; in swlvl1()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/rockchip/rk3399/drivers/dram/
Dsuspend.c810 retry: in dmc_resume()
829 goto retry; in dmc_resume()
842 goto retry; in dmc_resume()

12