Home
last modified time | relevance | path

Searched refs:time_out (Results 1 – 23 of 23) sorted by relevance

/drivers/scsi/pcmcia/
Dnsp_cs.c370 int time_out; in nsphw_start_selection() local
386 time_out = 1000; in nsphw_start_selection()
393 (time_out-- != 0)); in nsphw_start_selection()
521 int time_out; in nsp_negate_signal() local
525 time_out = 100; in nsp_negate_signal()
532 } while ((--time_out != 0) && (reg & mask) != 0); in nsp_negate_signal()
534 if (time_out == 0) { in nsp_negate_signal()
549 int time_out; in nsp_expect_signal() local
554 time_out = 100; in nsp_expect_signal()
570 } while(time_out-- != 0); in nsp_expect_signal()
[all …]
/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c34 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()
[all …]
/drivers/firmware/efi/
Dcper-arm.c95 bool time_out, access_mode; in cper_print_arm_err_info() local
207 time_out = ((error_info >> CPER_ARM_ERR_TIME_OUT_SHIFT) in cper_print_arm_err_info()
209 if (time_out) in cper_print_arm_err_info()
/drivers/gpu/drm/display/
Ddrm_dp_dual_mode_helper.c498 int time_out = 200; in drm_lspcon_set_mode() local
525 time_out -= 10; in drm_lspcon_set_mode()
532 } while (time_out); in drm_lspcon_set_mode()
/drivers/media/dvb-frontends/
Dstv0288.c443 u8 tda[3], reg, time_out = 0; in stv0288_set_frontend() local
476 time_out++; in stv0288_set_frontend()
477 if (time_out > 10) in stv0288_set_frontend()
485 time_out = 0; in stv0288_set_frontend()
Dstv0900_priv.h352 enum fe_stv0900_demod_num demod, s32 time_out);
Dstv0900_core.c826 enum fe_stv0900_demod_num demod, s32 time_out) in stv0900_get_demod_lock() argument
833 while ((timer < time_out) && (lock == 0)) { in stv0900_get_demod_lock()
Dstv0900_sw.c1019 enum fe_stv0900_demod_num demod, s32 time_out) in stv0900_get_fec_lock() argument
1029 while ((timer < time_out) && (lock == 0)) { in stv0900_get_fec_lock()
Ddrxk_hard.c1249 u16 rom_offset, u16 nr_of_elements, u32 time_out) in bl_chain_cmd() argument
1270 end = jiffies + msecs_to_jiffies(time_out); in bl_chain_cmd()
2788 u16 rom_offset, u16 nr_of_elements, u32 time_out) in bl_direct_cmd() argument
2818 end = jiffies + msecs_to_jiffies(time_out); in bl_direct_cmd()
/drivers/watchdog/
Drzg2l_wdt.c113 u32 time_out; in rzg2l_wdt_init_timeout() local
118 time_out = (wdev->timeout * (MICRO / 2)) / in rzg2l_wdt_init_timeout()
120 rzg2l_wdt_write(priv, WDTSET_COUNTER_VAL(time_out), WDTSET); in rzg2l_wdt_init_timeout()
/drivers/net/can/c_can/
Dc_can_main.c1257 unsigned long time_out; in c_can_power_down() local
1271 time_out = jiffies + msecs_to_jiffies(INIT_WAIT_MS); in c_can_power_down()
1273 time_after(time_out, jiffies)) in c_can_power_down()
1276 if (time_after(jiffies, time_out)) in c_can_power_down()
1291 unsigned long time_out; in c_can_power_up() local
1312 time_out = jiffies + msecs_to_jiffies(INIT_WAIT_MS); in c_can_power_up()
1314 time_after(time_out, jiffies)) in c_can_power_up()
1317 if (time_after(jiffies, time_out)) { in c_can_power_up()
/drivers/scsi/
Dqlogicpti.h111 u16 time_out; member
139 u16 time_out; member
Dqlogicpti.c893 cmd->time_out = scsi_cmd_to_rq(Cmnd)->timeout / HZ; in cmd_frob()
/drivers/net/ethernet/smsc/
Dsmc9194.c474 word time_out; in smc_wait_to_send_packet() local
535 time_out = MEMORY_WAIT_TIME; in smc_wait_to_send_packet()
545 } while ( -- time_out ); in smc_wait_to_send_packet()
547 if ( !time_out ) { in smc_wait_to_send_packet()
Dsmc91c92_cs.c1204 short time_out, ir; in smc_start_xmit() local
1243 for (time_out = MEMORY_WAIT_TIME; time_out >= 0; time_out--) { in smc_start_xmit()
/drivers/net/ethernet/chelsio/cxgb/
Dmv88e1xxx.c51 int time_out = 1000; in mv88e1xxx_reset() local
60 } while (ctl && --time_out); in mv88e1xxx_reset()
/drivers/scsi/snic/
Dsnic_fwint.h261 __le16 time_out; /* ms time for Res allocations fw to handle io*/ member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c618 u8 poll_mask, poll_to, time_out = 0; in qlcnic_dump_l2_cache() local
637 time_out++; in qlcnic_dump_l2_cache()
638 } while (time_out <= poll_to); in qlcnic_dump_l2_cache()
640 if (time_out > poll_to) { in qlcnic_dump_l2_cache()
/drivers/tty/serial/
Dxilinx_uartps.c1280 unsigned long time_out; in cdns_uart_console_setup() local
1292 time_out = jiffies + usecs_to_jiffies(TX_TIMEOUT); in cdns_uart_console_setup()
1294 while (time_before(jiffies, time_out) && in cdns_uart_console_setup()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1157 u32 time_out; in ixgbe_check_phy_link_tnx() local
1172 for (time_out = 0; time_out < max_time_out; time_out++) { in ixgbe_check_phy_link_tnx()
/drivers/input/touchscreen/
Dhideep.c396 int time_out = 100; in hideep_check_status() local
400 while (time_out--) { in hideep_check_status()
/drivers/usb/host/
Dfhci.h392 struct timer_list time_out; member
/drivers/md/bcache/
Dsuper.c1120 int time_out = WRITEBACK_RATE_UPDATE_SECS_MAX * HZ; in cancel_writeback_rate_update_dwork() local
1126 time_out--; in cancel_writeback_rate_update_dwork()
1128 } while (time_out > 0); in cancel_writeback_rate_update_dwork()
1130 if (time_out == 0) in cancel_writeback_rate_update_dwork()