Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-designware-pcidrv.c50 u32 tx_fifo_depth; member
132 .tx_fifo_depth = 32,
141 .tx_fifo_depth = 64,
150 .tx_fifo_depth = 32,
158 .tx_fifo_depth = 32,
166 .tx_fifo_depth = 32,
175 .tx_fifo_depth = 32,
284 dev->tx_fifo_depth = controller->tx_fifo_depth; in i2c_dw_pci_probe()
Di2c-designware-platdrv.c89 dev->tx_fifo_depth = 32; in dw_i2c_acpi_configure()
223 u32 param, tx_fifo_depth, rx_fifo_depth; in dw_i2c_set_fifo_size() local
230 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in dw_i2c_set_fifo_size()
232 if (!dev->tx_fifo_depth) { in dw_i2c_set_fifo_size()
233 dev->tx_fifo_depth = tx_fifo_depth; in dw_i2c_set_fifo_size()
235 } else if (tx_fifo_depth >= 2) { in dw_i2c_set_fifo_size()
236 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in dw_i2c_set_fifo_size()
237 tx_fifo_depth); in dw_i2c_set_fifo_size()
Di2c-designware-core.h254 unsigned int tx_fifo_depth; member
Di2c-designware-master.c28 dw_writel(dev, dev->tx_fifo_depth / 2, DW_IC_TX_TL); in i2c_dw_configure_fifo_master()
281 tx_limit = dev->tx_fifo_depth - dw_readl(dev, DW_IC_TXFLR); in i2c_dw_xfer_msg()
/Linux-v5.4/drivers/staging/axis-fifo/
Daxis-fifo.c132 unsigned int tx_fifo_depth; /* max words in the transmit fifo */ member
462 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write()
464 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write()
734 unsigned int tx_fifo_depth; in axis_fifo_probe() local
870 rc = get_dts_property(fifo, "xlnx,tx-fifo-depth", &tx_fifo_depth); in axis_fifo_probe()
964 fifo->tx_fifo_depth = tx_fifo_depth - 4; in axis_fifo_probe()
/Linux-v5.4/drivers/spi/
Dspi-geni-qcom.c77 u32 tx_fifo_depth; member
278 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init()
287 geni_se_init(se, 0x0, mas->tx_fifo_depth - 2); in spi_geni_init()
418 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
/Linux-v5.4/drivers/tty/serial/
Dqcom_geni_serial.c105 u32 tx_fifo_depth; member
277 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit()
695 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx()
817 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in get_tx_fifo_size()
821 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in get_tx_fifo_size()
1296 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
/Linux-v5.4/drivers/net/ethernet/altera/
Daltera_tse.h444 u32 tx_fifo_depth; member
Daltera_tse_main.c919 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac()
1490 &priv->tx_fifo_depth)) { in altera_tse_probe()
/Linux-v5.4/drivers/usb/dwc2/
Dgadget.c280 int tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() local
282 tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg); in dwc2_hsotg_tx_fifo_average_depth()
287 return tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth()
289 return tx_fifo_depth / tx_fifo_count; in dwc2_hsotg_tx_fifo_average_depth()