Home
last modified time | relevance | path

Searched refs:tx_thresh (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c230 u16 tx_thresh = ICE_RING_QUARTER(xdp_ring); in ice_clean_xdp_irq() local
242 for (i = 0; i < tx_thresh; i++) { in ice_clean_xdp_irq()
263 xdp_ring->next_dd = xdp_ring->next_dd + tx_thresh; in ice_clean_xdp_irq()
265 xdp_ring->next_dd = tx_thresh - 1; in ice_clean_xdp_irq()
278 u16 tx_thresh = ICE_RING_QUARTER(xdp_ring); in ice_xmit_xdp_ring() local
284 if (ICE_DESC_UNUSED(xdp_ring) < tx_thresh) in ice_xmit_xdp_ring()
317 xdp_ring->next_rs = tx_thresh - 1; in ice_xmit_xdp_ring()
325 xdp_ring->next_rs += tx_thresh; in ice_xmit_xdp_ring()
/drivers/i3c/master/mipi-i3c-hci/
Dpio.c142 u32 val, size_val, rx_thresh, tx_thresh, ibi_val; in hci_pio_init() local
167 tx_thresh = FIELD_GET(TX_DATA_BUFFER_SIZE, size_val); in hci_pio_init()
172 if (tx_thresh) in hci_pio_init()
173 tx_thresh -= 1; in hci_pio_init()
175 pio->tx_thresh_size = 2 << tx_thresh; in hci_pio_init()
179 pio->tx_thresh_size = 1 << tx_thresh; in hci_pio_init()
182 FIELD_PREP(DATA_TX_BUF_THLD, tx_thresh); in hci_pio_init()
/drivers/net/ethernet/via/
Dvia-rhine.c475 u8 tx_thresh, rx_thresh; member
741 if (rp->tx_thresh < 0xe0) { in rhine_kick_tx_threshold()
744 rp->tx_thresh += 0x20; in rhine_kick_tx_threshold()
745 BYTE_REG_BITS_SET(rp->tx_thresh, 0x80, ioaddr + TxConfig); in rhine_kick_tx_threshold()
761 "Tx threshold now %02x\n", rp->tx_thresh); in rhine_tx_err()
771 "Tx threshold now %02x\n", rp->tx_thresh); in rhine_tx_err()
1560 rp->tx_thresh = 0x20; in init_registers()
2416 iowrite8(rp->tx_thresh | 0x02, ioaddr + TxConfig); in rhine_close()