Home
last modified time | relevance | path

Searched refs:tx_free (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/
Dgreth.c182 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings()
205 greth->tx_free += nr_frags+1; in greth_clean_rings()
322 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings()
401 if (unlikely(greth->tx_free <= 0)) { in greth_start_xmit()
436 greth->tx_free--; in greth_start_xmit()
464 if (greth->tx_free < nr_frags + 1) { in greth_start_xmit_gbit()
549 greth->tx_free -= nr_frags + 1; in greth_start_xmit_gbit()
630 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx()
643 greth->tx_free++; in greth_clean_tx()
646 if (greth->tx_free > 0) { in greth_clean_tx()
[all …]
Dgreth.h112 u16 tx_free; member
Dacenic.h711 #define tx_free(ap) tx_space((ap)->tx_ret_csm, (ap)->tx_prd, ap) macro
/linux-2.6.39/drivers/net/skfp/
Dhwmtm.c374 queue->tx_free = HWM_ASYNC_TXD_COUNT ; in init_txd_ring()
387 queue->tx_free = HWM_SYNC_TXD_COUNT ; in init_txd_ring()
598 for (i = tx_used+queue->tx_free-1 ; i ; i-- ) { in repair_txd_ring()
1582 if (frag_count > smc->os.hwm.tx_p->tx_free) { in hwm_tx_init()
1585 if (frag_count > smc->os.hwm.tx_p->tx_free) { in hwm_tx_init()
1597 NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ; in hwm_tx_init()
1669 queue->tx_free-- ; in hwm_tx_frag()
1727 NDD_TRACE("THfE",t,queue->tx_free,0) ; in hwm_tx_frag()
1863 if (!smc->hw.mac_ring_is_up || frag_count > queue->tx_free) { in smt_send_mbuf()
1907 queue->tx_free-- ; in smt_send_mbuf()
[all …]
/linux-2.6.39/drivers/net/fs_enet/
Dfs_enet-main.c357 if (fep->tx_free == fep->tx_ring) in fs_enet_tx()
420 if (!fep->tx_free++) in fs_enet_tx()
500 fep->tx_free = fep->tx_ring; in fs_init_bds()
646 if (!fep->tx_free || (CBDR_SC(bdp) & BD_ENET_TX_READY)) { in fs_enet_start_xmit()
686 if (!--fep->tx_free) in fs_enet_start_xmit()
725 wake = fep->tx_free && !(CBDR_SC(fep->cur_tx) & BD_ENET_TX_READY); in fs_timeout()
Dfs_enet.h138 int tx_free; member
/linux-2.6.39/drivers/net/skfp/h/
Dfplustm.h98 u_short tx_free ; /* count of free TxD's */ member
/linux-2.6.39/drivers/net/tulip/
Dde2104x.c613 unsigned int entry, tx_free; in de_start_xmit() local
619 tx_free = TX_BUFFS_AVAIL(de); in de_start_xmit()
620 if (tx_free == 0) { in de_start_xmit()
625 tx_free--; in de_start_xmit()
635 if (!tx_free || (tx_free == (DE_TX_RING_SIZE / 2))) in de_start_xmit()
653 if (tx_free == 0) in de_start_xmit()