Home
last modified time | relevance | path

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

/linux/include/uapi/linux/spi/
H A Dspi.h19 #define SPI_LOOP _BITUL(5) /* loopback mode */ macro
/linux/drivers/spi/
H A Dspi-st-ssc4.c174 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)
230 if (spi->mode & SPI_LOOP) in spi_st_setup()
H A Dspi-fsl-lib.c92 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
H A Dspi-xilinx.c206 if (spi->mode & SPI_LOOP) in xilinx_spi_chipselect()
433 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
H A Dspi-hisi-kunpeng.c316 cr |= FIELD_PREP(CR_LOOP_MASK, (spi->mode & SPI_LOOP) ? 1 : 0); in hisi_spi_prepare_cr()
491 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in hisi_spi_probe()
H A Dspi-ingenic.c283 if (spi->mode & SPI_LOOP) in spi_ingenic_prepare_message()
436 ctlr->mode_bits = SPI_MODE_3 | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH; in spi_ingenic_probe()
H A Dspi-fsl-espi.c510 if (spi->mode & SPI_LOOP) in fsl_espi_setup()
677 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_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()
1336 SPI_LOOP | ops->extra_mode_bits; in rspi_probe()
H A Dspi-meson-spicc.c713 spi->mode & SPI_LOOP ? SPICC_LBC_W1 : 0, in meson_spicc_prepare_message()
1058 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LOOP; in meson_spicc_probe()
H A Dspi-imx.c601 if (spi->mode & SPI_LOOP) in mx51_ecspi_prepare_message()
896 if (spi->mode & SPI_LOOP) in mx31_prepare_transfer()
1870 controller->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
H A Dspi-fsl-spi.c403 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
H A Dspi-mt65xx.c381 if (spi->mode & SPI_LOOP) in mtk_spi_hw_init()
1208 host->mode_bits |= SPI_LOOP | SPI_RX_DUAL | SPI_TX_DUAL | in mtk_spi_probe()
H A Dspi-rockchip.c845 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; in rockchip_spi_probe()
H A Dspi-pci1xxxx.c922 SPI_TX_DUAL | SPI_LOOP; in pci1xxxx_spi_probe()
H A Dspi.c4008 (spi->mode & SPI_LOOP) ? "loopback, " : "", in spi_setup()
/linux/include/trace/events/
H A Dspi.h73 (__entry->mode & SPI_LOOP) ? "loopback, " : "",