Lines Matching refs:fifo_depth
140 int fifo_depth; member
304 int max_fifo_depth, fifo_depth, bytes_per_word; in omap2_mcspi_set_fifo() local
320 fifo_depth = gcd(t->len, max_fifo_depth); in omap2_mcspi_set_fifo()
321 if (fifo_depth < 2 || fifo_depth % bytes_per_word != 0) in omap2_mcspi_set_fifo()
331 xferlevel |= (fifo_depth - 1) << 8; in omap2_mcspi_set_fifo()
335 xferlevel |= fifo_depth - 1; in omap2_mcspi_set_fifo()
340 mcspi->fifo_depth = fifo_depth; in omap2_mcspi_set_fifo()
353 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo()
465 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
484 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
510 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma()
595 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
596 if (count > mcspi->fifo_depth) in omap2_mcspi_txrx_dma()
597 burst = mcspi->fifo_depth / es; in omap2_mcspi_txrx_dma()
624 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
638 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
1192 if (mcspi->fifo_depth > 0) in omap2_mcspi_work_one()
1215 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_work_one()