Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-designware-common.c574 u32 tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local
591 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size()
593 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size()
594 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size()
596 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size()
597 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size()
598 tx_fifo_depth); in i2c_dw_set_fifo_size()
A Di2c-designware-core.h275 unsigned int tx_fifo_depth; member
A Di2c-qcom-geni.c108 unsigned int tx_fifo_depth; member
891 tx_depth = desc->tx_fifo_depth; in geni_i2c_probe()
1032 .tx_fifo_depth = 16,
A 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.3-rc2/drivers/net/phy/
A 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()
A 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.3-rc2/drivers/staging/axis-fifo/
A 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.3-rc2/drivers/spi/
A 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()
A Dspi-geni-qcom.c77 u32 tx_fifo_depth; member
617 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init()
626 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init()
700 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
825 fifo_size = mas->tx_fifo_depth * mas->fifo_width_bits / mas->cur_bits_per_word; in setup_se_xfer()
/linux-6.3-rc2/drivers/tty/serial/
A Dqcom_geni_serial.c122 u32 tx_fifo_depth; member
283 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit()
906 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx_fifo()
1052 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos()
1056 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos()
1608 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
/linux-6.3-rc2/drivers/net/ethernet/altera/
A Daltera_tse.h437 u32 tx_fifo_depth; member
A Daltera_tse_main.c708 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac()
1295 &priv->tx_fifo_depth)) { in altera_tse_probe()
/linux-6.3-rc2/drivers/usb/dwc2/
A 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()

Completed in 36 milliseconds