Searched refs:SPI_LOOP (Results 1 – 22 of 22) sorted by relevance
137 if (!(mode & SPI_LOOP)) { in transfer()246 mode |= SPI_LOOP; in parse_opts()292 if (mode & SPI_LOOP) { in parse_opts()391 if (mode & SPI_LOOP) { in transfer_buf()
44 #define SPI_LOOP 0x20 macro
182 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)251 if (spi->mode & SPI_LOOP) in spi_st_setup()
95 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
865 if (spi->mode & SPI_LOOP) { in qspi_transfer_one()893 if (spi->mode & SPI_LOOP) in rspi_setup()1149 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,1157 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,1165 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP |
208 if (spi->mode & SPI_LOOP) in xilinx_spi_chipselect()426 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
635 if (spi->mode & SPI_LOOP && xfer->len > controller->in_fifo_sz) { in spi_qup_io_prep()761 if (spi->mode & SPI_LOOP) in spi_qup_io_config()775 if ((xfer->speed_hz >= SPI_HS_MIN_RATE) && !(spi->mode & SPI_LOOP)) in spi_qup_io_config()1035 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in spi_qup_probe()
512 if (spi->mode & SPI_LOOP) in fsl_espi_setup()679 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
338 if (mode & SPI_LOOP) in hw_setup_clock_mode()915 SPI_LOOP; in lantiq_ssc_probe()
459 if (spi->mode & SPI_LOOP) in davinci_spi_setup()988 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP; in davinci_spi_probe()
561 if (spi->mode & SPI_LOOP) in mx51_ecspi_config()698 if (spi->mode & SPI_LOOP) in mx31_config()1583 spi_imx->bitbang.master->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
498 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in dw_spi_add_host()
72 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
1295 if (spi->mode & SPI_LOOP) in setup()1560 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pxa2xx_spi_probe()
328 spi->mode |= loop_req ? SPI_LOOP : 0; in spi_loopback_test_probe()
454 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
748 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in rockchip_spi_probe()
2037 if (spi->mode & SPI_LOOP) in pl022_setup()2193 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pl022_probe()
1155 SPI_3WIRE | SPI_LOOP; in stm32_spi_probe()
2824 (spi->mode & SPI_LOOP) ? "loopback, " : "", in spi_setup()
159 #define SPI_LOOP 0x20 /* loopback mode */ macro
1025 spi->mode = IFX_SPI_MODE | (SPI_LOOP & spi->mode); in ifx_spi_spi_probe()