Searched refs:SPI_LSB_FIRST (Results 1 - 29 of 29) sorted by relevance

/linux-4.1.27/drivers/spi/
H A Dspi-octeon.c76 mpi_cfg.s.lsbfirst = (mode & SPI_LSB_FIRST) ? 1 : 0; octeon_spi_do_transfer()
207 SPI_LSB_FIRST | octeon_spi_probe()
H A Dspi-sc18is602.c144 if (mode & SPI_LSB_FIRST) sc18is602_setup_transfer()
290 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; sc18is602_probe()
H A Dspi-ppc4xx.c61 * Note: This is identical to SPI_LSB_FIRST.
260 if (spi->mode & SPI_LSB_FIRST) spi_ppc4xx_setup()
461 SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; spi_ppc4xx_of_probe()
H A Dspi-fsl-lib.c95 | SPI_LSB_FIRST | SPI_LOOP; mpc8xxx_spi_probe()
H A Dspi-sirf.c319 if (sspi->word_width == 1 && !(spi->mode & SPI_LSB_FIRST)) spi_sirfsoc_cmd_transfer()
323 (!(spi->mode & SPI_LSB_FIRST))) spi_sirfsoc_cmd_transfer()
573 if (!(spi->mode & SPI_LSB_FIRST)) spi_sirfsoc_setup_transfer()
688 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; spi_sirfsoc_probe()
H A Dspidev.c71 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
424 retval = __put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, spidev_ioctl()
464 spi->mode |= SPI_LSB_FIRST; spidev_ioctl()
466 spi->mode &= ~SPI_LSB_FIRST; spidev_ioctl()
H A Dspi-st-ssc4.c211 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH) spi_st_setup()
273 if ((spi->mode & SPI_LSB_FIRST) == 0) spi_st_setup()
H A Dspi-sun4i.c210 if (spi->mode & SPI_LSB_FIRST) sun4i_spi_transfer_one()
393 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; sun4i_spi_probe()
H A Dspi-sun6i.c199 if (spi->mode & SPI_LSB_FIRST) sun6i_spi_transfer_one()
392 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; sun6i_spi_probe()
H A Dspi-fsl-spi.c194 !(spi->mode & SPI_LSB_FIRST)); mspi_apply_cpu_mode_quirks()
214 if (spi->mode & SPI_LSB_FIRST && mspi_apply_qe_mode_quirks()
453 if (!(spi->mode & SPI_LSB_FIRST)) fsl_spi_setup()
H A Dspi-mpc512x-psc.c93 if (spi->mode & SPI_LSB_FIRST) mpc512x_psc_spi_activate_cs()
495 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; mpc512x_psc_spi_do_probe()
H A Dspi-mpc52xx-psc.c96 if (spi->mode & SPI_LSB_FIRST) mpc52xx_psc_spi_activate_cs()
382 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; mpc52xx_psc_spi_do_probe()
H A Dspi-mpc52xx.c169 if (spi->mode & SPI_LSB_FIRST) mpc52xx_spi_fsmstate_idle()
424 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; mpc52xx_spi_probe()
H A Dspi-xilinx.c206 if (spi->mode & SPI_LSB_FIRST) xilinx_spi_chipselect()
403 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | xilinx_spi_probe()
H A Dspi-adi-v3.c706 if (spi->mode & SPI_LSB_FIRST) adi_spi_setup()
840 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; adi_spi_probe()
H A Dspi-bfin-sport.c611 if (spi->mode & SPI_LSB_FIRST) bfin_sport_spi_setup()
772 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; bfin_sport_spi_probe()
H A Dspi-fsl-espi.c160 if (spi->mode & SPI_LSB_FIRST) fsl_espi_setup_transfer()
499 if (!(spi->mode & SPI_LSB_FIRST)) fsl_espi_setup()
H A Dspi-nuc900.c358 master->mode_bits |= SPI_LSB_FIRST; nuc900_spi_probe()
H A Dspi-sh-msiof.c536 !!(spi->mode & SPI_LSB_FIRST), sh_msiof_spi_setup()
558 !!(spi->mode & SPI_LSB_FIRST), sh_msiof_prepare_message()
1229 master->mode_bits |= SPI_LSB_FIRST | SPI_3WIRE; sh_msiof_spi_probe()
H A Dspi-fsl-dspi.c437 | SPI_CTAR_LSBFE(spi->mode & SPI_LSB_FIRST ? 1 : 0) dspi_setup()
H A Dspi-au1550.c200 if (spi->mode & SPI_LSB_FIRST) au1550_spi_chipsel()
747 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; au1550_spi_probe()
H A Dspi-davinci.c332 if (spi->mode & SPI_LSB_FIRST) davinci_spi_setup_transfer()
997 dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP; davinci_spi_probe()
H A Dspi-bfin5xx.c1033 if (spi->mode & SPI_LSB_FIRST) bfin_spi_setup()
1283 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; bfin_spi_probe()
H A Dspi-topcliff-pch.c437 if (!(spi->mode & SPI_LSB_FIRST)) pch_spi_setup_transfer()
1382 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; pch_spi_pd_probe()
H A Dspi-pl022.c1996 if (spi->mode & SPI_LSB_FIRST) { pl022_setup()
2190 master->mode_bits |= SPI_LSB_FIRST; pl022_probe()
H A Dspi.c1205 spi->mode |= SPI_LSB_FIRST; of_register_spi_device()
1801 (spi->mode & SPI_LSB_FIRST) ? "lsb, " : "", spi_setup()
/linux-4.1.27/include/uapi/linux/spi/
H A Dspidev.h40 #define SPI_LSB_FIRST 0x08 macro
/linux-4.1.27/Documentation/spi/
H A Dspidev_test.c213 mode |= SPI_LSB_FIRST; parse_opts()
/linux-4.1.27/include/linux/spi/
H A Dspi.h45 * each word in a transfer (by specifying SPI_LSB_FIRST).
86 #define SPI_LSB_FIRST 0x08 /* per-word bits-on-wire */ macro
563 * from the wire byte order (big-endian except with SPI_LSB_FIRST). So

Completed in 209 milliseconds