Searched refs:SPI_CPHA (Results 1 – 25 of 31) sorted by relevance
12
33 #define SPI_CPHA 0x01 macro37 #define SPI_MODE_1 (0|SPI_CPHA)39 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
13 #define SPI_CPHA BIT(0) /* clock phase */ macro16 #define SPI_MODE_1 (0|SPI_CPHA)18 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
300 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum()317 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
86 if (!(mode & SPI_CPHA)) in spi_setup_slave()262 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
120 int cpha = ss->mode & SPI_CPHA; in spi_xfer()
270 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus()271 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
117 if (mode & SPI_CPHA) in spi_cfg_mxc()183 if (mode & SPI_CPHA) in spi_cfg_mxc()
211 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
117 int cpha = priv->mode & SPI_CPHA; in soft_spi_xfer()
610 if ((mode & SPI_CPHA) && (mode & SPI_CPOL)) in stm32_qspi_set_mode()612 else if (!(mode & SPI_CPHA) && !(mode & SPI_CPOL)) in stm32_qspi_set_mode()
264 if (mode & SPI_CPHA) in xilinx_spi_set_mode()
222 if (mode & SPI_CPHA) in cfspi_setup_slave()
103 reg |= (mxs_slave->mode & SPI_CPHA) ? SSP_CTRL1_PHASE : 0; in spi_claim_bus()
158 if (plat->mode & SPI_CPHA) in bcm63xx_hsspi_activate_cs()
334 if (mode & SPI_CPHA) in tegra30_spi_set_mode()
319 if (mode & SPI_CPHA) in zynq_spi_set_mode()
159 if (mode & SPI_CPHA) in spi_claim_bus()
323 if (mode & SPI_CPHA) in pic32_spi_set_mode()
391 if (mode & SPI_CPHA) in exynos_spi_set_mode()
381 mode |= SPI_CPHA; in spi_slave_ofdata_to_platdata()
312 if (priv->mode & SPI_CPHA) in rockchip_spi_claim_bus()
50 #define SPI_CPHA 0x10 macro
65 ret = spi_get_bus_and_cs(0, 1, 20000000, SPI_CPHA, "spi_generic_drv", in last_stage_init()
46 #define SPI_CPHA 0x10 macro
44 #define SPI_CPHA 0x10 macro