Home
last modified time | relevance | path

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

/linux/include/uapi/linux/spi/
H A Dspi.h19 #define SPI_LOOP _BITUL(5) /* loopback mode */ macro
/linux/include/trace/events/
H A Dspi.h73 (__entry->mode & SPI_LOOP) ? "loopback, " : "",
/linux/drivers/spi/
H A Dspi-spacemit-k1.c164 if (spi->mode & SPI_LOOP) in k1_spi_setup()
753 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; in k1_spi_probe()
H A Dspi-rzv2h-rspi.c655 conf8 = FIELD_PREP(RSPI_SPPCR_SPLP2, !!(spi->mode & SPI_LOOP)); in rzv2h_rspi_prepare_message()
762 SPI_LSB_FIRST | SPI_LOOP; in rzv2h_rspi_probe()
H A Dspi-dw-core.c317 if (spi->mode & SPI_LOOP) in dw_spi_prepare_cr0()
334 if (spi->mode & SPI_LOOP) in dw_spi_prepare_cr0()
1338 ctlr->mode_bits |= SPI_LOOP; in dw_spi_add_controller()
H A Dspi-imx.c632 if (spi->mode & SPI_LOOP) in mx51_ecspi_prepare_message()
927 if (spi->mode & SPI_LOOP) in mx31_prepare_transfer()
2281 controller->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
H A Dspidev.c62 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
H A Dspi-loopback-test.c362 spi->mode |= loop_req ? SPI_LOOP : 0; in spi_loopback_test_probe()
H A Dspi.c4417 (spi->mode & SPI_LOOP) ? "loopback, " : "", in __spi_setup()