Home
last modified time | relevance | path

Searched refs:SPI_LOOP (Results 1 – 13 of 13) 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-virtio.c189 if (spi->mode & SPI_LOOP) in virtio_spi_transfer_one()
283 ctrl->mode_bits |= SPI_LOOP; in virtio_spi_read_config()
H A Dspi-geni-qcom.c358 if (mode_changed & SPI_LOOP) in setup_fifo_params()
359 writel((spi_slv->mode & SPI_LOOP) ? LOOPBACK_ENABLE : 0, se->base + SE_SPI_LOOPBACK); in setup_fifo_params()
429 peripheral.loopback_en = !!(spi_slv->mode & SPI_LOOP); in setup_gsi_xfer()
1071 spi->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; in spi_geni_probe()
H A Dspi-dw-core.c287 if (spi->mode & SPI_LOOP) in dw_spi_prepare_cr0()
304 if (spi->mode & SPI_LOOP) in dw_spi_prepare_cr0()
971 ctlr->mode_bits |= SPI_LOOP; in dw_spi_add_controller()
H A Dspi-rzv2h-rspi.c654 conf8 = FIELD_PREP(RSPI_SPPCR_SPLP2, !!(spi->mode & SPI_LOOP)); in rzv2h_rspi_prepare_message()
761 SPI_LSB_FIRST | SPI_LOOP; in rzv2h_rspi_probe()
H A Dspi-davinci.c487 if (spi->mode & SPI_LOOP) in davinci_spi_setup()
1004 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_WORD; in davinci_spi_probe()
H A Dspi-meson-spicc.c713 spi->mode & SPI_LOOP ? SPICC_LBC_W1 : 0, in meson_spicc_prepare_message()
1057 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LOOP; in meson_spicc_probe()
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()
2280 controller->mode_bits |= SPI_LOOP | SPI_READY; in spi_imx_probe()
H A Dspidev.c63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
H A Dspi-rockchip.c837 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.c4179 (spi->mode & SPI_LOOP) ? "loopback, " : "", in __spi_setup()
/linux/include/trace/events/
H A Dspi.h73 (__entry->mode & SPI_LOOP) ? "loopback, " : "",