Searched refs:fifo_depth (Results 1 - 20 of 20) sorted by relevance

/linux-4.1.27/arch/arm/mach-omap2/
H A Di2c.h29 * @fifo_depth: total controller FIFO size (in bytes)
32 * @fifo_depth represents what exists on the hardware, not what is
36 u8 fifo_depth; member in struct:omap_i2c_dev_attr
H A Domap_hwmod_2430_data.c79 .fifo_depth = 8, /* bytes */
H A Domap_hwmod_3xxx_data.c801 .fifo_depth = 8, /* bytes */
826 .fifo_depth = 8, /* bytes */
851 .fifo_depth = 64, /* bytes */
/linux-4.1.27/drivers/spi/
H A Dspi-omap2-mcspi.c139 int fifo_depth; member in struct:omap2_mcspi
283 int max_fifo_depth, fifo_depth, bytes_per_word; omap2_mcspi_set_fifo() local
299 fifo_depth = gcd(t->len, max_fifo_depth); omap2_mcspi_set_fifo()
300 if (fifo_depth < 2 || fifo_depth % bytes_per_word != 0) omap2_mcspi_set_fifo()
310 xferlevel |= (fifo_depth - 1) << 8; omap2_mcspi_set_fifo()
314 xferlevel |= fifo_depth - 1; omap2_mcspi_set_fifo()
319 mcspi->fifo_depth = fifo_depth; omap2_mcspi_set_fifo()
332 mcspi->fifo_depth = 0; omap2_mcspi_set_fifo()
444 if (mcspi->fifo_depth == 0) omap2_mcspi_rx_dma()
463 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) omap2_mcspi_rx_dma()
489 if (mcspi->fifo_depth > 0) omap2_mcspi_rx_dma()
574 if (mcspi->fifo_depth > 0) { omap2_mcspi_txrx_dma()
575 if (count > mcspi->fifo_depth) omap2_mcspi_txrx_dma()
576 burst = mcspi->fifo_depth / es; omap2_mcspi_txrx_dma()
603 if (mcspi->fifo_depth > 0) { omap2_mcspi_txrx_dma()
617 if (mcspi->fifo_depth > 0) { omap2_mcspi_txrx_dma()
1178 if (mcspi->fifo_depth > 0) omap2_mcspi_work()
1200 if (mcspi->fifo_depth > 0 && t) omap2_mcspi_work()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-exynos5.c199 * @fifo_depth: the fifo depth supported by the HSI2C module
206 unsigned int fifo_depth; member in struct:exynos_hsi2c_variant
211 .fifo_depth = 64,
215 .fifo_depth = 16,
219 .fifo_depth = 16,
504 len = i2c->variant->fifo_depth - fifo_level; exynos5_i2c_irq()
588 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? exynos5_i2c_message_start()
589 (i2c->variant->fifo_depth * 3 / 4) : i2c->msg->len; exynos5_i2c_message_start()
597 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? exynos5_i2c_message_start()
598 (i2c->variant->fifo_depth * 1 / 4) : i2c->msg->len; exynos5_i2c_message_start()
/linux-4.1.27/drivers/mmc/host/
H A Ddw_mmc-pci.c36 .fifo_depth = 32,
H A Ddw_mmc.c756 tx_wmark = (host->fifo_depth) / 2; dw_mci_adjust_fifoth()
757 tx_wmark_invers = host->fifo_depth - tx_wmark; dw_mci_adjust_fifoth()
790 u32 blksz_depth, fifo_depth; dw_mci_ctrl_rd_thld() local
808 fifo_depth = host->fifo_depth; dw_mci_ctrl_rd_thld()
810 if (blksz_depth > fifo_depth) dw_mci_ctrl_rd_thld()
814 * If (blksz_depth) >= (fifo_depth >> 1), should be 'thld_size <= blksz' dw_mci_ctrl_rd_thld()
815 * If (blksz_depth) < (fifo_depth >> 1), should be thld_size = blksz dw_mci_ctrl_rd_thld()
2113 unsigned int fifo_depth = host->fifo_depth; dw_mci_write_data_pio() local
2126 fcnt = ((fifo_depth - dw_mci_write_data_pio()
2686 if (of_property_read_u32(np, "fifo-depth", &pdata->fifo_depth)) dw_mci_parse_dt()
2873 if (!host->pdata->fifo_depth) { dw_mci_probe()
2883 fifo_size = host->pdata->fifo_depth; dw_mci_probe()
2885 host->fifo_depth = fifo_size; dw_mci_probe()
/linux-4.1.27/sound/arm/
H A Daaci.c441 runtime->hw.fifo_size = aaci->fifo_depth * 2; aaci_pcm_open()
540 aacirun->fifo_bytes = aaci->fifo_depth * 4 / 2; aaci_pcm_hw_params()
1046 aaci->fifo_depth = aaci_size_fifo(aaci); aaci_probe()
1047 if (aaci->fifo_depth & 15) { aaci_probe()
1049 aaci->fifo_depth); aaci_probe()
1061 dev_info(&dev->dev, "FIFO %u entries\n", aaci->fifo_depth); aaci_probe()
H A Daaci.h229 unsigned int fifo_depth; member in struct:aaci
/linux-4.1.27/include/linux/mmc/
H A Ddw_mmc.h90 * @fifo_depth: depth of FIFO.
185 int fifo_depth; member in struct:dw_mci
261 unsigned int fifo_depth; member in struct:dw_mci_board
/linux-4.1.27/drivers/parport/
H A Dparport_ip32.c254 * @fifo_depth: number of PWords that FIFO will hold
267 unsigned int fifo_depth; member in struct:parport_ip32_private
1296 count = priv->fifo_depth; parport_ip32_fwp_wait_polling()
1364 count = priv->fifo_depth; parport_ip32_fwp_wait_interrupt()
1574 for (residue = priv->fifo_depth; residue > 0; residue--) { parport_ip32_get_fifo_residue()
1667 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); parport_ip32_compat_write_data()
1748 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); parport_ip32_ecp_write_data()
1898 priv->fifo_depth = 0; parport_ip32_fifo_supported()
1902 priv->fifo_depth = i; parport_ip32_fifo_supported()
1911 if (!priv->fifo_depth) { parport_ip32_fifo_supported()
1915 pr_probe(p, "FIFO is %u PWords deep\n", priv->fifo_depth); parport_ip32_fifo_supported()
1923 for (i = 0; i < priv->fifo_depth; i++) { parport_ip32_fifo_supported()
1932 if (i + 1 < priv->fifo_depth parport_ip32_fifo_supported()
1963 for (i = 0; i < priv->fifo_depth; i++) { parport_ip32_fifo_supported()
1984 priv->fifo_depth = 0; parport_ip32_fifo_supported()
H A Dparport_pc.c480 const int fifo_depth = priv->fifo_depth; parport_pc_fifo_write_block_pio() local
543 const int n = left < fifo_depth ? left : fifo_depth; parport_pc_fifo_write_block_pio()
741 expire = jiffies + (priv->fifo_depth * HZ * 4); parport_pc_compat_write_block_pio()
756 for (written -= priv->fifo_depth; ; written++) { parport_pc_compat_write_block_pio()
837 expire = jiffies + (priv->fifo_depth * (HZ * 4)); parport_pc_ecp_write_block_pio()
852 for (written -= priv->fifo_depth; ; written++) { parport_pc_ecp_write_block_pio()
1605 priv->fifo_depth = i; parport_ECP_supported()
1612 for (i = 1; i <= priv->fifo_depth; i++) { parport_ECP_supported()
1619 if (i <= priv->fifo_depth) { parport_ECP_supported()
1636 for (i = 1; i <= priv->fifo_depth; i++) { parport_ECP_supported()
1642 if (i <= priv->fifo_depth) { parport_ECP_supported()
2076 priv->fifo_depth = 0; parport_pc_probe_port()
2137 priv->fifo_depth > 0 && p->irq != PARPORT_IRQ_NONE) { parport_pc_probe_port()
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_esai.c38 * @fifo_depth: depth of tx/rx FIFO
57 u32 fifo_depth; member in struct:fsl_esai
540 val = ESAI_xFCR_xWA(width) | ESAI_xFCR_xFWM(esai_priv->fifo_depth) | fsl_esai_hw_params()
797 esai_priv->fifo_depth = be32_to_cpup(iprop); fsl_esai_probe()
799 esai_priv->fifo_depth = 64; fsl_esai_probe()
H A Dfsl_ssi.c171 unsigned int fifo_depth; member in struct:fsl_ssi_private
931 wm = ssi_private->fifo_depth - 2; _fsl_ssi_set_dai_fmt()
933 wm = ssi_private->fifo_depth; _fsl_ssi_set_dai_fmt()
1222 * We have burstsize be "fifo_depth - 2" to match the SSI fsl_ssi_imx_probe()
1225 ssi_private->dma_params_tx.maxburst = ssi_private->fifo_depth - 2; fsl_ssi_imx_probe()
1226 ssi_private->dma_params_rx.maxburst = ssi_private->fifo_depth - 2; fsl_ssi_imx_probe()
1375 ssi_private->fifo_depth = be32_to_cpup(iprop); fsl_ssi_probe()
1378 ssi_private->fifo_depth = 8; fsl_ssi_probe()
/linux-4.1.27/sound/soc/dwc/
H A Ddesignware_i2s.c486 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); dw_configure_dai_by_dt() local
505 dev->play_dma_data.dt.fifo_size = fifo_depth * dw_configure_dai_by_dt()
516 dev->capture_dma_data.dt.fifo_size = fifo_depth * dw_configure_dai_by_dt()
/linux-4.1.27/include/linux/
H A Dparport_pc.h29 int fifo_depth; member in struct:parport_pc_private
/linux-4.1.27/drivers/video/fbdev/aty/
H A Daty128fb.c423 u32 fifo_depth; member in struct:aty128_constants
1013 par->constants.fifo_depth = 32; aty128_timings()
1451 u32 fifo_depth = par->constants.fifo_depth; aty128_ddafifo() local
1483 roff = x * (fifo_depth - 4); aty128_ddafifo()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Damd5536udc.c1426 dev->ep[UDC_EPIN_STATUS_IX].fifo_depth = UDC_EPIN_SMALLINT_BUFF_SIZE; make_ep_lists()
1428 dev->ep[UDC_EPIN_IX].fifo_depth = UDC_FS_EPIN_BUFF_SIZE; make_ep_lists()
1430 dev->ep[UDC_EPIN_IX].fifo_depth = hs_tx_buf; make_ep_lists()
1431 dev->ep[UDC_EPOUT_IX].fifo_depth = UDC_RXFIFO_SIZE; make_ep_lists()
1527 ep->fifo_depth = UDC_TXFIFO_SIZE; udc_setup_endpoints()
1530 ep->fifo_depth = UDC_RXFIFO_SIZE; udc_setup_endpoints()
H A Damd5536udc.h517 fifo_depth : 14, member in struct:udc_ep
/linux-4.1.27/drivers/block/
H A Dfloppy.c1220 static int fifo_depth = 0xa; variable
1230 output_byte(0x10 | (no_fifo & 0x20) | (fifo_depth & 0xf)); fdc_configure()
4050 {"fifo_depth", NULL, &fifo_depth, 0xa, 0},

Completed in 1879 milliseconds