Searched refs:SPI_CPOL (Results 1 – 25 of 30) sorted by relevance
12
34 #define SPI_CPOL 0x02 macro38 #define SPI_MODE_2 (SPI_CPOL|0)39 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
14 #define SPI_CPOL BIT(1) /* clock polarity */ macro17 #define SPI_MODE_2 (SPI_CPOL|0)18 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
83 if (ss->mode & SPI_CPOL) in spi_claim_bus()119 int cpol = ss->mode & SPI_CPOL; in spi_xfer()
299 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()319 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
88 if (mode & SPI_CPOL) in spi_setup_slave()264 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
268 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()269 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
119 if (mode & SPI_CPOL) in spi_cfg_mxc()178 if (mode & SPI_CPOL) { in spi_cfg_mxc()
207 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
219 clk_flags = (slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
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()
266 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
220 if (mode & SPI_CPOL) in cfspi_setup_slave()
102 reg |= (mxs_slave->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0; in spi_claim_bus()
122 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
337 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
321 if (mode & SPI_CPOL) in zynq_spi_set_mode()
162 if (mode & SPI_CPOL) in spi_claim_bus()
317 if (mode & SPI_CPOL) in pic32_spi_set_mode()
394 if (mode & SPI_CPOL) in exynos_spi_set_mode()
379 mode |= SPI_CPOL; in spi_slave_ofdata_to_platdata()
310 if (priv->mode & SPI_CPOL) in rockchip_spi_claim_bus()
596 if (mode & SPI_CPOL) in zynq_qspi_set_mode()
49 #define SPI_CPOL 0x20 macro
45 #define SPI_CPOL 0x20 macro
43 #define SPI_CPOL 0x20 macro