Searched refs:tx_thresh (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | pio.c | 142 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()
|
/linux/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 475 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()
|