Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/spi/
H A Dspidev_test.c143 if (!(mode & SPI_LOOP)) { in transfer()
254 mode |= SPI_LOOP; in parse_opts()
302 if (mode & SPI_LOOP) { in parse_opts()
403 if (mode & SPI_LOOP) { in transfer_buf()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/spi/
H A Dspidev.h44 #define SPI_LOOP 0x20 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/spi/
H A Dspidev.h44 #define SPI_LOOP 0x20 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/spi/
H A Dspidev.h44 #define SPI_LOOP 0x20 macro
/OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_spidev_test/
H A Dspidev_test.c127 mode |= SPI_LOOP; in parse_opts()
/OK3568_Linux_fs/kernel/drivers/spi/
H A 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()
H A Dspi-xilinx.c206 if (spi->mode & SPI_LOOP) in xilinx_spi_chipselect()
429 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
H A Dspi-fsl-lib.c91 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
H A Dspi-dw-core.c283 cr0 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << SPI_SRL_OFFSET; in dw_spi_prepare_cr0()
297 cr0 |= ((spi->mode & SPI_LOOP) ? 1 : 0) << DWC_SSI_CTRLR0_SRL_OFFSET; in dw_spi_prepare_cr0()
866 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in dw_spi_add_host()
H A 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()
H A 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()
H A Dspi-rspi.c868 if (spi->mode & SPI_LOOP) { in qspi_transfer_one()
1008 if (spi->mode & SPI_LOOP) in rspi_prepare_message()
1324 SPI_LOOP | ops->extra_mode_bits; in rspi_probe()
H A Dspi-geni-qcom.c298 if (spi_slv->mode & SPI_LOOP) in setup_fifo_params()
699 spi->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; in spi_geni_probe()
H A Dspi-fsl-espi.c517 if (spi->mode & SPI_LOOP) in fsl_espi_setup()
685 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
H A Dspi-davinci.c428 if (spi->mode & SPI_LOOP) in davinci_spi_setup()
957 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_WORD; in davinci_spi_probe()
H A Dspi-lantiq-ssc.c336 if (mode & SPI_LOOP) in hw_setup_clock_mode()
983 SPI_LOOP; in lantiq_ssc_probe()
H A Dspi-imx.c535 if (spi->mode & SPI_LOOP) in mx51_ecspi_prepare_message()
749 if (spi->mode & SPI_LOOP) in mx31_prepare_transfer()
1659 spi_imx->bitbang.master->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
H A Dspidev.c63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
H A Dspi-fsl-spi.c474 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxx11/spi/
H A Dmainwindow.cpp29 mode |= SPI_LOOP; in update_params()
/OK3568_Linux_fs/u-boot/include/
H A Dspi.h25 #define SPI_LOOP BIT(5) /* loopback mode */ macro
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dxilinx_spi.c269 if (mode & SPI_LOOP) in xilinx_spi_set_mode()
/OK3568_Linux_fs/app/forlinx/forlinx_qt/spitest/
H A Dmainwindow.cpp147 mode |= SPI_LOOP; in update_params()
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/spitest/
H A Dmainwindow.cpp147 mode |= SPI_LOOP; in update_params()
/OK3568_Linux_fs/kernel/include/linux/spi/
H A Dspi.h178 #define SPI_LOOP 0x20 /* loopback mode */ macro

12