Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c123 u32 tx_avail; in bnxt_rx_xdp() local
145 tx_avail = bnxt_tx_avail(bp, txr); in bnxt_rx_xdp()
149 if (tx_avail != bp->tx_ring_size) in bnxt_rx_xdp()
162 if (tx_avail < 1) { in bnxt_rx_xdp()
Dbnxt_ptp.h94 atomic_t tx_avail; member
Dbnxt_ptp.c581 atomic_inc(&ptp->tx_avail); in bnxt_stamp_tx_skb()
756 atomic_set(&ptp->tx_avail, BNXT_MAX_TX_TS); in bnxt_ptp_init()
Dbnxt.c467 atomic_dec_if_positive(&ptp->tx_avail) >= 0) { in bnxt_start_xmit()
475 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()
671 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()
746 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_tx_int()
/drivers/mailbox/
Dbcm-pdc-mailbox.c710 u32 tx_avail; in pdc_tx_list_sg_add() local
724 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_tx_list_sg_add()
726 if (unlikely(num_desc > tx_avail)) { in pdc_tx_list_sg_add()
1128 u32 tx_avail; in pdc_rings_full() local
1140 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_rings_full()
1142 if (unlikely(tx_cnt > tx_avail)) { in pdc_rings_full()
/drivers/atm/
Dhorizon.c2236 pcr = dev->tx_avail; in hrz_open()
2284 scr = dev->tx_avail; in hrz_open()
2420 if (vcc.tx_rate > dev->tx_avail) { in hrz_open()
2432 dev->tx_avail -= vcc.tx_rate; in hrz_open()
2520 dev->tx_avail += vcc->tx_rate; in hrz_close()
2594 dev->tx_avail, dev->rx_avail); in hrz_proc_read()
2722 dev->tx_avail = ATM_OC3_PCR; in hrz_probe()
2726 dev->tx_avail = ((25600000/8)*26)/(27*53); in hrz_probe()
Dhorizon.h435 unsigned int tx_avail; member
Dambassador.h625 unsigned int tx_avail; member
Dambassador.c2142 dev->tx_avail = ATM_OC3_PCR; in setup_dev()
/drivers/net/ethernet/marvell/
Dsky2.c1783 static inline int tx_avail(const struct sky2_port *sky2) in tx_avail() function
1838 if (unlikely(tx_avail(sky2) < tx_le_req(skb))) in sky2_xmit_frame()
1968 if (tx_avail(sky2) <= MAX_SKB_TX_LE) in sky2_xmit_frame()
2625 if (tx_avail(sky2) > MAX_SKB_TX_LE + 4) in sky2_tx_done()