SPI_CPHA 51 arch/arm/mach-imx/mach-pcm037_eet.c .mode = SPI_CPHA, SPI_CPHA 155 drivers/fpga/ice40-spi.c if (spi->mode & SPI_CPHA) { SPI_CPHA 165 drivers/hwmon/lm70.c if (spi->mode & (SPI_CPOL | SPI_CPHA)) SPI_CPHA 186 drivers/media/pci/netup_unidvb/netup_unidvb_spi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPHA 1216 drivers/mmc/host/mmc_spi.c host->spi->mode &= ~(SPI_CPOL|SPI_CPHA); SPI_CPHA 1237 drivers/mmc/host/mmc_spi.c host->spi->mode |= (SPI_CPOL|SPI_CPHA); SPI_CPHA 298 drivers/mtd/spi-nor/nxp-spifi.c mode |= SPI_CPHA; SPI_CPHA 318 drivers/mtd/spi-nor/nxp-spifi.c switch (mode & (SPI_CPHA | SPI_CPOL)) { SPI_CPHA 124 drivers/rtc/rtc-ds1302.c } else if (spi->mode & SPI_CPHA) { SPI_CPHA 570 drivers/rtc/rtc-ds1305.c || !(spi->mode & SPI_CPHA)) SPI_CPHA 339 drivers/rtc/rtc-rx6110.c (spi->mode != (SPI_CS_HIGH | SPI_CPOL | SPI_CPHA))) { SPI_CPHA 210 drivers/spi/spi-armada-3700.c if (mode_bits & SPI_CPHA) SPI_CPHA 371 drivers/spi/spi-at91-usart.c if (spi->mode & SPI_CPHA) SPI_CPHA 543 drivers/spi/spi-at91-usart.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; SPI_CPHA 1193 drivers/spi/spi-atmel.c if (!(spi->mode & SPI_CPHA)) SPI_CPHA 1520 drivers/spi/spi-atmel.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 186 drivers/spi/spi-au1550.c if (spi->mode & SPI_CPHA) SPI_CPHA 737 drivers/spi/spi-au1550.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 122 drivers/spi/spi-axi-spi-engine.c if (spi->mode & SPI_CPHA) SPI_CPHA 527 drivers/spi/spi-axi-spi-engine.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; SPI_CPHA 1235 drivers/spi/spi-bcm-qspi.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_RX_DUAL | SPI_RX_QUAD; SPI_CPHA 72 drivers/spi/spi-bcm2835.c #define BCM2835_SPI_MODE_BITS (SPI_CPOL | SPI_CPHA | SPI_CS_HIGH \ SPI_CPHA 1194 drivers/spi/spi-bcm2835.c if (spi->mode & SPI_CPHA) SPI_CPHA 231 drivers/spi/spi-bcm63xx-hsspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 406 drivers/spi/spi-bcm63xx-hsspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_CPHA 224 drivers/spi/spi-bcm63xx.c #define MODEBITS (SPI_CPOL | SPI_CPHA) SPI_CPHA 195 drivers/spi/spi-bitbang.c cs->txrx_word = bitbang->txrx_word[spi->mode & (SPI_CPOL|SPI_CPHA)]; SPI_CPHA 339 drivers/spi/spi-bitbang.c master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; SPI_CPHA 214 drivers/spi/spi-cadence.c if (spi->mode & SPI_CPHA) SPI_CPHA 559 drivers/spi/spi-cadence.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 47 drivers/spi/spi-cavium-octeon.c master->mode_bits = SPI_CPHA | SPI_CPHA 68 drivers/spi/spi-cavium-thunderx.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_CPHA 45 drivers/spi/spi-cavium.c cpha = mode & SPI_CPHA; SPI_CPHA 43 drivers/spi/spi-clps711x.c (spi->mode & SPI_CPHA) ? SPI_CPHA 106 drivers/spi/spi-clps711x.c master->mode_bits = SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 306 drivers/spi/spi-coldfire-qspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 404 drivers/spi/spi-coldfire-qspi.c master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; SPI_CPHA 325 drivers/spi/spi-davinci.c if (!(spi->mode & SPI_CPHA)) SPI_CPHA 743 drivers/spi/spi-dln2.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 331 drivers/spi/spi-dw.c (((spi->mode & SPI_CPHA) ? 1 : 0) << SPI_SCPH_OFFSET) | SPI_CPHA 505 drivers/spi/spi-dw.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; SPI_CPHA 124 drivers/spi/spi-efm32.c (spi->mode & SPI_CPHA ? REG_CTRL_CLKPHA : 0) | SPI_CPHA 344 drivers/spi/spi-efm32.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 162 drivers/spi/spi-ep93xx.c cr0 |= (spi->mode & (SPI_CPHA | SPI_CPOL)) << SSPCR0_MODE_SHIFT; SPI_CPHA 678 drivers/spi/spi-ep93xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 860 drivers/spi/spi-fsl-dspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 1019 drivers/spi/spi-fsl-dspi.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPHA 498 drivers/spi/spi-fsl-espi.c if (spi->mode & SPI_CPHA) SPI_CPHA 674 drivers/spi/spi-fsl-espi.c master->mode_bits = SPI_RX_DUAL | SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_CPHA 90 drivers/spi/spi-fsl-lib.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH SPI_CPHA 869 drivers/spi/spi-fsl-lpspi.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 468 drivers/spi/spi-fsl-spi.c if (spi->mode & SPI_CPHA) SPI_CPHA 221 drivers/spi/spi-geni-qcom.c if (spi_slv->mode & SPI_CPHA) SPI_CPHA 570 drivers/spi/spi-geni-qcom.c spi->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; SPI_CPHA 394 drivers/spi/spi-gpio.c master->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | SPI_CPHA 422 drivers/spi/spi-img-spfi.c if (msg->spi->mode & SPI_CPHA) SPI_CPHA 641 drivers/spi/spi-img-spfi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; SPI_CPHA 543 drivers/spi/spi-imx.c if (spi->mode & SPI_CPHA) SPI_CPHA 714 drivers/spi/spi-imx.c if (spi->mode & SPI_CPHA) SPI_CPHA 815 drivers/spi/spi-imx.c if (spi->mode & SPI_CPHA) SPI_CPHA 890 drivers/spi/spi-imx.c if (spi->mode & SPI_CPHA) SPI_CPHA 1659 drivers/spi/spi-imx.c spi_imx->bitbang.master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH \ SPI_CPHA 156 drivers/spi/spi-jcore.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 318 drivers/spi/spi-lantiq-ssc.c if (mode & SPI_CPHA) SPI_CPHA 905 drivers/spi/spi-lantiq-ssc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH | SPI_CPHA 418 drivers/spi/spi-meson-spicc.c if (spi->mode & SPI_CPHA) SPI_CPHA 555 drivers/spi/spi-meson-spicc.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH; SPI_CPHA 104 drivers/spi/spi-mpc512x-psc.c if (spi->mode & SPI_CPHA) SPI_CPHA 512 drivers/spi/spi-mpc512x-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 82 drivers/spi/spi-mpc52xx-psc.c if (spi->mode & SPI_CPHA) SPI_CPHA 377 drivers/spi/spi-mpc52xx-psc.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 164 drivers/spi/spi-mpc52xx.c if (spi->mode & SPI_CPHA) SPI_CPHA 423 drivers/spi/spi-mpc52xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPHA 201 drivers/spi/spi-mt65xx.c cpha = spi->mode & SPI_CPHA ? 1 : 0; SPI_CPHA 633 drivers/spi/spi-mt65xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPHA 567 drivers/spi/spi-mxic.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CPHA 96 drivers/spi/spi-mxs.c ((dev->mode & SPI_CPHA) ? BM_SSP_CTRL1_PHASE : 0), SPI_CPHA 573 drivers/spi/spi-mxs.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 115 drivers/spi/spi-npcm-pspi.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPHA 416 drivers/spi/spi-npcm-pspi.c master->mode_bits = SPI_CPHA | SPI_CPOL; SPI_CPHA 102 drivers/spi/spi-oc-tiny.c hw->mode = spi->mode & (SPI_CPOL | SPI_CPHA); SPI_CPHA 253 drivers/spi/spi-oc-tiny.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 258 drivers/spi/spi-omap-100k.c #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_CS_HIGH) SPI_CPHA 333 drivers/spi/spi-omap-uwire.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPHA 488 drivers/spi/spi-omap-uwire.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 967 drivers/spi/spi-omap2-mcspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 978 drivers/spi/spi-omap2-mcspi.c (spi->mode & SPI_CPHA) ? "trailing" : "leading", SPI_CPHA 1410 drivers/spi/spi-omap2-mcspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 242 drivers/spi/spi-orion.c if (spi->mode & SPI_CPHA) SPI_CPHA 279 drivers/spi/spi-orion.c spi->mode & SPI_CPHA) SPI_CPHA 620 drivers/spi/spi-orion.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_CPHA 471 drivers/spi/spi-pic32.c if (spi->mode & SPI_CPHA) SPI_CPHA 2045 drivers/spi/spi-pl022.c if (spi->mode & SPI_CPHA) SPI_CPHA 2210 drivers/spi/spi-pl022.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPHA 242 drivers/spi/spi-ppc4xx.c switch (spi->mode & (SPI_CPHA | SPI_CPOL)) { SPI_CPHA 459 drivers/spi/spi-ppc4xx.c SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 1377 drivers/spi/spi-pxa2xx.c chip->cr1 |= (((spi->mode & SPI_CPHA) != 0) ? SSCR1_SPH : 0) SPI_CPHA 1694 drivers/spi/spi-pxa2xx.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPHA 797 drivers/spi/spi-qup.c if (spi->mode & SPI_CPHA) SPI_CPHA 1062 drivers/spi/spi-qup.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; SPI_CPHA 678 drivers/spi/spi-rockchip.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_LSB_FIRST; SPI_CPHA 936 drivers/spi/spi-rspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 1123 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP, SPI_CPHA 1131 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP, SPI_CPHA 1139 drivers/spi/spi-rspi.c .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP | SPI_CPHA 132 drivers/spi/spi-s3c24xx.c if (spi->mode & SPI_CPHA) SPI_CPHA 520 drivers/spi/spi-s3c24xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 404 drivers/spi/spi-s3c64xx.c && !(sdd->cur_mode & SPI_CPHA)) SPI_CPHA 572 drivers/spi/spi-s3c64xx.c if (sdd->cur_mode & SPI_CPHA) SPI_CPHA 1094 drivers/spi/spi-s3c64xx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 135 drivers/spi/spi-sc18is602.c if (mode & SPI_CPHA) SPI_CPHA 294 drivers/spi/spi-sc18is602.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; SPI_CPHA 131 drivers/spi/spi-sh-hspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 256 drivers/spi/spi-sh-hspi.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 597 drivers/spi/spi-sh-msiof.c !!(spi->mode & SPI_CPHA), SPI_CPHA 1383 drivers/spi/spi-sh-msiof.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 374 drivers/spi/spi-sifive.c master->mode_bits = SPI_CPHA | SPI_CPOL SPI_CPHA 824 drivers/spi/spi-sirf.c if (((spi->mode & SPI_CPOL) && (spi->mode & SPI_CPHA)) || SPI_CPHA 825 drivers/spi/spi-sirf.c (!(spi->mode & SPI_CPOL) && !(spi->mode & SPI_CPHA))) { SPI_CPHA 1121 drivers/spi/spi-sirf.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_CS_HIGH; SPI_CPHA 120 drivers/spi/spi-slave-mt27xx.c cpha = spi->mode & SPI_CPHA ? 1 : 0; SPI_CPHA 382 drivers/spi/spi-slave-mt27xx.c ctlr->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 680 drivers/spi/spi-sprd.c val |= ss->hw_mode & SPI_CPHA ? SPRD_SPI_NG_RX : SPRD_SPI_NG_TX; SPI_CPHA 940 drivers/spi/spi-sprd.c sctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE | SPI_TX_DUAL; SPI_CPHA 180 drivers/spi/spi-st-ssc4.c #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH) SPI_CPHA 239 drivers/spi/spi-st-ssc4.c if (spi->mode & SPI_CPHA) SPI_CPHA 1021 drivers/spi/spi-stm32.c if (spi_dev->mode & SPI_CPHA) SPI_CPHA 1033 drivers/spi/spi-stm32.c spi_dev->mode & SPI_CPHA, SPI_CPHA 1896 drivers/spi/spi-stm32.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_CPHA 246 drivers/spi/spi-sun4i.c if (spi->mode & SPI_CPHA) SPI_CPHA 467 drivers/spi/spi-sun4i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 245 drivers/spi/spi-sun6i.c if (spi->mode & SPI_CPHA) SPI_CPHA 476 drivers/spi/spi-sun6i.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 284 drivers/spi/spi-synquacer.c if (mode & SPI_CPHA) SPI_CPHA 704 drivers/spi/spi-synquacer.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL | SPI_CPHA 947 drivers/spi/spi-tegra114.c spi->mode & SPI_CPHA ? "" : "~", SPI_CPHA 1321 drivers/spi/spi-tegra114.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST | SPI_CPHA 276 drivers/spi/spi-tegra20-sflash.c if (spi->mode & SPI_CPHA) SPI_CPHA 438 drivers/spi/spi-tegra20-sflash.c master->mode_bits = SPI_CPOL | SPI_CPHA; SPI_CPHA 754 drivers/spi/spi-tegra20-slink.c spi->mode & SPI_CPHA ? "" : "~", SPI_CPHA 792 drivers/spi/spi-tegra20-slink.c if (spi->mode & SPI_CPHA) SPI_CPHA 1029 drivers/spi/spi-tegra20-slink.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 595 drivers/spi/spi-ti-qspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 679 drivers/spi/spi-ti-qspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD; SPI_CPHA 429 drivers/spi/spi-topcliff-pch.c if (spi->mode & SPI_CPHA) SPI_CPHA 1356 drivers/spi/spi-topcliff-pch.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; SPI_CPHA 173 drivers/spi/spi-txx9.c | ((spi->mode & SPI_CPHA) ? TXx9_SPCR0_SPHA : 0) SPI_CPHA 383 drivers/spi/spi-txx9.c master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; SPI_CPHA 133 drivers/spi/spi-uniphier.c switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { SPI_CPHA 530 drivers/spi/spi-uniphier.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; SPI_CPHA 97 drivers/spi/spi-xcomm.c if (spi->mode & SPI_CPHA) SPI_CPHA 221 drivers/spi/spi-xcomm.c master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; SPI_CPHA 200 drivers/spi/spi-xilinx.c if (spi->mode & SPI_CPHA) SPI_CPHA 424 drivers/spi/spi-xilinx.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CPHA 156 drivers/spi/spi-xlp.c if (spi->mode & SPI_CPHA) SPI_CPHA 410 drivers/spi/spi-xlp.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 117 drivers/spi/spi-zynq-qspi.c #define ZYNQ_QSPI_MODEBITS (SPI_CPOL | SPI_CPHA) SPI_CPHA 345 drivers/spi/spi-zynq-qspi.c if (spi->mode & SPI_CPHA) SPI_CPHA 474 drivers/spi/spi-zynqmp-gqspi.c if (qspi->mode & SPI_CPHA) SPI_CPHA 1095 drivers/spi/spi-zynqmp-gqspi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD | SPI_CPHA 1707 drivers/spi/spi.c spi->mode |= SPI_CPHA; SPI_CPHA 1911 drivers/spi/spi.c lookup->mode |= SPI_CPHA; SPI_CPHA 1955 drivers/spi/spi.c lookup->mode |= SPI_CPHA; SPI_CPHA 3102 drivers/spi/spi.c (int) (spi->mode & (SPI_CPOL | SPI_CPHA)), SPI_CPHA 62 drivers/spi/spidev.c #define SPI_MODE_MASK (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH \ SPI_CPHA 445 drivers/staging/kpc2000/kpc2000_spi.c master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; SPI_CPHA 152 include/linux/spi/spi.h #define SPI_MODE_1 (0|SPI_CPHA) SPI_CPHA 154 include/linux/spi/spi.h #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA) SPI_CPHA 37 include/uapi/linux/spi/spidev.h #define SPI_MODE_1 (0|SPI_CPHA) SPI_CPHA 39 include/uapi/linux/spi/spidev.h #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA) SPI_CPHA 246 tools/spi/spidev_test.c mode |= SPI_CPHA;