/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 56 int tx_free; member 255 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping() 258 struct sk_buff *skb = ch->skb[ch->tx_free]; in xrx200_tx_housekeeping() 262 ch->skb[ch->tx_free] = NULL; in xrx200_tx_housekeeping() 264 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping() 266 ch->tx_free++; in xrx200_tx_housekeeping() 267 ch->tx_free %= LTQ_DESC_NUM; in xrx200_tx_housekeeping() 329 if (ch->dma.desc == ch->tx_free) in xrx200_start_xmit() 404 goto tx_free; in xrx200_dma_init() 409 tx_free: in xrx200_dma_init()
|
D | lantiq_etop.c | 81 int tx_free; member 97 int tx_free[MAX_DMA_CHAN >> 1]; member 179 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx() 181 dev_kfree_skb_any(ch->skb[ch->tx_free]); in ltq_etop_poll_tx() 182 ch->skb[ch->tx_free] = NULL; in ltq_etop_poll_tx() 183 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx() 185 ch->tx_free++; in ltq_etop_poll_tx() 186 ch->tx_free %= LTQ_DESC_NUM; in ltq_etop_poll_tx()
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
D | hwmtm.c | 366 queue->tx_free = HWM_ASYNC_TXD_COUNT ; in init_txd_ring() 379 queue->tx_free = HWM_SYNC_TXD_COUNT ; in init_txd_ring() 590 for (i = tx_used+queue->tx_free-1 ; i ; i-- ) { in repair_txd_ring() 1574 if (frag_count > smc->os.hwm.tx_p->tx_free) { in hwm_tx_init() 1577 if (frag_count > smc->os.hwm.tx_p->tx_free) { in hwm_tx_init() 1589 NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ; in hwm_tx_init() 1661 queue->tx_free-- ; in hwm_tx_frag() 1719 NDD_TRACE("THfE",t,queue->tx_free,0) ; in hwm_tx_frag() 1855 if (!smc->hw.mac_ring_is_up || frag_count > queue->tx_free) { in smt_send_mbuf() 1899 queue->tx_free-- ; in smt_send_mbuf() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 108 if (fep->tx_free == fep->tx_ring) in fs_enet_napi() 177 if (++fep->tx_free == MAX_SKB_FRAGS) in fs_enet_napi() 370 fep->tx_free = fep->tx_ring; in fs_init_bds() 531 if (fep->tx_free <= nr_frags || (CBDR_SC(bdp) & BD_ENET_TX_READY)) { in fs_enet_start_xmit() 549 fep->tx_free -= nr_frags + 1; in fs_enet_start_xmit() 607 if (fep->tx_free < MAX_SKB_FRAGS) in fs_enet_start_xmit() 638 wake = fep->tx_free >= MAX_SKB_FRAGS && in fs_timeout_work()
|
D | fs_enet.h | 141 int tx_free; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aeroflex/ |
D | greth.c | 185 while (greth->tx_free < GRETH_TXBD_NUM) { in greth_clean_rings() 208 greth->tx_free += nr_frags+1; in greth_clean_rings() 325 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings() 404 if (unlikely(greth->tx_free <= 0)) { in greth_start_xmit() 440 greth->tx_free--; in greth_start_xmit() 634 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx() 648 greth->tx_free++; in greth_clean_tx() 651 if (greth->tx_free > 0) { in greth_clean_tx()
|
D | greth.h | 111 u16 tx_free; /* only used on 10/100Mbit */ member
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
D | fplustm.h | 94 u_short tx_free ; /* count of free TxD's */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 608 unsigned int entry, tx_free; in de_start_xmit() local 614 tx_free = TX_BUFFS_AVAIL(de); in de_start_xmit() 615 if (tx_free == 0) { in de_start_xmit() 620 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aurora/ |
D | nb8800.h | 269 atomic_t tx_free; member
|
D | nb8800.c | 399 if (atomic_read(&priv->tx_free) <= NB8800_DESC_LOW) { in nb8800_xmit() 418 if (atomic_dec_return(&priv->tx_free) <= NB8800_DESC_LOW) { in nb8800_xmit() 530 atomic_add(packets, &priv->tx_free); in nb8800_tx_done() 818 atomic_set(&priv->tx_free, TX_DESC_COUNT); in nb8800_dma_reset()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-lantiq-ssc.c | 483 unsigned int tx_free = tx_fifo_free(spi); in tx_fifo_write() local 486 while (spi->tx_todo && tx_free) { in tx_fifo_write() 513 tx_free--; in tx_fifo_write()
|
D | spi-rockchip.c | 274 u32 tx_free = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR); in rockchip_spi_pio_writer() local 275 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alteon/ |
D | acenic.h | 710 #define tx_free(ap) tx_space((ap)->tx_ret_csm, (ap)->tx_prd, ap) macro
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | r8152.c | 795 struct list_head rx_done, tx_free; member 1644 list_add_tail(&agg->list, &tp->tx_free); in write_bulk_callback() 1833 INIT_LIST_HEAD(&tp->tx_free); in alloc_all_mem() 1872 list_add_tail(&tp->tx_info[i].list, &tp->tx_free); in alloc_all_mem() 1900 if (list_empty(&tp->tx_free)) in r8152_get_tx_agg() 1904 if (!list_empty(&tp->tx_free)) { in r8152_get_tx_agg() 1907 cursor = tp->tx_free.next; in r8152_get_tx_agg() 2409 list_add_tail(&agg->list, &tp->tx_free); in tx_bottom() 2600 if (!list_empty(&tp->tx_free)) { in rtl8152_start_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 536 goto tx_free; in bnxt_start_xmit() 654 tx_free: in bnxt_start_xmit()
|