Home
last modified time | relevance | path

Searched refs:tx_avail (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c83 u32 tx_avail; in bnxt_rx_xdp() local
109 tx_avail = bnxt_tx_avail(bp, txr); in bnxt_rx_xdp()
113 if (tx_avail != bp->tx_ring_size) in bnxt_rx_xdp()
126 if (tx_avail < 1) { in bnxt_rx_xdp()
/Linux-v4.19/drivers/mailbox/
Dbcm-pdc-mailbox.c724 u32 tx_avail; in pdc_tx_list_sg_add() local
738 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_tx_list_sg_add()
740 if (unlikely(num_desc > tx_avail)) { in pdc_tx_list_sg_add()
1142 u32 tx_avail; in pdc_rings_full() local
1154 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_rings_full()
1156 if (unlikely(tx_cnt > tx_avail)) { in pdc_rings_full()
/Linux-v4.19/drivers/atm/
Dhorizon.c2251 pcr = dev->tx_avail; in hrz_open()
2299 scr = dev->tx_avail; in hrz_open()
2435 if (vcc.tx_rate > dev->tx_avail) { in hrz_open()
2447 dev->tx_avail -= vcc.tx_rate; in hrz_open()
2535 dev->tx_avail += vcc->tx_rate; in hrz_close()
2649 dev->tx_avail, dev->rx_avail); in hrz_proc_read()
2777 dev->tx_avail = ATM_OC3_PCR; in hrz_probe()
2781 dev->tx_avail = ((25600000/8)*26)/(27*53); in hrz_probe()
Dhorizon.h450 unsigned int tx_avail; member
Dambassador.h640 unsigned int tx_avail; member
Dambassador.c2157 dev->tx_avail = ATM_OC3_PCR; in setup_dev()
/Linux-v4.19/drivers/net/ethernet/marvell/
Dsky2.c1797 static inline int tx_avail(const struct sky2_port *sky2) in tx_avail() function
1854 if (unlikely(tx_avail(sky2) < tx_le_req(skb))) in sky2_xmit_frame()
1983 if (tx_avail(sky2) <= MAX_SKB_TX_LE) in sky2_xmit_frame()
2641 if (tx_avail(sky2) > MAX_SKB_TX_LE + 4) in sky2_tx_done()