Home
last modified time | relevance | path

Searched refs:fifo_depth (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ram.c17 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()
119 max = min_t(u8, num_rx / 2, config->fifo_depth); in can_ram_get_layout()
142 max = min_t(u8, num_tx / 2, config->fifo_depth); in can_ram_get_layout()
H A Dmcp251xfd-ram.h39 u8 fifo_depth; member
H A Dmcp251xfd-ring.c467 .fifo_depth = MCP251XFD_FIFO_DEPTH,
/linux/drivers/i2c/busses/
H A Di2c-cadence.c191 * @fifo_depth: The depth of the transfer FIFO
223 u32 fifo_depth; member
312 (id->curr_recv_count == id->fifo_depth + 1)); in cdns_is_holdquirk()
507 if (id->recv_count <= id->fifo_depth && in cdns_i2c_master_isr()
532 (id->curr_recv_count - id->fifo_depth)) in cdns_i2c_master_isr()
539 if (((int)(id->recv_count) - id->fifo_depth) > in cdns_i2c_master_isr()
544 id->fifo_depth; in cdns_i2c_master_isr()
547 id->fifo_depth, in cdns_i2c_master_isr()
570 avail_bytes = id->fifo_depth - in cdns_i2c_master_isr()
666 if (id->recv_count <= id->fifo_depth in cdns_i2c_mrecv_atomic()
[all...]
H A Di2c-exynos5.c212 * @fifo_depth: the fifo depth supported by the HSI2C module
220 unsigned int fifo_depth; member
225 .fifo_depth = 64,
230 .fifo_depth = 16,
235 .fifo_depth = 16,
240 .fifo_depth = 64,
245 .fifo_depth = 64,
590 len = i2c->variant->fifo_depth - fifo_level; in exynos5_i2c_irq()
731 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start()
732 (i2c->variant->fifo_depth * in exynos5_i2c_message_start()
[all...]
/linux/drivers/spi/
H A Dspi-sun6i.c94 unsigned long fifo_depth; member
171 cnt = sspi->cfg->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); in sun6i_spi_fill_fifo()
315 trig_level = sspi->cfg->fifo_depth / 4 * 3; in sun6i_spi_transfer_one()
322 trig_level = sspi->cfg->fifo_depth / 2; in sun6i_spi_transfer_one()
478 if (rx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one()
480 if (tx_len > sspi->cfg->fifo_depth) in sun6i_spi_transfer_one()
626 return xfer->len > sspi->cfg->fifo_depth; in sun6i_spi_can_dma()
781 .fifo_depth = SUN6I_FIFO_DEPTH,
786 .fifo_depth = SUN8I_FIFO_DEPTH,
791 .fifo_depth
[all...]
H A Dspi-sifive.c94 unsigned int fifo_depth; /* fifo depth in words */ member
202 * (8/mode) * fifo_depth / hz <= 5 * 10^-6 in sifive_spi_prep_transfer()
203 * 1600000 * fifo_depth <= hz * mode in sifive_spi_prep_transfer()
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 Dspi-s3c64xx.c142 * @fifo_depth: depth of the FIFOs. Used by compatibles where all the instances
167 unsigned int fifo_depth; member
200 * @fifo_depth: depth of the FIFO.
224 unsigned int fifo_depth; member
435 return xfer->len >= sdd->fifo_depth; in s3c64xx_spi_can_dma()
559 u32 max_fifo = sdd->fifo_depth; in s3c64xx_spi_wait_for_timeout()
666 loops = xfer->len / sdd->fifo_depth; in s3c64xx_wait_for_pio()
803 const unsigned int fifo_len = sdd->fifo_depth; in s3c64xx_spi_transfer_one()
1286 if (sdd->port_conf->fifo_depth) in s3c64xx_spi_probe()
1287 sdd->fifo_depth in s3c64xx_spi_probe()
[all...]
/linux/sound/soc/fsl/
H A Dfsl_sai.c703 watermark = tx ? (sai->soc_data->fifo_depth - dma_params->maxburst) : in fsl_sai_hw_params()
706 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_hw_params()
940 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe()
941 sai->soc_data->fifo_depth - sai->dma_params_tx.maxburst); in fsl_sai_dai_probe()
943 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe()
1290 sai->param.fifo_depth = 1 << in fsl_sai_check_version()
1640 .fifo_depth = 32,
1651 .fifo_depth = 32,
1662 .fifo_depth = 16,
1673 .fifo_depth = 128,
[all …]
H A Dfsl_micfil.c87 unsigned int fifo_depth; member
100 .fifo_depth = 8,
110 .fifo_depth = 32,
120 .fifo_depth = 32,
132 .fifo_depth = 32,
918 FIELD_PREP(MICFIL_FIFO_CTRL_FIFOWMK, micfil->soc->fifo_depth - 1)); in fsl_micfil_dai_probe()
H A Dfsl_esai.c45 * @fifo_depth: depth of tx/rx FIFO
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/drivers/parport/
H A Dparport_ip32.c241 * @fifo_depth: number of PWords that FIFO will hold
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()
[all...]
H A Dparport_pc.c493 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; in parport_ECP_supported()
[all...]
/linux/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c248 u32 fifo_len_bytes = pv_data->fifo_depth; in vc4_get_fifo_full_level()
1199 .fifo_depth = 64,
1214 .fifo_depth = 64,
1229 .fifo_depth = 64,
1244 .fifo_depth = 64,
1259 .fifo_depth = 64,
1274 .fifo_depth = 256,
1288 .fifo_depth = 64,
1302 .fifo_depth = 64,
1315 .fifo_depth
[all...]
/linux/sound/arm/
H A Daaci.c438 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()
1024 aaci->fifo_depth = aaci_size_fifo(aaci); in aaci_probe()
1025 if (aaci->fifo_depth & 15) { in aaci_probe()
1027 aaci->fifo_depth); in aaci_probe()
1039 dev_info(&dev->dev, "FIFO %u entries\n", aaci->fifo_depth); in aaci_probe()
H A Daaci.h226 unsigned int fifo_depth; member
/linux/drivers/mmc/host/
H A Ddw_mmc-pci.c31 .fifo_depth = 32,
H A Ddw_mmc.h113 * @fifo_depth: depth of FIFO.
218 int fifo_depth; member
272 unsigned int fifo_depth; member
H A Ddw_mmc.c1002 tx_wmark = (host->fifo_depth) / 2; in dw_mci_adjust_fifoth()
1003 tx_wmark_invers = host->fifo_depth - tx_wmark; in dw_mci_adjust_fifoth()
1032 u32 blksz_depth, fifo_depth; in dw_mci_ctrl_thld() local
1063 fifo_depth = host->fifo_depth; in dw_mci_ctrl_thld()
1065 if (blksz_depth > fifo_depth) in dw_mci_ctrl_thld()
1069 * If (blksz_depth) >= (fifo_depth >> 1), should be 'thld_size <= blksz' in dw_mci_ctrl_thld()
1070 * If (blksz_depth) < (fifo_depth >> 1), should be thld_size = blksz in dw_mci_ctrl_thld()
2744 unsigned int fifo_depth = host->fifo_depth; in dw_mci_write_data_pio() local
[all...]
/linux/sound/soc/dwc/
H A Ddwc-i2s.c588 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai() local
635 dev->fifo_th = fifo_depth / 2; in dw_configure_dai()
700 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt() local
713 dev->play_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
722 dev->capture_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
/linux/include/linux/
H A Dparport_pc.h33 int fifo_depth; member
/linux/drivers/usb/gadget/udc/
H A Damd5536udc.h524 fifo_depth : 14, member
H A Dsnps_udc_core.c1446 dev->ep[UDC_EPIN_STATUS_IX].fifo_depth = UDC_EPIN_SMALLINT_BUFF_SIZE; in make_ep_lists()
1448 dev->ep[UDC_EPIN_IX].fifo_depth = UDC_FS_EPIN_BUFF_SIZE; in make_ep_lists()
1450 dev->ep[UDC_EPIN_IX].fifo_depth = hs_tx_buf; in make_ep_lists()
1451 dev->ep[UDC_EPOUT_IX].fifo_depth = UDC_RXFIFO_SIZE; in make_ep_lists()
1549 ep->fifo_depth = UDC_TXFIFO_SIZE; in udc_setup_endpoints()
1552 ep->fifo_depth = UDC_RXFIFO_SIZE; in udc_setup_endpoints()
/linux/drivers/video/fbdev/aty/
H A Daty128fb.c409 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()
/linux/drivers/gpu/drm/sprd/
H A Dsprd_dsi.c584 const u32 fifo_depth = 1096; in sprd_dsi_edpi_video() local
593 max_fifo_len = word_length * fifo_depth * 100 / bpp_x100; in sprd_dsi_edpi_video()

12