Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.h119 u32 tx_avail; member
165 (ptp)->tx_avail++; \
Dbnxt_xdp.c235 u32 tx_avail; in bnxt_rx_xdp() local
251 tx_avail = bnxt_tx_avail(bp, txr); in bnxt_rx_xdp()
255 if (tx_avail != bp->tx_ring_size) in bnxt_rx_xdp()
280 if (tx_avail < tx_needed) { in bnxt_rx_xdp()
Dbnxt_ptp.c746 num_requests = BNXT_MAX_TX_TS - READ_ONCE(ptp->tx_avail); in bnxt_ptp_ts_aux_work()
783 if (ptp->tx_avail) { in bnxt_ptp_get_txts_prod()
786 ptp->tx_avail--; in bnxt_ptp_get_txts_prod()
1044 WRITE_ONCE(ptp->tx_avail, BNXT_MAX_TX_TS); in bnxt_ptp_init()
Dbnxt.c12165 WRITE_ONCE(bp->ptp_cfg->tx_avail, BNXT_MAX_TX_TS); in __bnxt_open_nic()
/linux-6.12.1/drivers/mailbox/
Dbcm-pdc-mailbox.c706 u32 tx_avail; in pdc_tx_list_sg_add() local
720 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_tx_list_sg_add()
722 if (unlikely(num_desc > tx_avail)) { in pdc_tx_list_sg_add()
1124 u32 tx_avail; in pdc_rings_full() local
1136 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_rings_full()
1138 if (unlikely(tx_cnt > tx_avail)) { in pdc_rings_full()
/linux-6.12.1/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()