Lines Matching refs:fifo_depth
139 int fifo_depth; member
283 int max_fifo_depth, fifo_depth, bytes_per_word; in omap2_mcspi_set_fifo() local
299 fifo_depth = gcd(t->len, max_fifo_depth); in omap2_mcspi_set_fifo()
300 if (fifo_depth < 2 || fifo_depth % bytes_per_word != 0) in omap2_mcspi_set_fifo()
310 xferlevel |= (fifo_depth - 1) << 8; in omap2_mcspi_set_fifo()
314 xferlevel |= fifo_depth - 1; in omap2_mcspi_set_fifo()
319 mcspi->fifo_depth = fifo_depth; in omap2_mcspi_set_fifo()
332 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo()
444 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
463 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
489 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma()
574 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
575 if (count > mcspi->fifo_depth) in omap2_mcspi_txrx_dma()
576 burst = mcspi->fifo_depth / es; in omap2_mcspi_txrx_dma()
603 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
617 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
1178 if (mcspi->fifo_depth > 0) in omap2_mcspi_work()
1200 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_work()