Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-omap2-mcspi.c144 int fifo_depth; member
288 int max_fifo_depth, fifo_depth, bytes_per_word; in omap2_mcspi_set_fifo() local
304 fifo_depth = gcd(t->len, max_fifo_depth); in omap2_mcspi_set_fifo()
305 if (fifo_depth < 2 || fifo_depth % bytes_per_word != 0) in omap2_mcspi_set_fifo()
315 xferlevel |= (fifo_depth - 1) << 8; in omap2_mcspi_set_fifo()
319 xferlevel |= fifo_depth - 1; in omap2_mcspi_set_fifo()
324 mcspi->fifo_depth = fifo_depth; in omap2_mcspi_set_fifo()
337 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo()
449 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
468 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
[all …]
/drivers/i2c/busses/
Di2c-exynos5.c206 unsigned int fifo_depth; member
211 .fifo_depth = 64,
215 .fifo_depth = 16,
219 .fifo_depth = 16,
504 len = i2c->variant->fifo_depth - fifo_level; in exynos5_i2c_irq()
588 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start()
589 (i2c->variant->fifo_depth * 3 / 4) : i2c->msg->len; in exynos5_i2c_message_start()
597 trig_lvl = (i2c->msg->len > i2c->variant->fifo_depth) ? in exynos5_i2c_message_start()
598 (i2c->variant->fifo_depth * 1 / 4) : i2c->msg->len; in exynos5_i2c_message_start()
/drivers/parport/
Dparport_ip32.c267 unsigned int fifo_depth; member
1296 count = priv->fifo_depth; in parport_ip32_fwp_wait_polling()
1364 count = priv->fifo_depth; in parport_ip32_fwp_wait_interrupt()
1574 for (residue = priv->fifo_depth; residue > 0; residue--) { in parport_ip32_get_fifo_residue()
1667 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); in parport_ip32_compat_write_data()
1748 parport_ip32_drain_fifo(p, physport->cad->timeout * priv->fifo_depth); in parport_ip32_ecp_write_data()
1898 priv->fifo_depth = 0; in parport_ip32_fifo_supported()
1902 priv->fifo_depth = i; in parport_ip32_fifo_supported()
1911 if (!priv->fifo_depth) { in parport_ip32_fifo_supported()
1915 pr_probe(p, "FIFO is %u PWords deep\n", priv->fifo_depth); in parport_ip32_fifo_supported()
[all …]
Dparport_pc.c480 const int fifo_depth = priv->fifo_depth; in parport_pc_fifo_write_block_pio() local
543 const int n = left < fifo_depth ? left : fifo_depth; in parport_pc_fifo_write_block_pio()
741 expire = jiffies + (priv->fifo_depth * HZ * 4); in parport_pc_compat_write_block_pio()
756 for (written -= priv->fifo_depth; ; written++) { in parport_pc_compat_write_block_pio()
837 expire = jiffies + (priv->fifo_depth * (HZ * 4)); in parport_pc_ecp_write_block_pio()
852 for (written -= priv->fifo_depth; ; written++) { in parport_pc_ecp_write_block_pio()
1605 priv->fifo_depth = i; in parport_ECP_supported()
1612 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported()
1619 if (i <= priv->fifo_depth) { in parport_ECP_supported()
1636 for (i = 1; i <= priv->fifo_depth; i++) { in parport_ECP_supported()
[all …]
/drivers/mmc/host/
Ddw_mmc.c590 tx_wmark = (host->fifo_depth) / 2; in dw_mci_adjust_fifoth()
591 tx_wmark_invers = host->fifo_depth - tx_wmark; in dw_mci_adjust_fifoth()
624 u32 blksz_depth, fifo_depth; in dw_mci_ctrl_rd_thld() local
641 fifo_depth = host->fifo_depth; in dw_mci_ctrl_rd_thld()
643 if (blksz_depth > fifo_depth) in dw_mci_ctrl_rd_thld()
1908 unsigned int fifo_depth = host->fifo_depth; in dw_mci_write_data_pio() local
1921 fcnt = ((fifo_depth - in dw_mci_write_data_pio()
2493 if (of_property_read_u32(np, "fifo-depth", &pdata->fifo_depth)) in dw_mci_parse_dt()
2648 if (!host->pdata->fifo_depth) { in dw_mci_probe()
2658 fifo_size = host->pdata->fifo_depth; in dw_mci_probe()
[all …]
Ddw_mmc-pci.c36 .fifo_depth = 32,
/drivers/usb/gadget/udc/
Damd5536udc.h517 fifo_depth : 14, member
Damd5536udc.c1427 dev->ep[UDC_EPIN_STATUS_IX].fifo_depth = UDC_EPIN_SMALLINT_BUFF_SIZE; in make_ep_lists()
1429 dev->ep[UDC_EPIN_IX].fifo_depth = UDC_FS_EPIN_BUFF_SIZE; in make_ep_lists()
1431 dev->ep[UDC_EPIN_IX].fifo_depth = hs_tx_buf; in make_ep_lists()
1432 dev->ep[UDC_EPOUT_IX].fifo_depth = UDC_RXFIFO_SIZE; in make_ep_lists()
1528 ep->fifo_depth = UDC_TXFIFO_SIZE; in udc_setup_endpoints()
1531 ep->fifo_depth = UDC_RXFIFO_SIZE; in udc_setup_endpoints()
/drivers/video/fbdev/aty/
Daty128fb.c423 u32 fifo_depth; member
1013 par->constants.fifo_depth = 32; in aty128_timings()
1451 u32 fifo_depth = par->constants.fifo_depth; in aty128_ddafifo() local
1483 roff = x * (fifo_depth - 4); in aty128_ddafifo()
/drivers/block/
Dfloppy.c1220 static int fifo_depth = 0xa; variable
1230 output_byte(0x10 | (no_fifo & 0x20) | (fifo_depth & 0xf)); in fdc_configure()
4050 {"fifo_depth", NULL, &fifo_depth, 0xa, 0},