Searched refs:tx_fifo_depth (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-designware-common.c | 568 u32 param, tx_fifo_depth, rx_fifo_depth; in i2c_dw_set_fifo_size() local 579 tx_fifo_depth = ((param >> 16) & 0xff) + 1; in i2c_dw_set_fifo_size() 581 if (!dev->tx_fifo_depth) { in i2c_dw_set_fifo_size() 582 dev->tx_fifo_depth = tx_fifo_depth; in i2c_dw_set_fifo_size() 584 } else if (tx_fifo_depth >= 2) { in i2c_dw_set_fifo_size() 585 dev->tx_fifo_depth = min_t(u32, dev->tx_fifo_depth, in i2c_dw_set_fifo_size() 586 tx_fifo_depth); in i2c_dw_set_fifo_size()
|
| H A D | i2c-designware-master.c | 29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 313 tx_limit = dev->tx_fifo_depth - flr; in i2c_dw_xfer_msg()
|
| H A D | i2c-designware-core.h | 266 unsigned int tx_fifo_depth; member
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | dp83867.c | 161 u32 tx_fifo_depth; member 558 &dp83867->tx_fifo_depth); in dp83867_of_init() 561 &dp83867->tx_fifo_depth); in dp83867_of_init() 563 dp83867->tx_fifo_depth = in dp83867_of_init() 567 if (dp83867->tx_fifo_depth > DP83867_PHYCR_FIFO_DEPTH_MAX) { in dp83867_of_init() 569 dp83867->tx_fifo_depth); in dp83867_of_init() 649 val |= (dp83867->tx_fifo_depth << in dp83867_config_init()
|
| H A D | dp83869.c | 144 int tx_fifo_depth; member 549 &dp83869->tx_fifo_depth)) in dp83869_of_init() 550 dp83869->tx_fifo_depth = DP83869_PHYCR_FIFO_DEPTH_4_B_NIB; in dp83869_of_init() 586 val |= (dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT); in dp83869_configure_rgmii() 672 dp83869->tx_fifo_depth << DP83869_TX_FIFO_SHIFT | in dp83869_configure_mode()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-geni-qcom.c | 69 u32 tx_fifo_depth; member 355 mas->tx_fifo_depth = geni_se_get_tx_fifo_depth(se); in spi_geni_init() 364 geni_se_init(se, mas->tx_fifo_depth - 3, mas->tx_fifo_depth - 2); in spi_geni_init() 415 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()
|
| /OK3568_Linux_fs/kernel/drivers/staging/axis-fifo/ |
| H A D | axis-fifo.c | 131 unsigned int tx_fifo_depth; /* max words in the transmit fifo */ member 501 if (words_to_write > fifo->tx_fifo_depth) { in axis_fifo_write() 503 words_to_write, fifo->tx_fifo_depth); in axis_fifo_write() 781 &fifo->tx_fifo_depth); in axis_fifo_parse_dt() 789 fifo->tx_fifo_depth -= 4; in axis_fifo_parse_dt()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | qcom_geni_serial.c | 124 u32 tx_fifo_depth; member 282 fifo_bits = port->tx_fifo_depth * port->tx_fifo_width; in qcom_geni_serial_poll_bit() 752 avail = port->tx_fifo_depth - (status & TX_FIFO_WC); in qcom_geni_serial_handle_tx() 874 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in get_tx_fifo_size() 878 (port->tx_fifo_depth * port->tx_fifo_width) / BITS_PER_BYTE; in get_tx_fifo_size() 1386 port->tx_fifo_depth = DEF_FIFO_DEPTH_WORDS; in qcom_geni_serial_probe()
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/altera/ |
| H A D | altera_tse.h | 444 u32 tx_fifo_depth; member
|
| H A D | altera_tse_main.c | 923 csrwr32(priv->tx_fifo_depth - ALTERA_TSE_TX_SECTION_EMPTY, in init_mac() 1497 &priv->tx_fifo_depth)) { in altera_tse_probe()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | gadget.c | 312 int tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() local 314 tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg); in dwc2_hsotg_tx_fifo_average_depth() 319 return tx_fifo_depth; in dwc2_hsotg_tx_fifo_average_depth() 321 return tx_fifo_depth / tx_fifo_count; in dwc2_hsotg_tx_fifo_average_depth()
|