Lines Matching refs:cur_xfer_mode
103 int cur_xfer_mode; member
157 if (mas->cur_xfer_mode == GENI_SE_FIFO) in handle_se_timeout()
197 if (mas->cur_xfer_mode == GENI_SE_DMA) { in handle_se_timeout()
240 switch (mas->cur_xfer_mode) { in spi_geni_handle_err()
249 dev_err(mas->dev, "Abort on Mode:%d not supported", mas->cur_xfer_mode); in spi_geni_handle_err()
316 mas->cur_xfer_mode = GENI_SE_FIFO; in spi_geni_set_cs()
317 geni_se_select_mode(se, mas->cur_xfer_mode); in spi_geni_set_cs()
566 if (mas->cur_xfer_mode == GENI_GPI_DMA) in geni_can_dma()
588 switch (mas->cur_xfer_mode) { in spi_geni_prepare_message()
603 dev_err(mas->dev, "Mode not supported %d", mas->cur_xfer_mode); in spi_geni_prepare_message()
696 mas->cur_xfer_mode = GENI_GPI_DMA; in spi_geni_init()
711 mas->cur_xfer_mode = GENI_SE_FIFO; in spi_geni_init()
884 mas->cur_xfer_mode = GENI_SE_FIFO; in setup_se_xfer()
888 mas->cur_xfer_mode = GENI_SE_FIFO; in setup_se_xfer()
890 mas->cur_xfer_mode = GENI_SE_DMA; in setup_se_xfer()
891 geni_se_select_mode(se, mas->cur_xfer_mode); in setup_se_xfer()
900 if (mas->cur_xfer_mode == GENI_SE_DMA) { in setup_se_xfer()
930 if (mas->cur_xfer_mode == GENI_SE_FIFO || mas->cur_xfer_mode == GENI_SE_DMA) { in spi_geni_transfer_one()
958 if (mas->cur_xfer_mode == GENI_SE_FIFO) { in geni_spi_isr()
994 } else if (mas->cur_xfer_mode == GENI_SE_DMA) { in geni_spi_isr()
1142 if (!spi->slave && mas->cur_xfer_mode == GENI_SE_FIFO) in spi_geni_probe()
1148 if (mas->cur_xfer_mode == GENI_GPI_DMA) in spi_geni_probe()