Searched refs:SPI_LSB_FIRST (Results 1 – 25 of 50) sorted by relevance
12
160 if ((spi->mode & SPI_LSB_FIRST) == 0) { in spi_lp8841_rtc_setup()195 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
50 SPI_LSB_FIRST | in octeon_spi_probe()
63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \387 retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, in spidev_ioctl()432 spi->mode |= SPI_LSB_FIRST; in spidev_ioctl()434 spi->mode &= ~SPI_LSB_FIRST; in spidev_ioctl()
139 if (mode & SPI_LSB_FIRST) in sc18is602_setup_transfer()292 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
124 if (spi->mode & SPI_LSB_FIRST) in mt7621_spi_prepare()360 master->mode_bits = SPI_LSB_FIRST; in mt7621_spi_probe()
172 if (!(m->spi->mode & SPI_LSB_FIRST) && first->bits_per_word != 8 && in fsl_espi_check_message()404 espi->swab = spi->mode & SPI_LSB_FIRST && trans->bits_per_word > 8; in fsl_espi_trans()511 if (!(spi->mode & SPI_LSB_FIRST)) in fsl_espi_setup()685 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
70 SPI_LSB_FIRST | SPI_3WIRE; in thunderx_spi_probe()
193 if (device->mode & SPI_LSB_FIRST) in sifive_spi_prep_transfer()375 | SPI_CS_HIGH | SPI_LSB_FIRST in sifive_spi_probe()
253 if (spi->mode & SPI_LSB_FIRST) in spi_ppc4xx_setup()381 SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; in spi_ppc4xx_of_probe()
290 if (spi->mode & SPI_LSB_FIRST) in pic32_sqi_one_transfer()369 mode = spi->mode & (SPI_MODE_3 | SPI_LSB_FIRST); in pic32_sqi_one_message()375 if (mode & SPI_LSB_FIRST) in pic32_sqi_one_message()
180 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)244 if ((spi->mode & SPI_LSB_FIRST) == 0) in spi_st_setup()
91 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
196 !(spi->mode & SPI_LSB_FIRST)); in mspi_apply_cpu_mode_quirks()216 if (spi->mode & SPI_LSB_FIRST && in mspi_apply_qe_mode_quirks()472 if (!(spi->mode & SPI_LSB_FIRST)) in fsl_spi_setup()
251 if (spi->mode & SPI_LSB_FIRST) in sun4i_spi_transfer_one()467 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun4i_spi_probe()
204 if (spi->mode & SPI_LSB_FIRST) in xilinx_spi_chipselect()429 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
54 mpi_cfg.s.lsbfirst = (mode & SPI_LSB_FIRST) ? 1 : 0; in octeon_spi_do_transfer()
91 if (spi->mode & SPI_LSB_FIRST) in mpc52xx_psc_spi_activate_cs()376 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc52xx_psc_spi_do_probe()
239 if (spi->mode & SPI_LSB_FIRST) in sun6i_spi_transfer_one()472 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun6i_spi_probe()
168 if (spi->mode & SPI_LSB_FIRST) in mpc52xx_spi_fsmstate_idle()423 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in mpc52xx_spi_probe()
114 if (spi->mode & SPI_LSB_FIRST) in mpc512x_psc_spi_activate_cs()511 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc512x_psc_spi_do_probe()
133 if (spi->mode & SPI_LSB_FIRST) in mtk_spi_slave_prepare_message()382 ctlr->mode_bits |= SPI_LSB_FIRST; in mtk_spi_slave_probe()
191 ctlr->mode_bits = SPI_LSB_FIRST; in ar934x_spi_probe()
17 #define SPI_LSB_FIRST 0x08 macro
42 #define SPI_LSB_FIRST 0x08 macro
30 #define SPI_LSB_FIRST 0x08 macro