Searched refs:SPI_LOOP (Results 1 – 16 of 16) sorted by relevance
19 #define SPI_LOOP _BITUL(5) /* loopback mode */ macro
174 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)230 if (spi->mode & SPI_LOOP) in spi_st_setup()
92 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
206 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()
316 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()
283 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()
510 if (spi->mode & SPI_LOOP) in fsl_espi_setup()677 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
868 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()
713 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()
601 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()
403 if (spi->mode & SPI_LOOP) in fsl_spi_setup()
381 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()
845 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()
4008 (spi->mode & SPI_LOOP) ? "loopback, " : "", in spi_setup()
73 (__entry->mode & SPI_LOOP) ? "loopback, " : "",