Home
last modified time | relevance | path

Searched refs:tx_fifo_depth (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/i2c/busses/
Di2c-designware-common.c571 u32 param, tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local
582 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size()
584 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size()
585 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size()
587 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size()
588 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size()
589 tx_fifo_depth); in i2c_dw_set_fifo_size()
Di2c-designware-core.h266 unsigned int tx_fifo_depth; member
Di2c-designware-master.c29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
312 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
/Linux-v5.10/drivers/net/phy/
Ddp83867.c160 u32 tx_fifo_depth; member
557 &dp83867->tx_fifo_depth); in dp83867_of_init()
560 &dp83867->tx_fifo_depth); in dp83867_of_init()
562 dp83867->tx_fifo_depth = in dp83867_of_init()
566 if (dp83867->tx_fifo_depth > DP83867_PHYCR_FIFO_DEPTH_MAX) { in dp83867_of_init()
568 dp83867->tx_fifo_depth); in dp83867_of_init()
648 val |= (dp83867->tx_fifo_depth << in dp83867_config_init()
Ddp83869.c144 int tx_fifo_depth; member
549 &dp83869->tx_fifo_depth)) in dp83869_of_init()
550 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init()
586 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii()
672 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
/Linux-v5.10/drivers/spi/
Dspi-geni-qcom.c69 u32 tx_fifo_depth; member
303 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init()
312 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init()
357 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
/Linux-v5.10/drivers/staging/axis-fifo/
Daxis-fifo.c131 unsigned int tx_fifo_depth; /* max words in the transmit fifo */ member
501 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write()
503 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write()
781 &fifo->tx_fifo_depth); in axis_fifo_parse_dt()
789 fifo->tx_fifo_depth -= 4; in axis_fifo_parse_dt()
/Linux-v5.10/drivers/tty/serial/
Dqcom_geni_serial.c124 u32 tx_fifo_depth; member
282 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit()
752 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx()
874 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in get_tx_fifo_size()
878 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in get_tx_fifo_size()
1393 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
/Linux-v5.10/drivers/net/ethernet/altera/
Daltera_tse.h444 u32 tx_fifo_depth; member
Daltera_tse_main.c919 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac()
1490 &priv->tx_fifo_depth)) { in altera_tse_probe()
/Linux-v5.10/drivers/usb/dwc2/
Dgadget.c281 int tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() local
283 tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg); in dwc2_hsotg_tx_fifo_average_depth()
288 return tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth()
290 return tx_fifo_depth / tx_fifo_count; in dwc2_hsotg_tx_fifo_average_depth()