Home
last modified time | relevance | path

Searched refs:timeout_cnt (Results 1 – 6 of 6) sorted by relevance

/drivers/watchdog/
Docteon-wdt-main.c79 static unsigned int timeout_cnt; variable
424 ciu_wdog.s.len = timeout_cnt; in octeon_wdt_setup_interrupt()
492 timeout_cnt = ((octeon_get_io_clock_rate() >> 8) * timeout_sec) >> 8; in octeon_wdt_calc_parameters()
511 ciu_wdog.s.len = timeout_cnt; in octeon_wdt_set_timeout()
579 timeout_cnt = ((octeon_get_io_clock_rate() >> 8) * in octeon_wdt_init()
581 } while (timeout_cnt > 65535); in octeon_wdt_init()
583 BUG_ON(timeout_cnt == 0); in octeon_wdt_init()
/drivers/net/fddi/
Ddefxx.c2621 int timeout_cnt; /* used in for loops */ in dfx_hw_dma_cmd_req() local
2661 for (timeout_cnt = 20000; timeout_cnt > 0; timeout_cnt--) in dfx_hw_dma_cmd_req()
2667 if (timeout_cnt == 0) in dfx_hw_dma_cmd_req()
2681 for (timeout_cnt = 20000; timeout_cnt > 0; timeout_cnt--) in dfx_hw_dma_cmd_req()
2687 if (timeout_cnt == 0) in dfx_hw_dma_cmd_req()
2742 int timeout_cnt; /* used in for loops */ in dfx_hw_port_ctrl_req() local
2757 timeout_cnt = 600000; /* set command timeout count to 60 seconds */ in dfx_hw_port_ctrl_req()
2759 timeout_cnt = 20000; /* set command timeout count to 2 seconds */ in dfx_hw_port_ctrl_req()
2761 for (; timeout_cnt > 0; timeout_cnt--) in dfx_hw_port_ctrl_req()
2768 if (timeout_cnt == 0) in dfx_hw_port_ctrl_req()
[all …]
/drivers/net/ethernet/adi/
Dbfin_mac.c254 int timeout_cnt = MAX_TIMEOUT_CNT; in bfin_mdio_poll() local
259 if (timeout_cnt-- < 0) { in bfin_mdio_poll()
797 int timeout_cnt = MAX_TIMEOUT_CNT; in bfin_tx_hwtstamp() local
810 while ((!(bfin_read_EMAC_PTP_ISTAT() & TXTL)) && (--timeout_cnt)) in bfin_tx_hwtstamp()
812 if (timeout_cnt == 0) in bfin_tx_hwtstamp()
1053 int timeout_cnt = MAX_TIMEOUT_CNT; in tx_reclaim_skb() local
1065 if (timeout_cnt-- < 0) in tx_reclaim_skb()
1069 if (timeout_cnt >= 0) in tx_reclaim_skb()
/drivers/iio/common/ssp_sensors/
Dssp_dev.c175 data->timeout_cnt = 0; in ssp_wdt_work_func()
189 if (data->timeout_cnt > SSP_LIMIT_TIMEOUT_CNT || in ssp_wdt_timer_func()
425 data->timeout_cnt = 0; in ssp_refresh_task()
Dssp.h205 unsigned int timeout_cnt; member
Dssp_spi.c241 data->timeout_cnt++; in ssp_do_transfer()
249 data->timeout_cnt++; in ssp_do_transfer()