Searched refs:tx_fifo_depth (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/i2c/busses/ |
| H A D | i2c-designware-common.c | 366 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_mode() 789 u32 tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local 795 dev->tx_fifo_depth = TXGBE_TX_FIFO_DEPTH; in i2c_dw_set_fifo_size() 814 tx_fifo_depth = FIELD_GET(DW_IC_FIFO_TX_FIELD, param) + 1; in i2c_dw_set_fifo_size() 816 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size() 817 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size() 819 } else if (tx_fifo_depth >= DW_IC_FIFO_MIN_DEPTH) { in i2c_dw_set_fifo_size() 820 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size() 821 tx_fifo_depth); in i2c_dw_set_fifo_size()
|
| H A D | i2c-qcom-geni.c | 131 unsigned int tx_fifo_depth; member 1105 tx_depth = desc->tx_fifo_depth; in geni_i2c_probe() 1262 .tx_fifo_depth = 16,
|
| H A D | i2c-designware-core.h | 301 unsigned int tx_fifo_depth; member
|
| H A D | i2c-designware-master.c | 406 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
|
| /linux/drivers/spi/ |
| H A D | spi-cadence.c | 131 unsigned int tx_fifo_depth; member 459 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq() 519 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one() 520 cdns_spi_write(xspi, CDNS_SPI_THLD, xspi->tx_fifo_depth >> 1); in cdns_transfer_one() 533 cdns_spi_process_fifo(xspi, xspi->tx_fifo_depth, 0); in cdns_transfer_one() 571 unsigned int cnt = xspi->tx_fifo_depth; in cdns_unprepare_transfer_hardware() 601 xspi->tx_fifo_depth = cdns_spi_read(xspi, CDNS_SPI_THLD) + 1; in cdns_spi_detect_fifo_depth()
|
| H A D | spi-geni-qcom.c | 81 u32 tx_fifo_depth; member 512 fifo_size = mas->tx_fifo_depth * mas->fifo_width_bits / xfer->bits_per_word; in geni_can_dma() 622 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init() 631 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init() 715 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
|
| H A D | spi-axiado.c | 198 while ((trans_cnt < xspi->tx_fifo_depth) && in ax_spi_fill_tx_fifo() 513 xspi->tx_fifo_depth = FIFO_DEPTH; in ax_spi_detect_fifo_depth() 707 fifo_total_bytes = xspi->tx_fifo_depth; in ax_spi_mem_adjust_op_size()
|
| /linux/drivers/net/phy/ |
| H A D | dp83869.c | 145 int tx_fifo_depth; member 596 &dp83869->tx_fifo_depth)) in dp83869_of_init() 597 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init() 631 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii() 728 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
|
| /linux/drivers/tty/serial/ |
| H A D | qcom_geni_serial.c | 132 u32 tx_fifo_depth; member 985 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx_fifo() 987 avail = port->tx_fifo_depth; in qcom_geni_serial_handle_tx_fifo() 1138 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos() 1142 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos() 1421 timeout += 3 * timeout / port->tx_fifo_depth; in qcom_geni_serial_set_termios() 1836 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
|
| /linux/drivers/net/ethernet/altera/ |
| H A D | altera_tse_main.c | 706 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac() 1308 &priv->tx_fifo_depth)) { in altera_tse_probe()
|
| /linux/drivers/usb/dwc2/ |
| H A D | gadget.c | 292 int tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() local 294 tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg); in dwc2_hsotg_tx_fifo_average_depth() 299 return tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() 301 return tx_fifo_depth / tx_fifo_count; in dwc2_hsotg_tx_fifo_average_depth()
|