Searched refs:tx_free (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/ |
D | lantiq_etop.c | 91 int tx_free; member 108 int tx_free[MAX_DMA_CHAN >> 1]; member 191 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx() 193 dev_kfree_skb_any(ch->skb[ch->tx_free]); in ltq_etop_poll_tx() 194 ch->skb[ch->tx_free] = NULL; in ltq_etop_poll_tx() 195 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx() 197 ch->tx_free++; in ltq_etop_poll_tx() 198 ch->tx_free %= LTQ_DESC_NUM; in ltq_etop_poll_tx()
|
/drivers/net/fddi/skfp/ |
D | hwmtm.c | 374 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/ |
D | fs_enet-main.c | 236 if (fep->tx_free == fep->tx_ring) in fs_enet_tx_napi() 305 if (++fep->tx_free >= MAX_SKB_FRAGS) in fs_enet_tx_napi() 399 fep->tx_free = fep->tx_ring; in fs_init_bds() 559 if (fep->tx_free <= nr_frags || (CBDR_SC(bdp) & BD_ENET_TX_READY)) { in fs_enet_start_xmit() 577 fep->tx_free -= nr_frags + 1; in fs_enet_start_xmit() 632 if (fep->tx_free < MAX_SKB_FRAGS) in fs_enet_start_xmit() 662 wake = fep->tx_free && !(CBDR_SC(fep->cur_tx) & BD_ENET_TX_READY); in fs_timeout()
|
D | fs_enet.h | 143 int tx_free; member
|
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 188 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings() 211 greth->tx_free += nr_frags+1; in greth_clean_rings() 328 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings() 407 if (unlikely(greth->tx_free <= 0)) { in greth_start_xmit() 443 greth->tx_free--; in greth_start_xmit() 638 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx() 652 greth->tx_free++; in greth_clean_tx() 655 if (greth->tx_free > 0) { in greth_clean_tx()
|
D | greth.h | 110 u16 tx_free; /* only used on 10/100Mbit */ member
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 609 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/ |
D | fplustm.h | 98 u_short tx_free ; /* count of free TxD's */ member
|
/drivers/net/ethernet/aurora/ |
D | nb8800.h | 268 atomic_t tx_free; member
|
D | nb8800.c | 409 if (atomic_read(&priv->tx_free) <= NB8800_DESC_LOW) { in nb8800_xmit() 427 if (atomic_dec_return(&priv->tx_free) <= NB8800_DESC_LOW) { in nb8800_xmit() 539 atomic_add(packets, &priv->tx_free); in nb8800_tx_done() 827 atomic_set(&priv->tx_free, TX_DESC_COUNT); in nb8800_dma_reset()
|
/drivers/net/usb/ |
D | r8152.c | 603 struct list_head rx_done, tx_free; member 1155 list_add_tail(&agg->list, &tp->tx_free); in write_bulk_callback() 1288 INIT_LIST_HEAD(&tp->tx_free); in alloc_all_mem() 1344 list_add_tail(&tp->tx_info[i].list, &tp->tx_free); in alloc_all_mem() 1372 if (list_empty(&tp->tx_free)) in r8152_get_tx_agg() 1376 if (!list_empty(&tp->tx_free)) { in r8152_get_tx_agg() 1379 cursor = tp->tx_free.next; in r8152_get_tx_agg() 1827 list_add_tail(&agg->list, &tp->tx_free); in tx_bottom() 1865 !list_empty(&tp->tx_free)) in r8152_poll() 2017 if (!list_empty(&tp->tx_free)) { in rtl8152_start_xmit()
|
/drivers/net/ethernet/synopsys/ |
D | dwc_eth_qos.c | 623 size_t tx_free; member 704 pr_info("tx_free %zu, tx_cur %zu, tx_next %zu\n", lp->tx_free, in print_status() 1110 lp->tx_free = DWCEQOS_TX_DCNT; in dwceqos_descriptor_init() 1669 while (lp->tx_free < DWCEQOS_TX_DCNT) { in dwceqos_tx_reclaim() 1689 lp->tx_free++; in dwceqos_tx_reclaim() 2184 if (lp->tx_free < trans.nr_descriptors) { in dwceqos_start_xmit() 2206 lp->tx_free -= trans.nr_descriptors; in dwceqos_start_xmit()
|
/drivers/net/ethernet/alteon/ |
D | acenic.h | 708 #define tx_free(ap) tx_space((ap)->tx_ret_csm, (ap)->tx_prd, ap) macro
|
/drivers/net/ |
D | vxlan.c | 2156 goto tx_free; in vxlan_xmit_one() 2162 tx_free: in vxlan_xmit_one()
|