Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/i2c/busses/
Di2c-designware-common.c574 u32 param, tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local
585 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size()
587 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size()
588 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size()
590 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size()
591 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size()
592 tx_fifo_depth); in i2c_dw_set_fifo_size()
Di2c-designware-core.h268 unsigned int tx_fifo_depth; member
Di2c-designware-master.c33 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
407 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
/Linux-v5.15/drivers/net/phy/
Ddp83867.c160 u32 tx_fifo_depth; member
591 &dp83867->tx_fifo_depth); in dp83867_of_init()
594 &dp83867->tx_fifo_depth); in dp83867_of_init()
596 dp83867->tx_fifo_depth = in dp83867_of_init()
600 if (dp83867->tx_fifo_depth > DP83867_PHYCR_FIFO_DEPTH_MAX) { in dp83867_of_init()
602 dp83867->tx_fifo_depth); in dp83867_of_init()
682 val |= (dp83867->tx_fifo_depth << in dp83867_config_init()
Ddp83869.c144 int tx_fifo_depth; member
583 &dp83869->tx_fifo_depth)) in dp83869_of_init()
584 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init()
620 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii()
706 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
/Linux-v5.15/drivers/spi/
Dspi-geni-qcom.c69 u32 tx_fifo_depth; member
362 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init()
371 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init()
422 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
/Linux-v5.15/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.15/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()
1374 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
/Linux-v5.15/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()
1489 &priv->tx_fifo_depth)) { in altera_tse_probe()
/Linux-v5.15/drivers/usb/dwc2/
Dgadget.c293 int tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() local
295 tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg); in dwc2_hsotg_tx_fifo_average_depth()
300 return tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth()
302 return tx_fifo_depth / tx_fifo_count; in dwc2_hsotg_tx_fifo_average_depth()