Lines Matching refs:timeout_msecs
189 unsigned timeout_msecs = 2000; in mmc_update_clk() local
198 if (get_timer(start) > timeout_msecs) in mmc_update_clk()
280 unsigned timeout_msecs = byte_cnt >> 8; in mmc_trans_data_by_cpu() local
283 if (timeout_msecs < 2000) in mmc_trans_data_by_cpu()
284 timeout_msecs = 2000; in mmc_trans_data_by_cpu()
293 if (get_timer(start) > timeout_msecs) in mmc_trans_data_by_cpu()
307 uint timeout_msecs, uint done_bit, const char *what) in mmc_rint_wait() argument
314 if ((get_timer(start) > timeout_msecs) || in mmc_rint_wait()
330 unsigned int timeout_msecs; in sunxi_mmc_send_cmd_common() local
399 timeout_msecs = 120; in sunxi_mmc_send_cmd_common()
400 debug("cacl timeout %x msec\n", timeout_msecs); in sunxi_mmc_send_cmd_common()
401 error = mmc_rint_wait(priv, mmc, timeout_msecs, in sunxi_mmc_send_cmd_common()
412 timeout_msecs = 2000; in sunxi_mmc_send_cmd_common()
416 if (get_timer(start) > timeout_msecs) { in sunxi_mmc_send_cmd_common()