SPI_CPOL 165 drivers/hwmon/lm70.c if (spi->mode & (SPI_CPOL | SPI_CPHA)) SPI_CPOL 169 drivers/iio/adc/mcp320x.c if (!(adc->spi->mode & SPI_CPOL)) SPI_CPOL 420 drivers/iio/adc/mcp320x.c if (!(spi->mode & SPI_CPOL)) SPI_CPOL 186 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPOL 1216 drivers/mmc/host/mmc_spi.c host->spi->mode &= ~(SPI_CPOL|SPI_CPHA); SPI_CPOL 1237 drivers/mmc/host/mmc_spi.c host->spi->mode |= (SPI_CPOL|SPI_CPHA); SPI_CPOL 301 drivers/mtd/spi-nor/nxp-spifi.c mode |= SPI_CPOL; SPI_CPOL 318 drivers/mtd/spi-nor/nxp-spifi.c switch (mode & (SPI_CPHA | SPI_CPOL)) { SPI_CPOL 339 drivers/rtc/rtc-rx6110.c (spi->mode != (SPI_CS_HIGH | SPI_CPOL | SPI_CPHA))) { SPI_CPOL 205 drivers/spi/spi-armada-3700.c if (mode_bits & SPI_CPOL) SPI_CPOL 366 drivers/spi/spi-at91-usart.c if (spi->mode & SPI_CPOL) SPI_CPOL 543 drivers/spi/spi-at91-usart.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; SPI_CPOL 379 drivers/spi/spi-atmel.c u32 cpol = (spi->mode & SPI_CPOL) ? SPI_BIT(CPOL) : 0; SPI_CPOL 1191 drivers/spi/spi-atmel.c if (spi->mode & SPI_CPOL) SPI_CPOL 1520 drivers/spi/spi-atmel.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 182 drivers/spi/spi-au1550.c if (spi->mode & SPI_CPOL) SPI_CPOL 737 drivers/spi/spi-au1550.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 120 drivers/spi/spi-axi-spi-engine.c if (spi->mode & SPI_CPOL) SPI_CPOL 527 drivers/spi/spi-axi-spi-engine.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; SPI_CPOL 1235 drivers/spi/spi-bcm-qspi.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_RX_DUAL | SPI_RX_QUAD; SPI_CPOL 72 drivers/spi/spi-bcm2835.c #define BCM2835_SPI_MODE_BITS (SPI_CPOL | SPI_CPHA | SPI_CS_HIGH \ SPI_CPOL 1192 drivers/spi/spi-bcm2835.c if (spi->mode & SPI_CPOL) SPI_CPOL 416 drivers/spi/spi-bcm2835aux.c if (spi->mode & SPI_CPOL) { SPI_CPOL 502 drivers/spi/spi-bcm2835aux.c master->mode_bits = (SPI_CPOL | SPI_CS_HIGH | SPI_NO_CS); SPI_CPOL 149 drivers/spi/spi-bcm63xx-hsspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 406 drivers/spi/spi-bcm63xx-hsspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_CPOL 224 drivers/spi/spi-bcm63xx.c #define MODEBITS (SPI_CPOL | SPI_CPHA) SPI_CPOL 195 drivers/spi/spi-bitbang.c cs->txrx_word = bitbang->txrx_word[spi->mode & (SPI_CPOL|SPI_CPHA)]; SPI_CPOL 339 drivers/spi/spi-bitbang.c master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; SPI_CPOL 117 drivers/spi/spi-butterfly.c setsck(spi, spi->mode & SPI_CPOL); SPI_CPOL 216 drivers/spi/spi-cadence.c if (spi->mode & SPI_CPOL) SPI_CPOL 559 drivers/spi/spi-cadence.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 48 drivers/spi/spi-cavium-octeon.c SPI_CPOL | SPI_CPOL 68 drivers/spi/spi-cavium-thunderx.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_CPOL 46 drivers/spi/spi-cavium.c cpol = mode & SPI_CPOL; SPI_CPOL 308 drivers/spi/spi-coldfire-qspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 404 drivers/spi/spi-coldfire-qspi.c master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; SPI_CPOL 322 drivers/spi/spi-davinci.c if (spi->mode & SPI_CPOL) SPI_CPOL 743 drivers/spi/spi-dln2.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 330 drivers/spi/spi-dw.c | ((((spi->mode & SPI_CPOL) ? 1 : 0) << SPI_SCOL_OFFSET) | SPI_CPOL 505 drivers/spi/spi-dw.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; SPI_CPOL 125 drivers/spi/spi-efm32.c (spi->mode & SPI_CPOL ? REG_CTRL_CLKPOL : 0), REG_CTRL); SPI_CPOL 344 drivers/spi/spi-efm32.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 162 drivers/spi/spi-ep93xx.c cr0 |= (spi->mode & (SPI_CPHA | SPI_CPOL)) << SSPCR0_MODE_SHIFT; SPI_CPOL 678 drivers/spi/spi-ep93xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 858 drivers/spi/spi-fsl-dspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 1019 drivers/spi/spi-fsl-dspi.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPOL 500 drivers/spi/spi-fsl-espi.c if (spi->mode & SPI_CPOL) SPI_CPOL 674 drivers/spi/spi-fsl-espi.c master->mode_bits = SPI_RX_DUAL | SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_CPOL 90 drivers/spi/spi-fsl-lib.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH SPI_CPOL 869 drivers/spi/spi-fsl-lpspi.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 470 drivers/spi/spi-fsl-spi.c if (spi->mode & SPI_CPOL) SPI_CPOL 218 drivers/spi/spi-geni-qcom.c if (spi_slv->mode & SPI_CPOL) SPI_CPOL 570 drivers/spi/spi-geni-qcom.c spi->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; SPI_CPOL 205 drivers/spi/spi-gpio.c gpiod_set_value_cansleep(spi_gpio->sck, spi->mode & SPI_CPOL); SPI_CPOL 260 drivers/spi/spi-gpio.c !(spi->mode & SPI_CPOL)); SPI_CPOL 262 drivers/spi/spi-gpio.c !!(spi->mode & SPI_CPOL)); SPI_CPOL 394 drivers/spi/spi-gpio.c master->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | SPI_CPOL 426 drivers/spi/spi-img-spfi.c if (msg->spi->mode & SPI_CPOL) SPI_CPOL 641 drivers/spi/spi-img-spfi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; SPI_CPOL 548 drivers/spi/spi-imx.c if (spi->mode & SPI_CPOL) { SPI_CPOL 716 drivers/spi/spi-imx.c if (spi->mode & SPI_CPOL) SPI_CPOL 817 drivers/spi/spi-imx.c if (spi->mode & SPI_CPOL) SPI_CPOL 892 drivers/spi/spi-imx.c if (spi->mode & SPI_CPOL) SPI_CPOL 1659 drivers/spi/spi-imx.c spi_imx->bitbang.master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH \ SPI_CPOL 156 drivers/spi/spi-jcore.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 323 drivers/spi/spi-lantiq-ssc.c if (mode & SPI_CPOL) SPI_CPOL 905 drivers/spi/spi-lantiq-ssc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH | SPI_CPOL 413 drivers/spi/spi-meson-spicc.c if (spi->mode & SPI_CPOL) SPI_CPOL 555 drivers/spi/spi-meson-spicc.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH; SPI_CPOL 109 drivers/spi/spi-mpc512x-psc.c if (spi->mode & SPI_CPOL) SPI_CPOL 512 drivers/spi/spi-mpc512x-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 86 drivers/spi/spi-mpc52xx-psc.c if (spi->mode & SPI_CPOL) SPI_CPOL 377 drivers/spi/spi-mpc52xx-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 166 drivers/spi/spi-mpc52xx.c if (spi->mode & SPI_CPOL) SPI_CPOL 423 drivers/spi/spi-mpc52xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPOL 202 drivers/spi/spi-mt65xx.c cpol = spi->mode & SPI_CPOL ? 1 : 0; SPI_CPOL 633 drivers/spi/spi-mt65xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPOL 567 drivers/spi/spi-mxic.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CPOL 95 drivers/spi/spi-mxs.c ((dev->mode & SPI_CPOL) ? BM_SSP_CTRL1_POLARITY : 0) | SPI_CPOL 573 drivers/spi/spi-mxs.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 115 drivers/spi/spi-npcm-pspi.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPOL 416 drivers/spi/spi-npcm-pspi.c master->mode_bits = SPI_CPHA | SPI_CPOL; SPI_CPOL 102 drivers/spi/spi-oc-tiny.c hw->mode = spi->mode & (SPI_CPOL | SPI_CPHA); SPI_CPOL 253 drivers/spi/spi-oc-tiny.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 258 drivers/spi/spi-omap-100k.c #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_CS_HIGH) SPI_CPOL 194 drivers/spi/spi-omap-uwire.c if (spi->mode & SPI_CPOL) SPI_CPOL 330 drivers/spi/spi-omap-uwire.c if (spi->mode & SPI_CPOL) SPI_CPOL 333 drivers/spi/spi-omap-uwire.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPOL 488 drivers/spi/spi-omap-uwire.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 963 drivers/spi/spi-omap2-mcspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 979 drivers/spi/spi-omap2-mcspi.c (spi->mode & SPI_CPOL) ? "inverted" : "normal"); SPI_CPOL 1410 drivers/spi/spi-omap2-mcspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 240 drivers/spi/spi-orion.c if (spi->mode & SPI_CPOL) SPI_CPOL 278 drivers/spi/spi-orion.c speed == 50000000 && spi->mode & SPI_CPOL && SPI_CPOL 620 drivers/spi/spi-orion.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_CPOL 373 drivers/spi/spi-pic32-sqi.c if (mode & SPI_CPOL) SPI_CPOL 466 drivers/spi/spi-pic32.c if (spi->mode & SPI_CPOL) SPI_CPOL 2039 drivers/spi/spi-pl022.c if (spi->mode & SPI_CPOL) SPI_CPOL 2210 drivers/spi/spi-pl022.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPOL 242 drivers/spi/spi-ppc4xx.c switch (spi->mode & (SPI_CPHA | SPI_CPOL)) { SPI_CPOL 459 drivers/spi/spi-ppc4xx.c SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 1378 drivers/spi/spi-pxa2xx.c | (((spi->mode & SPI_CPOL) != 0) ? SSCR1_SPO : 0); SPI_CPOL 1694 drivers/spi/spi-pxa2xx.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPOL 783 drivers/spi/spi-qup.c if (spi->mode & SPI_CPOL) SPI_CPOL 1062 drivers/spi/spi-qup.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPOL 678 drivers/spi/spi-rockchip.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; SPI_CPOL 934 drivers/spi/spi-rspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 1123 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP, SPI_CPOL 1131 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP, SPI_CPOL 1139 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP | SPI_CPOL 135 drivers/spi/spi-s3c24xx.c if (spi->mode & SPI_CPOL) SPI_CPOL 520 drivers/spi/spi-s3c24xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 569 drivers/spi/spi-s3c64xx.c if (sdd->cur_mode & SPI_CPOL) SPI_CPOL 1094 drivers/spi/spi-s3c64xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 137 drivers/spi/spi-sc18is602.c if (mode & SPI_CPOL) SPI_CPOL 294 drivers/spi/spi-sc18is602.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_CPOL 133 drivers/spi/spi-sh-hspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 256 drivers/spi/spi-sh-hspi.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 596 drivers/spi/spi-sh-msiof.c sh_msiof_spi_set_pin_regs(p, ss, !!(spi->mode & SPI_CPOL), SPI_CPOL 1383 drivers/spi/spi-sh-msiof.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 374 drivers/spi/spi-sifive.c master->mode_bits = SPI_CPHA | SPI_CPOL SPI_CPOL 813 drivers/spi/spi-sirf.c if (spi->mode & SPI_CPOL) { SPI_CPOL 824 drivers/spi/spi-sirf.c if (((spi->mode & SPI_CPOL) && (spi->mode & SPI_CPHA)) || SPI_CPOL 825 drivers/spi/spi-sirf.c (!(spi->mode & SPI_CPOL) && !(spi->mode & SPI_CPHA))) { SPI_CPOL 1121 drivers/spi/spi-sirf.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; SPI_CPOL 121 drivers/spi/spi-slave-mt27xx.c cpol = spi->mode & SPI_CPOL ? 1 : 0; SPI_CPOL 382 drivers/spi/spi-slave-mt27xx.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 681 drivers/spi/spi-sprd.c val |= ss->hw_mode & SPI_CPOL ? SPRD_SPI_SCK_REV : 0; SPI_CPOL 940 drivers/spi/spi-sprd.c sctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE | SPI_TX_DUAL; SPI_CPOL 180 drivers/spi/spi-st-ssc4.c #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH) SPI_CPOL 234 drivers/spi/spi-st-ssc4.c if (spi->mode & SPI_CPOL) SPI_CPOL 1016 drivers/spi/spi-stm32.c if (spi_dev->mode & SPI_CPOL) SPI_CPOL 1032 drivers/spi/spi-stm32.c spi_dev->mode & SPI_CPOL, SPI_CPOL 1896 drivers/spi/spi-stm32.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_CPOL 241 drivers/spi/spi-sun4i.c if (spi->mode & SPI_CPOL) SPI_CPOL 467 drivers/spi/spi-sun4i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 240 drivers/spi/spi-sun6i.c if (spi->mode & SPI_CPOL) SPI_CPOL 476 drivers/spi/spi-sun6i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 289 drivers/spi/spi-synquacer.c if (mode & SPI_CPOL) SPI_CPOL 704 drivers/spi/spi-synquacer.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL | SPI_CPOL 946 drivers/spi/spi-tegra114.c spi->mode & SPI_CPOL ? "" : "~", SPI_CPOL 1321 drivers/spi/spi-tegra114.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_CPOL 279 drivers/spi/spi-tegra20-sflash.c if (spi->mode & SPI_CPOL) SPI_CPOL 438 drivers/spi/spi-tegra20-sflash.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPOL 753 drivers/spi/spi-tegra20-slink.c spi->mode & SPI_CPOL ? "" : "~", SPI_CPOL 795 drivers/spi/spi-tegra20-slink.c if (spi->mode & SPI_CPOL) SPI_CPOL 1029 drivers/spi/spi-tegra20-slink.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 597 drivers/spi/spi-ti-qspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 679 drivers/spi/spi-ti-qspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD; SPI_CPOL 427 drivers/spi/spi-topcliff-pch.c if (spi->mode & SPI_CPOL) SPI_CPOL 1356 drivers/spi/spi-topcliff-pch.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPOL 172 drivers/spi/spi-txx9.c | ((spi->mode & SPI_CPOL) ? TXx9_SPCR0_SPOL : 0) SPI_CPOL 383 drivers/spi/spi-txx9.c master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; SPI_CPOL 133 drivers/spi/spi-uniphier.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPOL 530 drivers/spi/spi-uniphier.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPOL 92 drivers/spi/spi-xcomm.c if (spi->mode & SPI_CPOL) SPI_CPOL 221 drivers/spi/spi-xcomm.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; SPI_CPOL 202 drivers/spi/spi-xilinx.c if (spi->mode & SPI_CPOL) SPI_CPOL 424 drivers/spi/spi-xilinx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CPOL 160 drivers/spi/spi-xlp.c if (spi->mode & SPI_CPOL) SPI_CPOL 410 drivers/spi/spi-xlp.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 117 drivers/spi/spi-zynq-qspi.c #define ZYNQ_QSPI_MODEBITS (SPI_CPOL | SPI_CPHA) SPI_CPOL 347 drivers/spi/spi-zynq-qspi.c if (spi->mode & SPI_CPOL) SPI_CPOL 476 drivers/spi/spi-zynqmp-gqspi.c if (qspi->mode & SPI_CPOL) SPI_CPOL 1095 drivers/spi/spi-zynqmp-gqspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD | SPI_CPOL 1709 drivers/spi/spi.c spi->mode |= SPI_CPOL; SPI_CPOL 1907 drivers/spi/spi.c lookup->mode |= SPI_CPOL; SPI_CPOL 1957 drivers/spi/spi.c lookup->mode |= SPI_CPOL; SPI_CPOL 3102 drivers/spi/spi.c (int) (spi->mode & (SPI_CPOL | SPI_CPHA)), SPI_CPOL 62 drivers/spi/spidev.c #define SPI_MODE_MASK (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH \ SPI_CPOL 445 drivers/staging/kpc2000/kpc2000_spi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPOL 153 include/linux/spi/spi.h #define SPI_MODE_2 (SPI_CPOL|0) SPI_CPOL 154 include/linux/spi/spi.h #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA) SPI_CPOL 38 include/uapi/linux/spi/spidev.h #define SPI_MODE_2 (SPI_CPOL|0) SPI_CPOL 39 include/uapi/linux/spi/spidev.h #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA) SPI_CPOL 249 tools/spi/spidev_test.c mode |= SPI_CPOL;