Searched refs:tx_fifo_depth (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-designware-common.c | 591 u32 tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local 597 dev->tx_fifo_depth = TXGBE_TX_FIFO_DEPTH; in i2c_dw_set_fifo_size() 616 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size() 618 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size() 619 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size() 621 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size() 622 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size() 623 tx_fifo_depth); in i2c_dw_set_fifo_size()
|
D | i2c-designware-core.h | 279 unsigned int tx_fifo_depth; member
|
D | i2c-qcom-geni.c | 108 unsigned int tx_fifo_depth; member 889 tx_depth = desc->tx_fifo_depth; in geni_i2c_probe() 1029 .tx_fifo_depth = 16,
|
D | i2c-designware-master.c | 34 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 470 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
|
/Linux-v6.6/drivers/spi/ |
D | spi-cadence.c | 127 unsigned int tx_fifo_depth; member 383 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq() 443 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one() 444 cdns_spi_write(xspi, CDNS_SPI_THLD, xspi->tx_fifo_depth >> 1); in cdns_transfer_one() 453 cdns_spi_process_fifo(xspi, xspi->tx_fifo_depth, 0); in cdns_transfer_one() 492 unsigned int cnt = xspi->tx_fifo_depth; in cdns_unprepare_transfer_hardware() 522 xspi->tx_fifo_depth = cdns_spi_read(xspi, CDNS_SPI_THLD) + 1; in cdns_spi_detect_fifo_depth()
|
D | spi-geni-qcom.c | 81 u32 tx_fifo_depth; member 574 fifo_size = mas->tx_fifo_depth * mas->fifo_width_bits / mas->cur_bits_per_word; in geni_can_dma() 670 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init() 679 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init() 757 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
|
/Linux-v6.6/drivers/net/phy/ |
D | dp83867.c | 171 u32 tx_fifo_depth; member 643 &dp83867->tx_fifo_depth); in dp83867_of_init() 646 &dp83867->tx_fifo_depth); in dp83867_of_init() 648 dp83867->tx_fifo_depth = in dp83867_of_init() 652 if (dp83867->tx_fifo_depth > DP83867_PHYCR_FIFO_DEPTH_MAX) { in dp83867_of_init() 654 dp83867->tx_fifo_depth); in dp83867_of_init() 697 dp83867->tx_fifo_depth = DP83867_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83867_of_init() 784 val |= (dp83867->tx_fifo_depth << in dp83867_config_init()
|
D | dp83869.c | 145 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() 619 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii() 716 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
|
/Linux-v6.6/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 127 unsigned int tx_fifo_depth; /* max words in the transmit fifo */ member 498 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write() 500 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write() 776 &fifo->tx_fifo_depth); in axis_fifo_parse_dt() 784 fifo->tx_fifo_depth -= 4; in axis_fifo_parse_dt()
|
/Linux-v6.6/drivers/tty/serial/ |
D | qcom_geni_serial.c | 121 u32 tx_fifo_depth; member 283 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit() 900 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx_fifo() 1046 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos() 1050 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos() 1616 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
|
/Linux-v6.6/drivers/net/ethernet/altera/ |
D | altera_tse.h | 437 u32 tx_fifo_depth; member
|
D | altera_tse_main.c | 710 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac() 1318 &priv->tx_fifo_depth)) { in altera_tse_probe()
|
/Linux-v6.6/drivers/usb/dwc2/ |
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()
|