Home
last modified time | relevance | path

Searched refs:time_out (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_smsc911x.c89 unsigned int time_out = REG_WRITE_TIMEOUT; in smsc_phy_regread() local
113 time_out--; in smsc_phy_regread()
117 } while (time_out != 0U && (val & MAC_MII_ACC_MIIBZY)); in smsc_phy_regread()
119 if (time_out == 0U) { in smsc_phy_regread()
134 unsigned int time_out = REG_WRITE_TIMEOUT; in smsc_phy_regwrite() local
159 time_out--; in smsc_phy_regwrite()
163 } while (time_out != 0U && (phycmd & MAC_MII_ACC_MIIBZY)); in smsc_phy_regwrite()
165 if (time_out == 0U) { in smsc_phy_regwrite()
223 unsigned int time_out = RESET_TIMEOUT; in smsc_soft_reset() local
229 time_out--; in smsc_soft_reset()
[all …]
/Zephyr-latest/drivers/sdhc/
Dintel_emmc_host.c328 static int wait_for_cmd_complete(struct emmc_data *emmc, uint32_t time_out) in wait_for_cmd_complete() argument
334 if (time_out == SDHC_TIMEOUT_FOREVER) { in wait_for_cmd_complete()
337 wait_time = K_MSEC(time_out); in wait_for_cmd_complete()
357 static int poll_cmd_complete(const struct device *dev, uint32_t time_out) in poll_cmd_complete() argument
361 int32_t retry = time_out; in poll_cmd_complete()
540 static int wait_xfr_intr_complete(const struct device *dev, uint32_t time_out) in wait_xfr_intr_complete() argument
549 if (time_out == SDHC_TIMEOUT_FOREVER) { in wait_xfr_intr_complete()
552 wait_time = K_MSEC(time_out); in wait_xfr_intr_complete()
573 static int wait_xfr_poll_complete(const struct device *dev, uint32_t time_out) in wait_xfr_poll_complete() argument
577 int32_t retry = time_out; in wait_xfr_poll_complete()
[all …]