Searched refs:SPI_CPHA (Results 1 – 25 of 39) sorted by relevance
12
16 #define SPI_CPHA BIT(0) /* clock phase (1 = SPI_CLOCK_PHASE_SECOND) */ macro19 #define SPI_MODE_1 (0|SPI_CPHA)21 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
153 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum()169 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
237 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus()238 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
35 int cpha = mode & SPI_CPHA; in mscc_bb_spi_cs_activate()
126 int cpha = !!(priv->mode & SPI_CPHA); in soft_spi_xfer()
498 if ((mode & SPI_CPHA) && (mode & SPI_CPOL)) in stm32_qspi_set_mode()500 else if (!(mode & SPI_CPHA) && !(mode & SPI_CPOL)) in stm32_qspi_set_mode()
85 switch (ms->mode & (SPI_CPOL | SPI_CPHA)) { in mt7620_spi_master_setup()
223 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
254 if (mode & (SPI_CPHA | SPI_RX_QUAD | SPI_RX_DUAL | in meson_spifc_set_mode()
90 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
321 if (mode & SPI_CPHA) in espi_claim_bus()447 if (fsl->mode & SPI_CPHA) in __espi_set_mode()
265 if (mode & SPI_CPHA) in pl022_spi_set_mode()
219 if (mode & SPI_CPHA) in spi_cfg_mxc()285 if (mode & SPI_CPHA) in spi_cfg_mxc()
142 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
161 if (plat->mode & SPI_CPHA) in bcm63xx_hsspi_activate_cs()
339 if (mode & SPI_CPHA) in tegra30_spi_set_mode()
332 if (mode & SPI_CPHA) in xilinx_spi_set_mode()
343 if (mode & SPI_CPHA) in zynq_spi_set_mode()
395 if (mode & SPI_CPHA) in exynos_spi_set_mode()
326 if (mode & SPI_CPHA) in pic32_spi_set_mode()
313 if (cfspi->mode & SPI_CPHA) in coldfire_spi_set_mode()
422 reg |= (priv->mode & SPI_CPHA) ? SSP_CTRL1_PHASE : 0; in mxs_spi_set_mode()
369 if (mode & SPI_CPHA) in sifive_spi_set_mode()
322 switch (mode & (SPI_CPOL | SPI_CPHA)) { in uniphier_spi_set_mode()
309 if (priv->mode & SPI_CPHA) in rockchip_spi_claim_bus()
Completed in 31 milliseconds