Searched refs:tx_fifo_depth (Results 1 – 10 of 10) 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() 797 u32 tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() 803 dev->tx_fifo_depth = TXGBE_TX_FIFO_DEPTH; in i2c_dw_set_fifo_size() 822 tx_fifo_depth = FIELD_GET(DW_IC_FIFO_TX_FIELD, param) + 1; in i2c_dw_set_fifo_size() 824 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size() 825 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size() 827 } else if (tx_fifo_depth >= DW_IC_FIFO_MIN_DEPTH) { in i2c_dw_set_fifo_size() 828 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, 789 u32 tx_fifo_depth, rx_fifo_depth; i2c_dw_set_fifo_size() local [all...] |
| H A D | i2c-designware-core.h | 238 * @tx_fifo_depth: depth of the hardware tx fifo 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 | 115 * @tx_fifo_depth: Depth of the TX FIFO 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 | 84 u32 tx_fifo_depth; 526 fifo_size = mas->tx_fifo_depth * mas->fifo_width_bits / xfer->bits_per_word; in spi_geni_prepare_message() 636 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init() 645 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init() 729 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx() 81 u32 tx_fifo_depth; global() member
|
| 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 | 146 int tx_fifo_depth; member 597 &dp83869->tx_fifo_depth)) in dp83869_of_init() 598 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init() 632 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii() 729 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 983 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx_fifo() 985 avail = port->tx_fifo_depth; in qcom_geni_serial_handle_tx_fifo() 1148 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos() 1152 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos() 1441 timeout += 3 * timeout / port->tx_fifo_depth; in qcom_geni_serial_set_termios() 1856 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 | 707 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac() 1309 &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()
|