Lines Matching refs:time_out
328 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()
595 static int wait_xfr_complete(const struct device *dev, uint32_t time_out) in wait_xfr_complete() argument
600 ret = wait_xfr_intr_complete(dev, time_out); in wait_xfr_complete()
602 ret = wait_xfr_poll_complete(dev, time_out); in wait_xfr_complete()