Home
last modified time | relevance | path

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

/drivers/net/ethernet/
Dlantiq_etop.c92 int tx_free; member
109 int tx_free[MAX_DMA_CHAN >> 1]; member
192 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx()
194 dev_kfree_skb_any(ch->skb[ch->tx_free]); in ltq_etop_poll_tx()
195 ch->skb[ch->tx_free] = NULL; in ltq_etop_poll_tx()
196 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx()
198 ch->tx_free++; in ltq_etop_poll_tx()
199 ch->tx_free %= LTQ_DESC_NUM; in ltq_etop_poll_tx()
/drivers/net/ethernet/aeroflex/
Dgreth.c183 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings()
206 greth->tx_free += nr_frags+1; in greth_clean_rings()
323 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings()
402 if (unlikely(greth->tx_free <= 0)) { in greth_start_xmit()
438 greth->tx_free--; in greth_start_xmit()
466 if (greth->tx_free < nr_frags + 1) { in greth_start_xmit_gbit()
551 greth->tx_free -= nr_frags + 1; in greth_start_xmit_gbit()
632 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx()
646 greth->tx_free++; in greth_clean_tx()
649 if (greth->tx_free > 0) { in greth_clean_tx()
[all …]
Dgreth.h110 u16 tx_free; member
/drivers/net/fddi/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 …]
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c353 if (fep->tx_free == fep->tx_ring) in fs_enet_tx()
416 if (!fep->tx_free++) in fs_enet_tx()
496 fep->tx_free = fep->tx_ring; in fs_init_bds()
635 if (!fep->tx_free || (CBDR_SC(bdp) & BD_ENET_TX_READY)) { in fs_enet_start_xmit()
675 if (!--fep->tx_free) in fs_enet_start_xmit()
716 wake = fep->tx_free && !(CBDR_SC(fep->cur_tx) & BD_ENET_TX_READY); in fs_timeout()
Dfs_enet.h138 int tx_free; member
/drivers/net/ethernet/dec/tulip/
Dde2104x.c609 unsigned int entry, tx_free; in de_start_xmit() local
615 tx_free = TX_BUFFS_AVAIL(de); in de_start_xmit()
616 if (tx_free == 0) { in de_start_xmit()
621 tx_free--; in de_start_xmit()
631 if (!tx_free || (tx_free == (DE_TX_RING_SIZE / 2))) in de_start_xmit()
648 if (tx_free == 0) in de_start_xmit()
/drivers/net/fddi/skfp/h/
Dfplustm.h98 u_short tx_free ; /* count of free TxD's */ member
/drivers/net/ethernet/alteon/
Dacenic.h708 #define tx_free(ap) tx_space((ap)->tx_ret_csm, (ap)->tx_prd, ap) macro
/drivers/net/
Dvxlan.c1107 goto tx_free; in vxlan_xmit_one()
1111 tx_free: in vxlan_xmit_one()