Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/i2c/busses/
Di2c-designware-common.c574 u32 param, tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local
590 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size()
592 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size()
593 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size()
595 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size()
596 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size()
597 tx_fifo_depth); in i2c_dw_set_fifo_size()
Di2c-designware-core.h275 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-6.1.9/drivers/net/phy/
Ddp83867.c162 u32 tx_fifo_depth; member
635 &dp83867->tx_fifo_depth); in dp83867_of_init()
638 &dp83867->tx_fifo_depth); in dp83867_of_init()
640 dp83867->tx_fifo_depth = in dp83867_of_init()
644 if (dp83867->tx_fifo_depth > DP83867_PHYCR_FIFO_DEPTH_MAX) { in dp83867_of_init()
646 dp83867->tx_fifo_depth); in dp83867_of_init()
689 dp83867->tx_fifo_depth = DP83867_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83867_of_init()
752 val |= (dp83867->tx_fifo_depth << in dp83867_config_init()
Ddp83869.c145 int tx_fifo_depth; member
584 &dp83869->tx_fifo_depth)) in dp83869_of_init()
585 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init()
621 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii()
707 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
/linux-6.1.9/drivers/staging/axis-fifo/
Daxis-fifo.c129 unsigned int tx_fifo_depth; /* max words in the transmit fifo */ member
502 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write()
504 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write()
782 &fifo->tx_fifo_depth); in axis_fifo_parse_dt()
790 fifo->tx_fifo_depth -= 4; in axis_fifo_parse_dt()
/linux-6.1.9/drivers/spi/
Dspi-cadence.c125 unsigned int tx_fifo_depth; member
307 while ((trans_cnt < xspi->tx_fifo_depth) && in cdns_spi_fill_tx_fifo()
483 xspi->tx_fifo_depth = cdns_spi_read(xspi, CDNS_SPI_THLD) + 1; in cdns_spi_detect_fifo_depth()
Dspi-geni-qcom.c77 u32 tx_fifo_depth; member
568 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init()
577 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init()
651 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
/linux-6.1.9/drivers/tty/serial/
Dqcom_geni_serial.c128 u32 tx_fifo_depth; member
280 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit()
750 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx()
873 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos()
877 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos()
1428 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
/linux-6.1.9/drivers/net/ethernet/altera/
Daltera_tse.h437 u32 tx_fifo_depth; member
Daltera_tse_main.c708 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac()
1296 &priv->tx_fifo_depth)) { in altera_tse_probe()
/linux-6.1.9/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()