Searched refs:SPI_LOOP (Results 1 – 13 of 13) sorted by relevance
19 #define SPI_LOOP _BITUL(5) /* loopback mode */ macro
189 if (spi->mode & SPI_LOOP) in virtio_spi_transfer_one()283 ctrl->mode_bits |= SPI_LOOP; in virtio_spi_read_config()
358 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()
287 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()
654 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()
487 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()
713 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()
632 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()
63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
837 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; in rockchip_spi_probe()
922 SPI_TX_DUAL | SPI_LOOP; in pci1xxxx_spi_probe()
4179 (spi->mode & SPI_LOOP) ? "loopback, " : "", in __spi_setup()
73 (__entry->mode & SPI_LOOP) ? "loopback, " : "",