Searched refs:timeout_cnt (Results 1 – 4 of 4) sorted by relevance
62 unsigned int timeout_cnt = 0; in mxc_w1_ds2_reset_bus() local71 timeout_cnt > MXC_W1_RESET_TIMEOUT) in mxc_w1_ds2_reset_bus()74 timeout_cnt++; in mxc_w1_ds2_reset_bus()90 unsigned int timeout_cnt = 400; /* Takes max. 120us according to in mxc_w1_ds2_touch_bit() local96 while (timeout_cnt--) { in mxc_w1_ds2_touch_bit()
75 static unsigned int timeout_cnt; variable415 ciu_wdog.s.len = timeout_cnt; in octeon_wdt_setup_interrupt()481 timeout_cnt = ((octeon_get_io_clock_rate() >> 8) * timeout_sec) >> 8; in octeon_wdt_calc_parameters()499 ciu_wdog.s.len = timeout_cnt; in octeon_wdt_set_heartbeat()680 timeout_cnt = ((octeon_get_io_clock_rate() >> 8) * max_timeout_sec) >> 8; in octeon_wdt_init()681 } while (timeout_cnt > 65535); in octeon_wdt_init()683 BUG_ON(timeout_cnt == 0); in octeon_wdt_init()
2555 int timeout_cnt; /* used in for loops */ in dfx_hw_dma_cmd_req() local2595 for (timeout_cnt = 20000; timeout_cnt > 0; timeout_cnt--) in dfx_hw_dma_cmd_req()2601 if (timeout_cnt == 0) in dfx_hw_dma_cmd_req()2615 for (timeout_cnt = 20000; timeout_cnt > 0; timeout_cnt--) in dfx_hw_dma_cmd_req()2621 if (timeout_cnt == 0) in dfx_hw_dma_cmd_req()2676 int timeout_cnt; /* used in for loops */ in dfx_hw_port_ctrl_req() local2691 timeout_cnt = 600000; /* set command timeout count to 60 seconds */ in dfx_hw_port_ctrl_req()2693 timeout_cnt = 20000; /* set command timeout count to 2 seconds */ in dfx_hw_port_ctrl_req()2695 for (; timeout_cnt > 0; timeout_cnt--) in dfx_hw_port_ctrl_req()2702 if (timeout_cnt == 0) in dfx_hw_port_ctrl_req()[all …]
255 int timeout_cnt = MAX_TIMEOUT_CNT; in bfin_mdio_poll() local260 if (timeout_cnt-- < 0) { in bfin_mdio_poll()814 int timeout_cnt = MAX_TIMEOUT_CNT; in bfin_tx_hwtstamp() local827 while ((!(bfin_read_EMAC_PTP_ISTAT() & TXTL)) && (--timeout_cnt)) in bfin_tx_hwtstamp()829 if (timeout_cnt == 0) in bfin_tx_hwtstamp()945 int timeout_cnt = MAX_TIMEOUT_CNT; in tx_reclaim_skb() local957 if (timeout_cnt-- < 0) in tx_reclaim_skb()961 if (timeout_cnt >= 0) in tx_reclaim_skb()