Lines Matching refs:fifo_depth
137 int fifo_depth; member
302 int max_fifo_depth, fifo_depth, bytes_per_word; in omap2_mcspi_set_fifo() local
318 fifo_depth = gcd(t->len, max_fifo_depth); in omap2_mcspi_set_fifo()
319 if (fifo_depth < 2 || fifo_depth % bytes_per_word != 0) in omap2_mcspi_set_fifo()
329 xferlevel |= (fifo_depth - 1) << 8; in omap2_mcspi_set_fifo()
333 xferlevel |= fifo_depth - 1; in omap2_mcspi_set_fifo()
338 mcspi->fifo_depth = fifo_depth; in omap2_mcspi_set_fifo()
351 mcspi->fifo_depth = 0; in omap2_mcspi_set_fifo()
453 if (mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
475 if ((l & OMAP2_MCSPI_CHCONF_TURBO) && mcspi->fifo_depth == 0) in omap2_mcspi_rx_dma()
525 if (mcspi->fifo_depth > 0) in omap2_mcspi_rx_dma()
610 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
611 if (count > mcspi->fifo_depth) in omap2_mcspi_txrx_dma()
612 burst = mcspi->fifo_depth / es; in omap2_mcspi_txrx_dma()
637 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
651 if (mcspi->fifo_depth > 0) { in omap2_mcspi_txrx_dma()
1198 if (mcspi->fifo_depth > 0) in omap2_mcspi_transfer_one()
1221 if (mcspi->fifo_depth > 0 && t) in omap2_mcspi_transfer_one()