Searched refs:SPI_CPOL (Results 1 – 25 of 39) sorted by relevance
12
16 #define SPI_CPOL BIT(1) /* clock polarity */ macro19 #define SPI_MODE_2 (SPI_CPOL|0)20 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
76 if (ss->mode & SPI_CPOL) in spi_claim_bus()112 int cpol = ss->mode & SPI_CPOL; in spi_xfer()
264 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()283 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
83 if (mode & SPI_CPOL) in spi_setup_slave()259 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
269 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()270 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
487 if ((mode & SPI_CPHA) && (mode & SPI_CPOL)) in stm32_qspi_set_mode()489 else if (!(mode & SPI_CPHA) && !(mode & SPI_CPOL)) in stm32_qspi_set_mode()
206 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
219 clk_flags = (slave && slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
139 if (mode & SPI_CPOL) in spi_cfg_mxc()198 if (mode & SPI_CPOL) { in spi_cfg_mxc()
418 reg |= (mxs_slave->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0;547 reg |= (priv->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0;
257 mode & SPI_CPOL ? USER_CLK_NOT_INV : 0); in meson_spifc_set_mode()
88 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
266 if (mode & SPI_CPOL) in pl022_spi_set_mode()
270 if (mode & SPI_CPOL) in sifive_spi_set_mode()
338 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
322 if (mode & SPI_CPOL) in zynq_spi_set_mode()
122 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
334 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
157 if (mode & SPI_CPOL) in spi_claim_bus()
395 if (mode & SPI_CPOL) in exynos_spi_set_mode()
317 if (mode & SPI_CPOL) in pic32_spi_set_mode()
49 #define SPI_CPOL 0x20 macro
45 #define SPI_CPOL 0x20 macro
43 #define SPI_CPOL 0x20 macro
133 ret = spi_get_bus_and_cs(0, 1, 1000000, SPI_CPHA | SPI_CPOL, in mox_do_spi()