Searched refs:time_out (Results 1 – 2 of 2) sorted by relevance
89 unsigned int time_out = REG_WRITE_TIMEOUT; in smsc_phy_regread() local113 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() local159 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() local229 time_out--; in smsc_soft_reset()[all …]
328 static int wait_for_cmd_complete(struct emmc_data *emmc, uint32_t time_out) in wait_for_cmd_complete() argument334 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() argument361 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() argument549 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() argument577 int32_t retry = time_out; in wait_xfr_poll_complete()[all …]