Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/arm/ti/
H A Dif_cpsw.c619 u_int txfree; in cpsw_start() local
636 txfree = CPSW_NTXDESCS - 1 + sc->sc_txhead - sc->sc_txnext; in cpsw_start()
638 txfree = sc->sc_txhead - sc->sc_txnext - 1; in cpsw_start()
641 txfree, sc->sc_txhead, sc->sc_txnext, sc->sc_txrun); in cpsw_start()
643 while (txfree > 0) { in cpsw_start()
662 if (dm->dm_nsegs + 1 >= txfree) { in cpsw_start()
696 txfree--; in cpsw_start()
708 txfree--; in cpsw_start()
735 txfree, sc->sc_txhead, sc->sc_txnext, sc->sc_txrun); in cpsw_start()
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm53xx_eth.c1603 size_t txfree = 0; in bcmeth_txq_consume() local
1612 txq->txq_free += txfree; in bcmeth_txq_consume()
1613 txq->txq_lastintr -= uimin(txq->txq_lastintr, txfree); in bcmeth_txq_consume()
1616 "%zu to %zu\n", __func__, txfree, in bcmeth_txq_consume()
1617 txq->txq_free - txfree, txq->txq_free); in bcmeth_txq_consume()
1628 txq->txq_free += txfree; in bcmeth_txq_consume()
1629 txq->txq_lastintr -= uimin(txq->txq_lastintr, txfree); in bcmeth_txq_consume()
1632 __func__, txfree); in bcmeth_txq_consume()
1663 txfree++; in bcmeth_txq_consume()
/netbsd-src/sys/dev/pci/
H A Dif_ipwvar.h148 int txfree; member
H A Dif_ipw.c1236 sc->txfree++; in ipw_tx_intr()
1338 sc->txfree--; in ipw_cmd()
1464 sc->txfree--; in ipw_tx_start()
1493 sc->txfree--; in ipw_tx_start()
1526 if (sc->txfree < 1 + IPW_MAX_NSEG) { in ipw_start()
2213 sc->txfree = IPW_NTBD - 2; in ipw_init()
H A Dif_mcx.c7058 int rxfree, txfree; in mcx_process_cq() local
7070 txfree = 0; in mcx_process_cq()
7076 txfree += mcx_process_txeof(sc, tx, cqe); in mcx_process_cq()
7115 if (txfree > 0) { in mcx_process_cq()
7116 tx->tx_cons += txfree; in mcx_process_cq()
/netbsd-src/sys/arch/powerpc/booke/dev/
H A Dpq3etsec.c2164 size_t txfree = 0; in pq3etsec_txq_consume() local
2175 txq->txq_free += txfree; in pq3etsec_txq_consume()
2176 txq->txq_lastintr -= uimin(txq->txq_lastintr, txfree); in pq3etsec_txq_consume()
2187 txq->txq_free += txfree; in pq3etsec_txq_consume()
2188 txq->txq_lastintr -= uimin(txq->txq_lastintr, txfree); in pq3etsec_txq_consume()
2240 txfree++; in pq3etsec_txq_consume()
2255 if (txfree != 0) in pq3etsec_txq_consume()
2256 rnd_add_uint32(&sc->rnd_source, txfree); in pq3etsec_txq_consume()