/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-designware-common.c | 607 u32 tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local 613 dev->tx_fifo_depth = TXGBE_TX_FIFO_DEPTH; in i2c_dw_set_fifo_size() 632 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size() 634 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size() 635 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size() 637 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size() 638 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size() 639 tx_fifo_depth); in i2c_dw_set_fifo_size()
|
H A D | i2c-designware-core.h | 281 unsigned int tx_fifo_depth; member
|
H A D | i2c-qcom-geni.c | 108 unsigned int tx_fifo_depth; member 891 tx_depth = desc->tx_fifo_depth; in geni_i2c_probe() 1038 .tx_fifo_depth = 16,
|
H A 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() 498 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-cadence.c | 127 unsigned int tx_fifo_depth; member 384 if (xspi->tx_bytes < xspi->tx_fifo_depth >> 1) in cdns_spi_irq() 444 if (xspi->tx_bytes > xspi->tx_fifo_depth) in cdns_transfer_one() 445 cdns_spi_write(xspi, CDNS_SPI_THLD, xspi->tx_fifo_depth >> 1); in cdns_transfer_one() 454 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()
|
H A 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()
|
/openbmc/linux/drivers/net/phy/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/staging/axis-fifo/ |
H A 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()
|
/openbmc/u-boot/drivers/net/ |
H A D | altera_tse.h | 218 unsigned int tx_fifo_depth; member
|
H A D | altera_tse.c | 529 writel(priv->tx_fifo_depth - 16, &mac_dev->tx_sel_empty_threshold); in altera_tse_start() 633 priv->tx_fifo_depth = fdtdec_get_int(blob, node, in altera_tse_probe()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | qcom_geni_serial.c | 121 u32 tx_fifo_depth; member 922 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx_fifo() 1068 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos() 1072 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in setup_fifos() 1342 timeout += 3 * timeout / port->tx_fifo_depth; in qcom_geni_serial_set_termios() 1651 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_tse.h | 437 u32 tx_fifo_depth; member
|
H A 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()
|
/openbmc/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()
|