| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | socfpga_dw_mmc.c | 66 int fifo_depth; in socfpga_dwmmc_ofdata_to_platdata() local 73 fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata() 75 if (fifo_depth < 0) { in socfpga_dwmmc_ofdata_to_platdata() 94 RX_WMARK(fifo_depth / 2 - 1) | TX_WMARK(fifo_depth / 2); in socfpga_dwmmc_ofdata_to_platdata()
|
| H A D | rockchip_dw_mmc.c | 35 int fifo_depth; member 99 priv->fifo_depth = dev_read_u32_default(dev, "fifo-depth", 0); in rockchip_dwmmc_ofdata_to_platdata() 101 if (priv->fifo_depth < 0) in rockchip_dwmmc_ofdata_to_platdata() 197 priv->fifo_depth = dtplat->fifo_depth; in rockchip_dwmmc_probe() 216 RX_WMARK(priv->fifo_depth / 2 - 1) | in rockchip_dwmmc_probe() 217 TX_WMARK(priv->fifo_depth / 2); in rockchip_dwmmc_probe()
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | ti.c | 97 int fifo_depth; member 193 dp83867->fifo_depth = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in dp83867_of_init() 205 dp83867->fifo_depth = DEFAULT_FIFO_DEPTH; in dp83867_of_init() 239 (dp83867->fifo_depth << DP83867_PHYCR_FIFO_DEPTH_SHIFT)); in dp83867_config() 262 (dp83867->fifo_depth << DP83867_PHYCTRL_RXFIFO_SHIFT) | in dp83867_config() 263 (dp83867->fifo_depth << DP83867_PHYCTRL_TXFIFO_SHIFT)); in dp83867_config()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-exynos5.c | 214 unsigned int fifo_depth; member 219 .fifo_depth = 64, 224 .fifo_depth = 16, 229 .fifo_depth = 16, 487 len = i2c->variant->fifo_depth - fifo_level; in exynos5_i2c_irq() 628 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() 629 (i2c->variant->fifo_depth * 3 / 4) : i2c->msg->len; in exynos5_i2c_message_start() 637 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() 638 (i2c->variant->fifo_depth * 1 / 4) : i2c->msg->len; in exynos5_i2c_message_start()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-sifive.c | 94 unsigned int fifo_depth; /* fifo depth in words */ member 205 return 1600000 * spi->fifo_depth <= t->speed_hz * mode; in sifive_spi_prep_transfer() 265 unsigned int n_words = min(remaining_words, spi->fifo_depth); in sifive_spi_transfer_one() 331 &spi->fifo_depth); in sifive_spi_probe() 333 spi->fifo_depth = SIFIVE_SPI_DEFAULT_DEPTH; in sifive_spi_probe()
|
| H A D | spi-sun6i.c | 95 unsigned long fifo_depth; member 152 cnt = sspi->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); in sun6i_spi_fill_fifo() 218 trig_level = sspi->fifo_depth / 4 * 3; in sun6i_spi_transfer_one() 313 if (rx_len > sspi->fifo_depth) in sun6i_spi_transfer_one() 315 if (tx_len > sspi->fifo_depth) in sun6i_spi_transfer_one() 464 sspi->fifo_depth = (unsigned long)of_device_get_match_data(&pdev->dev); in sun6i_spi_probe()
|
| H A D | spi-omap2-mcspi.c | 128 int fifo_depth; member 332 mcspi->fifo_depth = max_fifo_depth; in omap2_mcspi_set_fifo() 345 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo() 458 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 478 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 527 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma() 653 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 667 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 1226 if (mcspi->fifo_depth > 0) in omap2_mcspi_transfer_one() 1249 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_transfer_one()
|
| /OK3568_Linux_fs/kernel/drivers/parport/ |
| H A D | parport_ip32.c | 254 unsigned int fifo_depth; member 1286 count = priv->fifo_depth; in parport_ip32_fwp_wait_polling() 1353 count = priv->fifo_depth; in parport_ip32_fwp_wait_interrupt() 1563 for (residue = priv->fifo_depth; residue > 0; residue--) { in parport_ip32_get_fifo_residue() 1656 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); in parport_ip32_compat_write_data() 1737 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); in parport_ip32_ecp_write_data() 1887 priv->fifo_depth = 0; in parport_ip32_fifo_supported() 1891 priv->fifo_depth = i; in parport_ip32_fifo_supported() 1900 if (!priv->fifo_depth) { in parport_ip32_fifo_supported() 1904 pr_probe(p, "FIFO is %u PWords deep\n", priv->fifo_depth); in parport_ip32_fifo_supported() [all …]
|
| H A D | parport_pc.c | 474 const int fifo_depth = priv->fifo_depth; in parport_pc_fifo_write_block_pio() local 537 const int n = left < fifo_depth ? left : fifo_depth; in parport_pc_fifo_write_block_pio() 735 expire = jiffies + (priv->fifo_depth * HZ * 4); in parport_pc_compat_write_block_pio() 750 for (written -= priv->fifo_depth; ; written++) { in parport_pc_compat_write_block_pio() 830 expire = jiffies + (priv->fifo_depth * (HZ * 4)); in parport_pc_ecp_write_block_pio() 845 for (written -= priv->fifo_depth; ; written++) { in parport_pc_ecp_write_block_pio() 1588 priv->fifo_depth = i; in parport_ECP_supported() 1595 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() 1602 if (i <= priv->fifo_depth) { in parport_ECP_supported() 1619 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_crtc.c | 214 u32 fifo_len_bytes = pv_data->fifo_depth; in vc4_get_fifo_full_level() 920 .fifo_depth = 64, 934 .fifo_depth = 64, 948 .fifo_depth = 64, 962 .fifo_depth = 64, 976 .fifo_depth = 64, 990 .fifo_depth = 256, 1003 .fifo_depth = 64, 1016 .fifo_depth = 64,
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | fsl_sai.c | 714 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe() 715 sai->soc_data->fifo_depth - FSL_SAI_MAXBURST_TX); in fsl_sai_dai_probe() 717 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe() 982 sai->param.fifo_depth = 1 << in fsl_sai_check_version() 1166 .fifo_depth = 32, 1173 .fifo_depth = 32, 1180 .fifo_depth = 16, 1187 .fifo_depth = 128, 1194 .fifo_depth = 64,
|
| H A D | fsl_sai.h | 222 unsigned int fifo_depth; member 248 u32 fifo_depth; member
|
| H A D | fsl_ssi.c | 259 unsigned int fifo_depth; member 1448 ssi->fifo_depth = be32_to_cpup(iprop); in fsl_ssi_probe_from_dt() 1450 ssi->fifo_depth = 8; in fsl_ssi_probe_from_dt() 1553 switch (ssi->fifo_depth) { in fsl_ssi_probe() 1569 ssi->fifo_watermark = ssi->fifo_depth - 2; in fsl_ssi_probe() 1570 ssi->dma_maxburst = ssi->fifo_depth - 2; in fsl_ssi_probe()
|
| H A D | fsl_micfil.c | 47 unsigned int fifo_depth; member 55 .fifo_depth = 8, 436 val = MICFIL_FIFO_CTRL_FIFOWMK(micfil->soc->fifo_depth) - 1; in fsl_micfil_dai_probe()
|
| /OK3568_Linux_fs/u-boot/doc/driver-model/ |
| H A D | of-plat.txt | 116 fdt32_t fifo_depth; 126 .fifo_depth = 0x100, 204 int fifo_depth; 215 plat->fifo_depth = fdtdec_get_int(blob, node, "fifo-depth", 0); 229 plat->fifo_depth = dtplat->fifo_depth; 232 writel(plat->fifo_depth, ...)
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | zynq_spi.c | 69 u8 fifo_depth; member 132 priv->fifo_depth = ZYNQ_SPI_FIFO_DEPTH; in zynq_spi_probe() 237 while ((tx_tvl < priv->fifo_depth) && tx_len) { in zynq_spi_xfer()
|
| H A D | pic32_spi.c | 62 u32 fifo_depth; /* FIFO depth in bytes */ member 193 priv->fifo_n_word = DIV_ROUND_UP(priv->fifo_depth, wordlen / 8); in pic32_spi_set_word_size() 356 priv->fifo_depth = 16; in pic32_spi_hw_init()
|
| H A D | zynq_qspi.c | 89 u8 fifo_depth; member 165 priv->fifo_depth = ZYNQ_QSPI_FIFO_DEPTH; in zynq_qspi_probe() 439 zynq_qspi_fill_tx_fifo(priv, priv->fifo_depth); in zynq_qspi_start_transfer()
|
| H A D | cadence_qspi.h | 22 u32 fifo_depth; member
|
| /OK3568_Linux_fs/kernel/sound/soc/dwc/ |
| H A D | dwc-i2s.c | 500 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai() local 547 dev->fifo_th = fifo_depth / 2; in dw_configure_dai() 590 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt() local 608 dev->play_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt() 618 dev->capture_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
|
| /OK3568_Linux_fs/kernel/sound/arm/ |
| H A D | aaci.c | 438 runtime->hw.fifo_size = aaci->fifo_depth * 2; in aaci_pcm_open() 528 aacirun->fifo_bytes = aaci->fifo_depth * 4 / 2; in aaci_pcm_hw_params() 1031 aaci->fifo_depth = aaci_size_fifo(aaci); in aaci_probe() 1032 if (aaci->fifo_depth & 15) { in aaci_probe() 1034 aaci->fifo_depth); in aaci_probe() 1046 dev_info(&dev->dev, "FIFO %u entries\n", aaci->fifo_depth); in aaci_probe()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | msm_geni_serial_earlycon.c | 251 int fifo_depth = DEF_FIFO_DEPTH_WORDS; in __msm_geni_serial_console_write() local 265 u32 avail_fifo_bytes = (fifo_depth - tx_wm); in __msm_geni_serial_console_write()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsr/ |
| H A D | st_lsm6dsr_buffer.c | 315 u16 fifo_depth; in st_lsm6dsr_read_fifo() local 326 fifo_depth = le16_to_cpu(fifo_status) & ST_LSM6DSR_REG_FIFO_STATUS_DIFF; in st_lsm6dsr_read_fifo() 327 if (!fifo_depth) in st_lsm6dsr_read_fifo() 330 fifo_len = fifo_depth * ST_LSM6DSR_FIFO_SAMPLE_SIZE; in st_lsm6dsr_read_fifo()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | dw_mmc-pci.c | 31 .fifo_depth = 32,
|
| H A D | dw_mmc.h | 212 int fifo_depth; member 266 unsigned int fifo_depth; member
|