Lines Matching refs:timeout
57 int timeout = MXSMMC_MAX_TIMEOUT; in mxsmmc_send_cmd_pio() local
63 while (data_count && --timeout) { in mxsmmc_send_cmd_pio()
68 timeout = MXSMMC_MAX_TIMEOUT; in mxsmmc_send_cmd_pio()
74 timeout *= 100; in mxsmmc_send_cmd_pio()
75 while (data_count && --timeout) { in mxsmmc_send_cmd_pio()
80 timeout = MXSMMC_MAX_TIMEOUT; in mxsmmc_send_cmd_pio()
86 return timeout ? 0 : -ECOMM; in mxsmmc_send_cmd_pio()
140 int timeout; in mxsmmc_send_cmd() local
147 timeout = MXSMMC_MAX_TIMEOUT; in mxsmmc_send_cmd()
148 while (--timeout) { in mxsmmc_send_cmd()
158 if (!timeout) { in mxsmmc_send_cmd()
235 timeout = MXSMMC_MAX_TIMEOUT; in mxsmmc_send_cmd()
236 while (--timeout) { in mxsmmc_send_cmd()
243 if (!timeout) { in mxsmmc_send_cmd()