Lines Matching refs:time_out
34 u32 bit_position, int time_out) in ar9003_mci_wait_for_interrupt() argument
38 while (time_out) { in ar9003_mci_wait_for_interrupt()
41 time_out -= 10; in ar9003_mci_wait_for_interrupt()
43 if (time_out < 0) in ar9003_mci_wait_for_interrupt()
65 if (time_out <= 0) { in ar9003_mci_wait_for_interrupt()
73 time_out = 0; in ar9003_mci_wait_for_interrupt()
76 return time_out; in ar9003_mci_wait_for_interrupt()
584 u8 gpm_opcode, int time_out) in ar9003_mci_wait_for_gpm() argument
593 more_data = time_out ? MCI_GPM_NOMORE : MCI_GPM_MORE; in ar9003_mci_wait_for_gpm()
595 while (time_out > 0) { in ar9003_mci_wait_for_gpm()
602 time_out = ar9003_mci_wait_for_interrupt(ah, in ar9003_mci_wait_for_gpm()
605 time_out); in ar9003_mci_wait_for_gpm()
607 if (!time_out) in ar9003_mci_wait_for_gpm()
669 if (time_out <= 0) in ar9003_mci_wait_for_gpm()
670 time_out = 0; in ar9003_mci_wait_for_gpm()
688 return time_out; in ar9003_mci_wait_for_gpm()