/linux-6.1.9/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 62 int tx_free; member 323 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping() 326 struct sk_buff *skb = ch->skb[ch->tx_free]; in xrx200_tx_housekeeping() 330 ch->skb[ch->tx_free] = NULL; in xrx200_tx_housekeeping() 332 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping() 334 ch->tx_free++; in xrx200_tx_housekeeping() 335 ch->tx_free %= LTQ_DESC_NUM; in xrx200_tx_housekeeping() 397 if (ch->dma.desc == ch->tx_free) in xrx200_start_xmit() 524 goto tx_free; in xrx200_dma_init() 529 tx_free: in xrx200_dma_init()
|
D | lantiq_etop.c | 82 int tx_free; member 98 int tx_free[MAX_DMA_CHAN >> 1]; member 183 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx() 185 dev_kfree_skb_any(ch->skb[ch->tx_free]); in ltq_etop_poll_tx() 186 ch->skb[ch->tx_free] = NULL; in ltq_etop_poll_tx() 187 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx() 189 ch->tx_free++; in ltq_etop_poll_tx() 190 ch->tx_free %= LTQ_DESC_NUM; in ltq_etop_poll_tx()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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
|
/linux-6.1.9/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() 326 greth->tx_free = GRETH_TXBD_NUM; in greth_init_rings() 405 if (unlikely(greth->tx_free <= 0)) { in greth_start_xmit() 441 greth->tx_free--; in greth_start_xmit() 635 if (greth->tx_free == GRETH_TXBD_NUM) in greth_clean_tx() 649 greth->tx_free++; in greth_clean_tx() 652 if (greth->tx_free > 0) { in greth_clean_tx()
|
D | greth.h | 111 u16 tx_free; /* only used on 10/100Mbit */ member
|
/linux-6.1.9/drivers/net/fddi/skfp/h/ |
D | fplustm.h | 94 u_short tx_free ; /* count of free TxD's */ member
|
/linux-6.1.9/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()
|
/linux-6.1.9/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 | 296 u32 tx_free = rs->fifo_len - readl_relaxed(rs->regs + ROCKCHIP_SPI_TXFLR); in rockchip_spi_pio_writer() local 297 u32 words = min(rs->tx_left, tx_free); in rockchip_spi_pio_writer()
|
/linux-6.1.9/drivers/net/ethernet/alteon/ |
D | acenic.h | 709 #define tx_free(ap) tx_space((ap)->tx_ret_csm, (ap)->tx_prd, ap) macro
|
/linux-6.1.9/drivers/net/usb/ |
D | r8152.c | 868 struct list_head rx_done, tx_free; member 1830 list_add_tail(&agg->list, &tp->tx_free); in write_bulk_callback() 2019 INIT_LIST_HEAD(&tp->tx_free); in alloc_all_mem() 2058 list_add_tail(&tp->tx_info[i].list, &tp->tx_free); in alloc_all_mem() 2086 if (list_empty(&tp->tx_free)) in r8152_get_tx_agg() 2090 if (!list_empty(&tp->tx_free)) { in r8152_get_tx_agg() 2093 cursor = tp->tx_free.next; in r8152_get_tx_agg() 2596 list_add_tail(&agg->list, &tp->tx_free); in tx_bottom() 2789 if (!list_empty(&tp->tx_free)) { in rtl8152_start_xmit()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 521 goto tx_free; in bnxt_start_xmit() 641 tx_free: in bnxt_start_xmit()
|