Home
last modified time | relevance | path

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

/Linux-v5.4/tools/spi/
Dspidev_test.c134 if (!(mode & SPI_LOOP)) { in transfer()
243 mode |= SPI_LOOP; in parse_opts()
289 if (mode & SPI_LOOP) { in parse_opts()
388 if (mode & SPI_LOOP) { in transfer_buf()
/Linux-v5.4/include/uapi/linux/spi/
Dspidev.h44 #define SPI_LOOP 0x20 macro
/Linux-v5.4/drivers/spi/
Dspi-rspi.c845 if (spi->mode & SPI_LOOP) { in qspi_transfer_one()
941 if (spi->mode & SPI_LOOP) in rspi_prepare_message()
1123 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1131 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1139 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP |
Dspi-st-ssc4.c180 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)
249 if (spi->mode & SPI_LOOP) in spi_st_setup()
Dspi-fsl-lib.c91 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
Dspi-xilinx.c206 if (spi->mode & SPI_LOOP) in xilinx_spi_chipselect()
424 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
Dspi-qup.c666 if (spi->mode & SPI_LOOP && xfer->len > controller->in_fifo_sz) { in spi_qup_io_prep()
792 if (spi->mode & SPI_LOOP) in spi_qup_io_config()
806 if ((xfer->speed_hz >= SPI_HS_MIN_RATE) && !(spi->mode & SPI_LOOP)) in spi_qup_io_config()
1062 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in spi_qup_probe()
Dspi-at91-usart.c376 if (spi->mode & SPI_LOOP) in at91_usart_spi_setup()
543 controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; in at91_usart_spi_probe()
Dspi-geni-qcom.c215 if (spi_slv->mode & SPI_LOOP) in setup_fifo_params()
570 spi->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; in spi_geni_probe()
Dspi-fsl-espi.c508 if (spi->mode & SPI_LOOP) in fsl_espi_setup()
675 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
Dspi-davinci.c433 if (spi->mode & SPI_LOOP) in davinci_spi_setup()
963 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_WORD; in davinci_spi_probe()
Dspi-lantiq-ssc.c335 if (mode & SPI_LOOP) in hw_setup_clock_mode()
906 SPI_LOOP; in lantiq_ssc_probe()
Dspi-imx.c527 if (spi->mode & SPI_LOOP) in mx51_ecspi_prepare_message()
731 if (spi->mode & SPI_LOOP) in mx31_prepare_transfer()
1663 spi_imx->bitbang.master->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
Dspi-dw.c483 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in dw_spi_add_host()
Dspi-fsl-spi.c474 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
Dspidev.c63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
Dspi-loopback-test.c319 spi->mode |= loop_req ? SPI_LOOP : 0; in spi_loopback_test_probe()
Dspi-rockchip.c678 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; in rockchip_spi_probe()
Dspi-pxa2xx.c1357 if (spi->mode & SPI_LOOP) in setup()
1652 controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pxa2xx_spi_probe()
Dspi-pl022.c2054 if (spi->mode & SPI_LOOP) in pl022_setup()
2210 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in pl022_probe()
Dspi.c3106 (spi->mode & SPI_LOOP) ? "loopback, " : "", in spi_setup()
/Linux-v5.4/include/linux/spi/
Dspi.h158 #define SPI_LOOP 0x20 /* loopback mode */ macro
/Linux-v5.4/drivers/tty/serial/
Difx6x60.c1025 spi->mode = IFX_SPI_MODE | (SPI_LOOP & spi->mode); in ifx_spi_spi_probe()