| /openbmc/u-boot/drivers/mmc/ |
| H A D | rockchip_dw_mmc.c | 31 int fifo_depth; member 69 priv->fifo_depth = dev_read_u32_default(dev, "fifo-depth", 0); in rockchip_dwmmc_ofdata_to_platdata() 71 if (priv->fifo_depth < 0) in rockchip_dwmmc_ofdata_to_platdata() 113 priv->fifo_depth = dtplat->fifo_depth; in rockchip_dwmmc_probe() 127 RX_WMARK(priv->fifo_depth / 2 - 1) | in rockchip_dwmmc_probe() 128 TX_WMARK(priv->fifo_depth / 2); in rockchip_dwmmc_probe()
|
| H A D | socfpga_dw_mmc.c | 105 int fifo_depth; in socfpga_dwmmc_ofdata_to_platdata() local 107 fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata() 109 if (fifo_depth < 0) { in socfpga_dwmmc_ofdata_to_platdata() 126 RX_WMARK(fifo_depth / 2 - 1) | TX_WMARK(fifo_depth / 2); in socfpga_dwmmc_ofdata_to_platdata()
|
| H A D | ftsdc010_mci.c | 42 fdt32_t fifo_depth; member 58 int fifo_depth; member 400 priv->fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata()
|
| H A D | dw_mmc.c | 124 u32 fifo_depth = (((host->fifoth_val & RX_WMARK_MASK) >> in dwmci_data_transfer() local 172 len = fifo_depth - ((len >> in dwmci_data_transfer()
|
| /openbmc/qemu/hw/ssi/ |
| H A D | mss-spi.c | 108 s->fifo_depth = 32; in set_fifodepth() 110 s->fifo_depth = 16; in set_fifodepth() 112 s->fifo_depth = 8; in set_fifodepth() 151 s->fifo_depth = 4; in mss_spi_reset() 240 if (fifo32_num_used(&s->rx_fifo) == s->fifo_depth) { in spi_flush_txfifo() 246 if (fifo32_num_used(&s->rx_fifo) == (s->fifo_depth - 1)) { in spi_flush_txfifo() 248 } else if (fifo32_num_used(&s->rx_fifo) == s->fifo_depth) { in spi_flush_txfifo() 279 if (fifo32_num_used(&s->tx_fifo) == s->fifo_depth) { in spi_write() 284 if (fifo32_num_used(&s->tx_fifo) == (s->fifo_depth - 1)) { in spi_write() 286 } else if (fifo32_num_used(&s->tx_fifo) == s->fifo_depth) { in spi_write() [all …]
|
| /openbmc/u-boot/drivers/net/phy/ |
| H A D | ti.c | 112 int fifo_depth; member 249 dp83867->fifo_depth = ofnode_read_u32_default(node, "ti,fifo-depth", in dp83867_of_init() 278 dp83867->fifo_depth = DEFAULT_FIFO_DEPTH; in dp83867_of_init() 321 (dp83867->fifo_depth << DP83867_PHYCR_FIFO_DEPTH_SHIFT)); in dp83867_config() 364 (dp83867->fifo_depth << DP83867_PHYCTRL_RXFIFO_SHIFT) | in dp83867_config() 365 (dp83867->fifo_depth << DP83867_PHYCTRL_TXFIFO_SHIFT)); in dp83867_config()
|
| /openbmc/qemu/include/hw/ssi/ |
| H A D | mss-spi.h | 52 int fifo_depth; member
|
| /openbmc/qemu/hw/char/ |
| H A D | pl011.c | 251 unsigned fifo_depth = pl011_get_fifo_depth(s); in pl011_read_rxdata() local 257 s->read_pos = (s->read_pos + 1) & (fifo_depth - 1); in pl011_read_rxdata() 265 trace_pl011_read_fifo(s->read_count, fifo_depth); in pl011_read_rxdata() 490 unsigned fifo_depth = pl011_get_fifo_depth(s); in pl011_can_receive() local 491 unsigned fifo_available = fifo_depth - s->read_count; in pl011_can_receive() 503 trace_pl011_can_receive(s->lcr, s->read_count, fifo_depth, fifo_available); in pl011_can_receive()
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | spi-sunxi.c | 117 u32 fifo_depth; member 363 nbytes = min(len, (priv->variant->fifo_depth - 1)); in sun4i_spi_xfer() 590 .fifo_depth = 64, 596 .fifo_depth = 128, 604 .fifo_depth = 64,
|
| H A D | zynq_spi.c | 68 u8 fifo_depth; member 131 priv->fifo_depth = ZYNQ_SPI_FIFO_DEPTH; in zynq_spi_probe() 236 while ((tx_tvl < priv->fifo_depth) && tx_len) { in zynq_spi_xfer()
|
| H A D | xilinx_spi.c | 107 unsigned int fifo_depth; member 118 priv->fifo_depth = dev_read_u32_default(bus, "fifo-size", 0); in xilinx_spi_probe() 176 i < priv->fifo_depth) { in xilinx_spi_fill_txfifo()
|
| H A D | pic32_spi.c | 61 u32 fifo_depth; /* FIFO depth in bytes */ member 192 priv->fifo_n_word = DIV_ROUND_UP(priv->fifo_depth, wordlen / 8); in pic32_spi_set_word_size() 355 priv->fifo_depth = 16; in pic32_spi_hw_init()
|
| H A D | cadence_qspi.h | 21 u32 fifo_depth; member
|
| H A D | zynq_qspi.c | 88 u8 fifo_depth; member 164 priv->fifo_depth = ZYNQ_QSPI_FIFO_DEPTH; in zynq_qspi_probe() 438 zynq_qspi_fill_tx_fifo(priv, priv->fifo_depth); in zynq_qspi_start_transfer()
|
| H A D | cadence_qspi.c | 290 plat->fifo_depth = fdtdec_get_uint(blob, node, "cdns,fifo-depth", 128); in cadence_spi_ofdata_to_platdata()
|
| H A D | cadence_qspi_apb.c | 396 writel(plat->fifo_depth / 2, plat->regbase + CQSPI_REG_SRAMPARTITION); in cadence_qspi_apb_controller_init()
|
| /openbmc/u-boot/doc/driver-model/ |
| H A D | of-plat.txt | 123 fdt32_t fifo_depth; 133 .fifo_depth = 0x100, 218 int fifo_depth; 229 plat->fifo_depth = fdtdec_get_int(blob, node, "fifo-depth", 0); 243 plat->fifo_depth = dtplat->fifo_depth; 246 writel(plat->fifo_depth, ...)
|