Home
last modified time | relevance | path

Searched refs:boguscnt (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/adaptec/
Dstarfire.c648 int boguscnt; in starfire_init_one() local
718 boguscnt = 1000; in starfire_init_one()
719 while (--boguscnt > 0) { in starfire_init_one()
724 if (boguscnt == 0) in starfire_init_one()
793 boguscnt = 1000; in starfire_init_one()
794 while (--boguscnt > 0) in starfire_init_one()
797 if (boguscnt == 0) { in starfire_init_one()
838 int result, boguscnt=1000; in mdio_read() local
842 } while ((result & 0xC0000000) != 0x80000000 && --boguscnt > 0); in mdio_read()
843 if (boguscnt == 0) in mdio_read()
[all …]
/drivers/net/ethernet/packetengines/
Dhamachi.c585 int option, i, rx_int_var, tx_int_var, boguscnt; in hamachi_init_one() local
685 for (boguscnt = 0; (!(i & 0x080)) && boguscnt < 1000; boguscnt++){ in hamachi_init_one()
1307 long boguscnt = max_interrupt_work; in hamachi_interrupt() local
1379 if (--boguscnt < 0) { in hamachi_interrupt()
1412 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; in hamachi_rx() local
1437 if (--boguscnt < 0) in hamachi_rx()
1479 pkt_len, data_size, boguscnt); in hamachi_rx()
Dyellowfin.c902 int boguscnt = max_interrupt_work; in yellowfin_interrupt() local
1028 if (--boguscnt < 0) { in yellowfin_interrupt()
1049 int boguscnt = yp->dirty_rx + RX_RING_SIZE - yp->cur_rx; in yellowfin_rx() local
1081 if (--boguscnt < 0) in yellowfin_rx()
1131 __func__, pkt_len, data_size, boguscnt); in yellowfin_rx()
/drivers/net/ethernet/amd/
Dlance.c667 int boguscnt; in lance_probe1() local
684 for (boguscnt = 100; boguscnt > 0; --boguscnt) in lance_probe1()
1029 int csr0, ioaddr, boguscnt=10; in lance_interrupt() local
1039 --boguscnt >= 0) { in lance_interrupt()
Dariadne.c244 int csr0, boguscnt; in ariadne_interrupt() local
254 boguscnt = 10; in ariadne_interrupt()
255 while ((csr0 = lance->RDP) & (ERR | RINT | TINT) && --boguscnt >= 0) { in ariadne_interrupt()
Datarilance.c854 int csr0, boguscnt = 10; in lance_interrupt() local
869 --boguscnt >= 0) { in lance_interrupt()
Dpcnet32.c2558 int boguscnt = max_interrupt_work; in pcnet32_interrupt() local
2566 while ((csr0 & 0x8f00) && --boguscnt >= 0) { in pcnet32_interrupt()
/drivers/net/ethernet/renesas/
Dravb_main.c776 int boguscnt; in ravb_rx_gbeth() local
783 boguscnt = priv->dirty_rx[q] + priv->num_rx_ring[q] - priv->cur_rx[q]; in ravb_rx_gbeth()
786 boguscnt = min(boguscnt, *quota); in ravb_rx_gbeth()
787 limit = boguscnt; in ravb_rx_gbeth()
795 if (--boguscnt < 0) in ravb_rx_gbeth()
890 *quota -= limit - (++boguscnt); in ravb_rx_gbeth()
892 return boguscnt <= 0; in ravb_rx_gbeth()
901 int boguscnt = (priv->dirty_rx[q] + priv->num_rx_ring[q]) - in ravb_rx_rcar() local
912 boguscnt = min(boguscnt, *quota); in ravb_rx_rcar()
913 limit = boguscnt; in ravb_rx_rcar()
[all …]
Drswitch.c700 int limit, boguscnt, num, ret; in rswitch_rx() local
709 boguscnt = min_t(int, gq->ring_size, *quota); in rswitch_rx()
710 limit = boguscnt; in rswitch_rx()
740 if (--boguscnt <= 0) in rswitch_rx()
753 *quota -= limit - boguscnt; in rswitch_rx()
755 return boguscnt <= 0; in rswitch_rx()
Dsh_eth.c1590 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; in sh_eth_rx() local
1599 boguscnt = min(boguscnt, *quota); in sh_eth_rx()
1600 limit = boguscnt; in sh_eth_rx()
1608 if (--boguscnt < 0) in sh_eth_rx()
1715 *quota -= limit - boguscnt - 1; in sh_eth_rx()
/drivers/net/ethernet/dlink/
Dsundance.c719 int boguscnt = 10000; /* Typical 1900 ticks. */ in eeprom_read() local
726 } while (--boguscnt > 0); in eeprom_read()
1323 int boguscnt = np->budget; in rx_poll() local
1333 if (--boguscnt < 0) { in rx_poll()
1367 pkt_len, boguscnt); in rx_poll()
/drivers/net/ethernet/dec/tulip/
Dde2104x.c1723 int value, boguscnt = 100000; in de21040_get_mac_address() local
1727 } while (value < 0 && --boguscnt > 0); in de21040_get_mac_address()
1730 if (boguscnt <= 0) in de21040_get_mac_address()
Dtulip_core.c1505 int value, boguscnt = 100000; in tulip_init_one() local
1509 } while (value < 0 && --boguscnt > 0); in tulip_init_one()
/drivers/net/ethernet/
Dfealnx.c1432 long boguscnt = max_interrupt_work; in intr_handler() local
1565 if (--boguscnt < 0) { in intr_handler()
/drivers/net/ethernet/sis/
Dsis900.c1681 int boguscnt = max_interrupt_work; in sis900_interrupt() local
1712 if (--boguscnt < 0) { in sis900_interrupt()
/drivers/net/ethernet/natsemi/
Dnatsemi.c2281 int boguscnt = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx() local
2293 if (--boguscnt < 0) in netdev_rx()