SPI_LSB_FIRST 186 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_LSB_FIRST 191 drivers/spi/spi-au1550.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 737 drivers/spi/spi-au1550.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 50 drivers/spi/spi-cavium-octeon.c SPI_LSB_FIRST | SPI_LSB_FIRST 69 drivers/spi/spi-cavium-thunderx.c SPI_LSB_FIRST | SPI_3WIRE; SPI_LSB_FIRST 54 drivers/spi/spi-cavium.c mpi_cfg.s.lsbfirst = (mode & SPI_LSB_FIRST) ? 1 : 0; SPI_LSB_FIRST 319 drivers/spi/spi-davinci.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 963 drivers/spi/spi-davinci.c dspi->bitbang.flags = SPI_NO_CS | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_WORD; SPI_LSB_FIRST 871 drivers/spi/spi-fsl-dspi.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 1019 drivers/spi/spi-fsl-dspi.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_LSB_FIRST 172 drivers/spi/spi-fsl-espi.c if (!(m->spi->mode & SPI_LSB_FIRST) && first->bits_per_word != 8 && SPI_LSB_FIRST 404 drivers/spi/spi-fsl-espi.c espi->swab = spi->mode & SPI_LSB_FIRST && trans->bits_per_word > 8; SPI_LSB_FIRST 502 drivers/spi/spi-fsl-espi.c if (!(spi->mode & SPI_LSB_FIRST)) SPI_LSB_FIRST 675 drivers/spi/spi-fsl-espi.c SPI_LSB_FIRST | SPI_LOOP; SPI_LSB_FIRST 91 drivers/spi/spi-fsl-lib.c | SPI_LSB_FIRST | SPI_LOOP; SPI_LSB_FIRST 197 drivers/spi/spi-fsl-spi.c !(spi->mode & SPI_LSB_FIRST)); SPI_LSB_FIRST 217 drivers/spi/spi-fsl-spi.c if (spi->mode & SPI_LSB_FIRST && SPI_LSB_FIRST 472 drivers/spi/spi-fsl-spi.c if (!(spi->mode & SPI_LSB_FIRST)) SPI_LSB_FIRST 177 drivers/spi/spi-geni-qcom.c bool msb_first = (mode & SPI_LSB_FIRST) ? false : true; SPI_LSB_FIRST 329 drivers/spi/spi-lantiq-ssc.c if (mode & SPI_LSB_FIRST) SPI_LSB_FIRST 905 drivers/spi/spi-lantiq-ssc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH | SPI_LSB_FIRST 160 drivers/spi/spi-lp8841-rtc.c if ((spi->mode & SPI_LSB_FIRST) == 0) { SPI_LSB_FIRST 195 drivers/spi/spi-lp8841-rtc.c master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; SPI_LSB_FIRST 114 drivers/spi/spi-mpc512x-psc.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 512 drivers/spi/spi-mpc512x-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 91 drivers/spi/spi-mpc52xx-psc.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 377 drivers/spi/spi-mpc52xx-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 168 drivers/spi/spi-mpc52xx.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 423 drivers/spi/spi-mpc52xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_LSB_FIRST 215 drivers/spi/spi-mt65xx.c if (spi->mode & SPI_LSB_FIRST) { SPI_LSB_FIRST 633 drivers/spi/spi-mt65xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_LSB_FIRST 124 drivers/spi/spi-mt7621.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 359 drivers/spi/spi-mt7621.c master->mode_bits = SPI_LSB_FIRST; SPI_LSB_FIRST 244 drivers/spi/spi-orion.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 620 drivers/spi/spi-orion.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_LSB_FIRST 290 drivers/spi/spi-pic32-sqi.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 369 drivers/spi/spi-pic32-sqi.c mode = spi->mode & (SPI_MODE_3 | SPI_LSB_FIRST); SPI_LSB_FIRST 375 drivers/spi/spi-pic32-sqi.c if (mode & SPI_LSB_FIRST) SPI_LSB_FIRST 2018 drivers/spi/spi-pl022.c if (spi->mode & SPI_LSB_FIRST) { SPI_LSB_FIRST 2212 drivers/spi/spi-pl022.c master->mode_bits |= SPI_LSB_FIRST; SPI_LSB_FIRST 257 drivers/spi/spi-ppc4xx.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 459 drivers/spi/spi-ppc4xx.c SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 471 drivers/spi/spi-rockchip.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 678 drivers/spi/spi-rockchip.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; SPI_LSB_FIRST 139 drivers/spi/spi-sc18is602.c if (mode & SPI_LSB_FIRST) SPI_LSB_FIRST 294 drivers/spi/spi-sc18is602.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_LSB_FIRST 599 drivers/spi/spi-sh-msiof.c !!(spi->mode & SPI_LSB_FIRST), cs_high); SPI_LSB_FIRST 1384 drivers/spi/spi-sh-msiof.c ctlr->mode_bits |= SPI_LSB_FIRST | SPI_3WIRE; SPI_LSB_FIRST 193 drivers/spi/spi-sifive.c if (device->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 375 drivers/spi/spi-sifive.c | SPI_CS_HIGH | SPI_LSB_FIRST SPI_LSB_FIRST 470 drivers/spi/spi-sirf.c if (sspi->word_width == 1 && !(spi->mode & SPI_LSB_FIRST)) SPI_LSB_FIRST 474 drivers/spi/spi-sirf.c (!(spi->mode & SPI_LSB_FIRST))) SPI_LSB_FIRST 806 drivers/spi/spi-sirf.c if (!(spi->mode & SPI_LSB_FIRST)) { SPI_LSB_FIRST 1121 drivers/spi/spi-sirf.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; SPI_LSB_FIRST 133 drivers/spi/spi-slave-mt27xx.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 383 drivers/spi/spi-slave-mt27xx.c ctlr->mode_bits |= SPI_LSB_FIRST; SPI_LSB_FIRST 180 drivers/spi/spi-st-ssc4.c #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH) SPI_LSB_FIRST 244 drivers/spi/spi-st-ssc4.c if ((spi->mode & SPI_LSB_FIRST) == 0) SPI_LSB_FIRST 1026 drivers/spi/spi-stm32.c if (spi_dev->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 1034 drivers/spi/spi-stm32.c spi_dev->mode & SPI_LSB_FIRST, SPI_LSB_FIRST 1896 drivers/spi/spi-stm32.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_LSB_FIRST 251 drivers/spi/spi-sun4i.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 467 drivers/spi/spi-sun4i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 250 drivers/spi/spi-sun6i.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 476 drivers/spi/spi-sun6i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 299 drivers/spi/spi-synquacer.c if (mode & SPI_LSB_FIRST) SPI_LSB_FIRST 378 drivers/spi/spi-synquacer.c if (bpw == 8 && !(xfer->len % 4) && !(spi->mode & SPI_LSB_FIRST)) SPI_LSB_FIRST 804 drivers/spi/spi-tegra114.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 1321 drivers/spi/spi-tegra114.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_LSB_FIRST 425 drivers/spi/spi-topcliff-pch.c if (!(spi->mode & SPI_LSB_FIRST)) SPI_LSB_FIRST 1356 drivers/spi/spi-topcliff-pch.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_LSB_FIRST 163 drivers/spi/spi-uniphier.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 530 drivers/spi/spi-uniphier.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_LSB_FIRST 204 drivers/spi/spi-xilinx.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 424 drivers/spi/spi-xilinx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_LSB_FIRST 168 drivers/spi/spi-xlp.c if (spi->mode & SPI_LSB_FIRST) SPI_LSB_FIRST 1713 drivers/spi/spi.c spi->mode |= SPI_LSB_FIRST; SPI_LSB_FIRST 1903 drivers/spi/spi.c lookup->mode |= SPI_LSB_FIRST; SPI_LSB_FIRST 3104 drivers/spi/spi.c (spi->mode & SPI_LSB_FIRST) ? "lsb, " : "", SPI_LSB_FIRST 63 drivers/spi/spidev.c | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \ SPI_LSB_FIRST 379 drivers/spi/spidev.c retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, SPI_LSB_FIRST 424 drivers/spi/spidev.c spi->mode |= SPI_LSB_FIRST; SPI_LSB_FIRST 426 drivers/spi/spidev.c spi->mode &= ~SPI_LSB_FIRST; SPI_LSB_FIRST 252 tools/spi/spidev_test.c mode |= SPI_LSB_FIRST;