Home
last modified time | relevance | path

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

12

/linux/drivers/i2c/busses/
A Di2c-exynos5.c214 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()
/linux/drivers/spi/
A Dspi-sun6i.c102 unsigned long fifo_depth; member
159 cnt = sspi->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi); in sun6i_spi_fill_fifo()
292 trig_level = sspi->fifo_depth / 4 * 3; in sun6i_spi_transfer_one()
299 trig_level = sspi->fifo_depth / 2; in sun6i_spi_transfer_one()
413 if (rx_len > sspi->fifo_depth) in sun6i_spi_transfer_one()
415 if (tx_len > sspi->fifo_depth) in sun6i_spi_transfer_one()
546 return xfer->len > sspi->fifo_depth; in sun6i_spi_can_dma()
585 sspi->fifo_depth = (unsigned long)of_device_get_match_data(&pdev->dev); in sun6i_spi_probe()
A Dspi-sifive.c94 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()
A Dspi-omap2-mcspi.c128 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()
A Dspi-cadence-quadspi.c80 u32 fifo_depth; member
1495 if (of_property_read_u32(np, "cdns,fifo-depth", &cqspi->fifo_depth)) { in cqspi_of_get_pdata()
1536 writel(cqspi->fifo_depth / 2, cqspi->iobase + CQSPI_REG_SRAMPARTITION); in cqspi_controller_init()
1543 writel(cqspi->fifo_depth * cqspi->fifo_width / 2, in cqspi_controller_init()
1546 writel(cqspi->fifo_depth * cqspi->fifo_width / 8, in cqspi_controller_init()
/linux/drivers/parport/
A Dparport_ip32.c254 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()
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()
1912 for (i = 0; i < priv->fifo_depth; i++) { in parport_ip32_fifo_supported()
1921 if (i + 1 < priv->fifo_depth in parport_ip32_fifo_supported()
1952 for (i = 0; i < priv->fifo_depth; i++) { in parport_ip32_fifo_supported()
[all …]
A Dparport_pc.c474 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()
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()
1625 if (i <= priv->fifo_depth) { in parport_ECP_supported()
[all …]
/linux/drivers/gpu/drm/vc4/
A Dvc4_crtc.c214 u32 fifo_len_bytes = pv_data->fifo_depth; in vc4_get_fifo_full_level()
952 .fifo_depth = 64,
966 .fifo_depth = 64,
980 .fifo_depth = 64,
994 .fifo_depth = 64,
1008 .fifo_depth = 64,
1022 .fifo_depth = 256,
1035 .fifo_depth = 64,
1048 .fifo_depth = 64,
A Dvc4_drv.h472 unsigned int fifo_depth; member
/linux/sound/soc/fsl/
A Dfsl_sai.c722 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe()
723 sai->soc_data->fifo_depth - FSL_SAI_MAXBURST_TX); in fsl_sai_dai_probe()
725 FSL_SAI_CR1_RFW_MASK(sai->soc_data->fifo_depth), in fsl_sai_dai_probe()
988 sai->param.fifo_depth = 1 << in fsl_sai_check_version()
1197 .fifo_depth = 32,
1206 .fifo_depth = 32,
1215 .fifo_depth = 16,
1224 .fifo_depth = 128,
1233 .fifo_depth = 64,
A Dfsl_sai.h225 unsigned int fifo_depth; member
252 u32 fifo_depth; member
A Dfsl_ssi.c259 unsigned int fifo_depth; member
1440 ssi->fifo_depth = be32_to_cpup(iprop); in fsl_ssi_probe_from_dt()
1442 ssi->fifo_depth = 8; in fsl_ssi_probe_from_dt()
1545 switch (ssi->fifo_depth) { in fsl_ssi_probe()
1561 ssi->fifo_watermark = ssi->fifo_depth - 2; in fsl_ssi_probe()
1562 ssi->dma_maxburst = ssi->fifo_depth - 2; in fsl_ssi_probe()
A Dfsl_micfil.c48 unsigned int fifo_depth; member
56 .fifo_depth = 8,
418 val = MICFIL_FIFO_CTRL_FIFOWMK(micfil->soc->fifo_depth) - 1; in fsl_micfil_dai_probe()
A Dfsl_esai.c71 u32 fifo_depth; member
576 val = ESAI_xFCR_xWA(width) | ESAI_xFCR_xFWM(esai_priv->fifo_depth) | in fsl_esai_hw_params()
1025 esai_priv->fifo_depth = be32_to_cpup(iprop); in fsl_esai_probe()
1027 esai_priv->fifo_depth = 64; in fsl_esai_probe()
/linux/sound/soc/dwc/
A Ddwc-i2s.c493 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai() local
540 dev->fifo_th = fifo_depth / 2; in dw_configure_dai()
583 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt() local
601 dev->play_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
611 dev->capture_dma_data.dt.fifo_size = fifo_depth * in dw_configure_dai_by_dt()
/linux/sound/arm/
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()
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()
A Daaci.h226 unsigned int fifo_depth; member
/linux/drivers/mmc/host/
A Ddw_mmc-pci.c31 .fifo_depth = 32,
A Ddw_mmc.c1003 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()
2618 unsigned int fifo_depth = host->fifo_depth; in dw_mci_write_data_pio() local
2631 fcnt = ((fifo_depth - in dw_mci_write_data_pio()
3176 if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) in dw_mci_parse_dt()
3351 if (!host->pdata->fifo_depth) { in dw_mci_probe()
3361 fifo_size = host->pdata->fifo_depth; in dw_mci_probe()
[all …]
A Ddw_mmc.h214 int fifo_depth; member
267 unsigned int fifo_depth; member
/linux/include/linux/
A Dparport_pc.h30 int fifo_depth; member
/linux/drivers/video/fbdev/aty/
A Daty128fb.c409 u32 fifo_depth; member
992 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/usb/gadget/udc/
A Damd5536udc.h524 fifo_depth : 14, member
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/usb/dwc3/
A Dgadget.c690 int fifo_depth; in dwc3_gadget_clear_tx_fifos() local
701 fifo_depth = DWC3_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos()
703 fifo_depth = DWC31_GTXFIFOSIZ_TXFDEP(size); in dwc3_gadget_clear_tx_fifos()
705 dwc->last_fifo_depth = fifo_depth; in dwc3_gadget_clear_tx_fifos()

Completed in 105 milliseconds

12