Home
last modified time | relevance | path

Searched refs:SPI_LOOP (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/tools/spi/
Dspidev_test.c137 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()
/Linux-v4.19/include/uapi/linux/spi/
Dspidev.h44 #define SPI_LOOP 0x20 macro
/Linux-v4.19/drivers/spi/
Dspi-st-ssc4.c182 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)
251 if (spi->mode & SPI_LOOP) in spi_st_setup()
Dspi-fsl-lib.c95 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
Dspi-rspi.c865 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 |
Dspi-xilinx.c208 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()
Dspi-qup.c635 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()
Dspi-fsl-espi.c512 if (spi->mode & SPI_LOOP) in fsl_espi_setup()
679 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
Dspi-lantiq-ssc.c338 if (mode & SPI_LOOP) in hw_setup_clock_mode()
915 SPI_LOOP; in lantiq_ssc_probe()
Dspi-davinci.c459 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()
Dspi-imx.c561 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()
Dspi-dw.c498 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in dw_spi_add_host()
Dspidev.c72 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
Dspi-pxa2xx.c1295 if (spi->mode & SPI_LOOP) in setup()
1560 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pxa2xx_spi_probe()
Dspi-loopback-test.c328 spi->mode |= loop_req ? SPI_LOOP : 0; in spi_loopback_test_probe()
Dspi-fsl-spi.c454 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
Dspi-rockchip.c748 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in rockchip_spi_probe()
Dspi-pl022.c2037 if (spi->mode & SPI_LOOP) in pl022_setup()
2193 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pl022_probe()
Dspi-stm32.c1155 SPI_3WIRE | SPI_LOOP; in stm32_spi_probe()
Dspi.c2824 (spi->mode & SPI_LOOP) ? "loopback, " : "", in spi_setup()
/Linux-v4.19/include/linux/spi/
Dspi.h159 #define SPI_LOOP 0x20 /* loopback mode */ macro
/Linux-v4.19/drivers/tty/serial/
Difx6x60.c1025 spi->mode = IFX_SPI_MODE | (SPI_LOOP & spi->mode); in ifx_spi_spi_probe()