Searched refs:SPI_LSB_FIRST (Results 1 – 25 of 37) sorted by relevance
12
169 if ((spi->mode & SPI_LSB_FIRST) == 0) { in spi_lp8841_rtc_setup()205 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
52 SPI_LSB_FIRST | in octeon_spi_probe()
72 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \386 retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, in spidev_ioctl()426 spi->mode |= SPI_LSB_FIRST; in spidev_ioctl()428 spi->mode &= ~SPI_LSB_FIRST; in spidev_ioctl()
148 if (mode & SPI_LSB_FIRST) in sc18is602_setup_transfer()303 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
68 SPI_LSB_FIRST | SPI_3WIRE; in thunderx_spi_probe()
176 if (!(m->spi->mode & SPI_LSB_FIRST) && first->bits_per_word != 8 && in fsl_espi_check_message()408 espi->swab = spi->mode & SPI_LSB_FIRST && trans->bits_per_word > 8; in fsl_espi_trans()506 if (!(spi->mode & SPI_LSB_FIRST)) in fsl_espi_setup()679 SPI_LSB_FIRST | SPI_LOOP; in fsl_espi_probe()
298 if (spi->mode & SPI_LSB_FIRST) in pic32_sqi_one_transfer()377 mode = spi->mode & (SPI_MODE_3 | SPI_LSB_FIRST); in pic32_sqi_one_message()383 if (mode & SPI_LSB_FIRST) in pic32_sqi_one_message()
182 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)246 if ((spi->mode & SPI_LSB_FIRST) == 0) in spi_st_setup()
95 | SPI_LSB_FIRST | SPI_LOOP; in mpc8xxx_spi_probe()
206 if (spi->mode & SPI_LSB_FIRST) in xilinx_spi_chipselect()426 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
260 if (spi->mode & SPI_LSB_FIRST) in spi_ppc4xx_setup()462 SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; in spi_ppc4xx_of_probe()
169 if (spi->mode & SPI_LSB_FIRST) in mpc52xx_spi_fsmstate_idle()424 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in mpc52xx_spi_probe()
161 if (spi->mode & SPI_LSB_FIRST) in uniphier_spi_set_mode()468 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in uniphier_spi_probe()
95 if (spi->mode & SPI_LSB_FIRST) in mpc52xx_psc_spi_activate_cs()381 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc52xx_psc_spi_do_probe()
255 if (spi->mode & SPI_LSB_FIRST) in sun4i_spi_transfer_one()474 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun4i_spi_probe()
54 mpi_cfg.s.lsbfirst = (mode & SPI_LSB_FIRST) ? 1 : 0; in octeon_spi_do_transfer()
254 if (spi->mode & SPI_LSB_FIRST) in sun6i_spi_transfer_one()483 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun6i_spi_probe()
118 if (spi->mode & SPI_LSB_FIRST) in mpc512x_psc_spi_activate_cs()516 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc512x_psc_spi_do_probe()
194 !(spi->mode & SPI_LSB_FIRST)); in mspi_apply_cpu_mode_quirks()214 if (spi->mode & SPI_LSB_FIRST && in mspi_apply_qe_mode_quirks()452 if (!(spi->mode & SPI_LSB_FIRST)) in fsl_spi_setup()
247 if (spi->mode & SPI_LSB_FIRST) in orion_spi_mode_set()619 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in orion_spi_probe()
471 if (sspi->word_width == 1 && !(spi->mode & SPI_LSB_FIRST)) in spi_sirfsoc_cmd_transfer()475 (!(spi->mode & SPI_LSB_FIRST))) in spi_sirfsoc_cmd_transfer()807 if (!(spi->mode & SPI_LSB_FIRST)) { in spi_sirfsoc_config_mode()1124 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; in spi_sirfsoc_probe()
618 if (spi_dev->mode & SPI_LSB_FIRST) in stm32_spi_prepare_msg()626 spi_dev->mode & SPI_LSB_FIRST, in stm32_spi_prepare_msg()1154 master->mode_bits = SPI_MODE_3 | SPI_CS_HIGH | SPI_LSB_FIRST | in stm32_spi_probe()
42 #define SPI_LSB_FIRST 0x08 macro
59 SPI_LSB_FIRST | SPI_CS_HIGH)139 if (spi->mode & SPI_LSB_FIRST) in mt7621_spi_prepare()
195 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in netup_spi_init()