/linux-6.6.21/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ram.c | 17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp() 38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two() 47 config->fifo_depth); in can_ram_rounddown_pow_of_two() 110 max = min_t(u8, num_rx / 2, config->fifo_depth); in can_ram_get_layout() 133 max = min_t(u8, num_tx / 2, config->fifo_depth); in can_ram_get_layout()
|
D | mcp251xfd-ram.h | 39 u8 fifo_depth; member
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-cadence.c | 220 u32 fifo_depth; member 247 (id->curr_recv_count == id->fifo_depth + 1)); in cdns_is_holdquirk() 442 if (id->recv_count <= id->fifo_depth && in cdns_i2c_master_isr() 467 (id->curr_recv_count - id->fifo_depth)) in cdns_i2c_master_isr() 474 if (((int)(id->recv_count) - id->fifo_depth) > in cdns_i2c_master_isr() 479 id->fifo_depth; in cdns_i2c_master_isr() 482 id->fifo_depth, in cdns_i2c_master_isr() 505 avail_bytes = id->fifo_depth - in cdns_i2c_master_isr() 599 if (id->recv_count > id->fifo_depth) in cdns_i2c_mrecv() 623 if (!id->bus_hold_flag && id->recv_count <= id->fifo_depth) { in cdns_i2c_mrecv() [all …]
|
D | i2c-exynos5.c | 214 unsigned int fifo_depth; member 219 .fifo_depth = 64, 224 .fifo_depth = 16, 229 .fifo_depth = 16, 234 .fifo_depth = 64, 530 len = i2c->variant->fifo_depth - fifo_level; in exynos5_i2c_irq() 671 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() 672 (i2c->variant->fifo_depth * 3 / 4) : i2c->msg->len; in exynos5_i2c_message_start() 680 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start() 681 (i2c->variant->fifo_depth * 1 / 4) : i2c->msg->len; in exynos5_i2c_message_start()
|
/linux-6.6.21/drivers/spi/ |
D | spi-sun6i.c | 94 unsigned long fifo_depth; member 171 cnt = sspi->cfg->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); in sun6i_spi_fill_fifo() 314 trig_level = sspi->cfg->fifo_depth / 4 * 3; in sun6i_spi_transfer_one() 321 trig_level = sspi->cfg->fifo_depth / 2; in sun6i_spi_transfer_one() 477 if (rx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one() 479 if (tx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one() 625 return xfer->len > sspi->cfg->fifo_depth; in sun6i_spi_can_dma() 780 .fifo_depth = SUN6I_FIFO_DEPTH, 785 .fifo_depth = SUN8I_FIFO_DEPTH, 790 .fifo_depth = SUN8I_FIFO_DEPTH,
|
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()
|
D | spi-omap2-mcspi.c | 129 int fifo_depth; member 333 mcspi->fifo_depth = max_fifo_depth; in omap2_mcspi_set_fifo() 346 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo() 459 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 479 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma() 528 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma() 654 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 668 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma() 1233 if (mcspi->fifo_depth > 0) in omap2_mcspi_transfer_one() 1256 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_transfer_one()
|
D | spi-cadence-quadspi.c | 87 u32 fifo_depth; member 1496 if (of_property_read_u32(np, "cdns,fifo-depth", &cqspi->fifo_depth)) { in cqspi_of_get_pdata() 1537 writel(cqspi->fifo_depth / 2, cqspi->iobase + CQSPI_REG_SRAMPARTITION); in cqspi_controller_init() 1544 writel(cqspi->fifo_depth * cqspi->fifo_width / 2, in cqspi_controller_init() 1547 writel(cqspi->fifo_depth * cqspi->fifo_width / 8, in cqspi_controller_init()
|
/linux-6.6.21/sound/soc/fsl/ |
D | fsl_sai.c | 659 watermark = tx ? (sai->soc_data->fifo_depth - dma_params->maxburst) : in fsl_sai_hw_params() 662 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_hw_params() 894 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe() 895 sai->soc_data->fifo_depth - sai->dma_params_tx.maxburst); in fsl_sai_dai_probe() 897 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe() 1189 sai->param.fifo_depth = 1 << in fsl_sai_check_version() 1534 .fifo_depth = 32, 1545 .fifo_depth = 32, 1556 .fifo_depth = 16, 1567 .fifo_depth = 128, [all …]
|
D | fsl_sai.h | 236 unsigned int fifo_depth; member 264 u32 fifo_depth; member
|
D | fsl_ssi.c | 263 unsigned int fifo_depth; member 1468 ssi->fifo_depth = be32_to_cpup(iprop); in fsl_ssi_probe_from_dt() 1470 ssi->fifo_depth = 8; in fsl_ssi_probe_from_dt() 1575 switch (ssi->fifo_depth) { in fsl_ssi_probe() 1591 ssi->fifo_watermark = ssi->fifo_depth - 2; in fsl_ssi_probe() 1592 ssi->dma_maxburst = ssi->fifo_depth - 2; in fsl_ssi_probe()
|
D | fsl_micfil.c | 65 unsigned int fifo_depth; member 76 .fifo_depth = 8, 84 .fifo_depth = 32, 92 .fifo_depth = 32, 797 FIELD_PREP(MICFIL_FIFO_CTRL_FIFOWMK, micfil->soc->fifo_depth - 1)); in fsl_micfil_dai_probe()
|
D | fsl_esai.c | 71 u32 fifo_depth; member 576 val = ESAI_xFCR_xWA(width) | ESAI_xFCR_xFWM(esai_priv->fifo_depth) | in fsl_esai_hw_params() 1026 esai_priv->fifo_depth = be32_to_cpup(iprop); in fsl_esai_probe() 1028 esai_priv->fifo_depth = 64; in fsl_esai_probe()
|
/linux-6.6.21/drivers/parport/ |
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 …]
|
D | parport_pc.c | 493 const int fifo_depth = priv->fifo_depth; in parport_pc_fifo_write_block_pio() local 556 const int n = left < fifo_depth ? left : fifo_depth; in parport_pc_fifo_write_block_pio() 754 expire = jiffies + (priv->fifo_depth * HZ * 4); in parport_pc_compat_write_block_pio() 769 for (written -= priv->fifo_depth; ; written++) { in parport_pc_compat_write_block_pio() 849 expire = jiffies + (priv->fifo_depth * (HZ * 4)); in parport_pc_ecp_write_block_pio() 864 for (written -= priv->fifo_depth; ; written++) { in parport_pc_ecp_write_block_pio() 1610 priv->fifo_depth = i; in parport_ECP_supported() 1617 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() 1624 if (i <= priv->fifo_depth) { in parport_ECP_supported() 1641 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported() [all …]
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 225 u32 fifo_len_bytes = pv_data->fifo_depth; in vc4_get_fifo_full_level() 1150 .fifo_depth = 64, 1165 .fifo_depth = 64, 1180 .fifo_depth = 64, 1195 .fifo_depth = 64, 1210 .fifo_depth = 64, 1225 .fifo_depth = 256, 1239 .fifo_depth = 64, 1253 .fifo_depth = 64,
|
/linux-6.6.21/sound/arm/ |
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()
|
D | aaci.h | 226 unsigned int fifo_depth; member
|
/linux-6.6.21/drivers/mmc/host/ |
D | dw_mmc-pci.c | 31 .fifo_depth = 32,
|
D | dw_mmc.h | 217 int fifo_depth; member 271 unsigned int fifo_depth; member
|
D | dw_mmc.c | 1003 tx_wmark = (host->fifo_depth) / 2; in dw_mci_adjust_fifoth() 1004 tx_wmark_invers = host->fifo_depth - tx_wmark; in dw_mci_adjust_fifoth() 1033 u32 blksz_depth, fifo_depth; in dw_mci_ctrl_thld() local 1064 fifo_depth = host->fifo_depth; in dw_mci_ctrl_thld() 1066 if (blksz_depth > fifo_depth) in dw_mci_ctrl_thld() 2655 unsigned int fifo_depth = host->fifo_depth; in dw_mci_write_data_pio() local 2668 fcnt = ((fifo_depth - in dw_mci_write_data_pio() 3229 if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) in dw_mci_parse_dt() 3404 if (!host->pdata->fifo_depth) { in dw_mci_probe() 3414 fifo_size = host->pdata->fifo_depth; in dw_mci_probe() [all …]
|
/linux-6.6.21/sound/soc/dwc/ |
D | dwc-i2s.c | 589 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai() local 636 dev->fifo_th = fifo_depth / 2; in dw_configure_dai() 701 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt() local 714 dev->play_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt() 723 dev->capture_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
|
/linux-6.6.21/include/linux/ |
D | parport_pc.h | 33 int fifo_depth; member
|
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | amd5536udc.h | 524 fifo_depth : 14, member
|
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | aty128fb.c | 409 u32 fifo_depth; member 990 par->constants.fifo_depth = 32; in aty128_timings() 1430 u32 fifo_depth = par->constants.fifo_depth; in aty128_ddafifo() local 1462 roff = x * (fifo_depth - 4); in aty128_ddafifo()
|