Searched refs:SPI_CPOL (Results 1 – 25 of 38) sorted by relevance
12
67 int cidle = !!(priv->mode & SPI_CPOL); in soft_spi_cs_activate()90 int cidle = !!(priv->mode & SPI_CPOL); in soft_spi_claim_bus()127 int cidle = !!(priv->mode & SPI_CPOL); in soft_spi_xfer()249 clk_flags = (slave && slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
152 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()171 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
235 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()236 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
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()
219 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
259 mode & SPI_CPOL ? USER_CLK_NOT_INV : 0); in meson_spifc_set_mode()
90 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
324 if (mode & SPI_CPOL) in espi_claim_bus()451 if (fsl->mode & SPI_CPOL) in __espi_set_mode()
267 if (mode & SPI_CPOL) in pl022_spi_set_mode()
221 if (mode & SPI_CPOL) in spi_cfg_mxc()280 if (mode & SPI_CPOL) { in spi_cfg_mxc()
144 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
125 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
342 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
334 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
345 if (mode & SPI_CPOL) in zynq_spi_set_mode()
398 if (mode & SPI_CPOL) in exynos_spi_set_mode()
320 if (mode & SPI_CPOL) in pic32_spi_set_mode()
311 if (cfspi->mode & SPI_CPOL) in coldfire_spi_set_mode()
421 reg |= (priv->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0; in mxs_spi_set_mode()
371 if (mode & SPI_CPOL) in sifive_spi_set_mode()
322 switch (mode & (SPI_CPOL | SPI_CPHA)) { in uniphier_spi_set_mode()
307 if (priv->mode & SPI_CPOL) in rockchip_spi_claim_bus()
455 mode |= SPI_CPOL; in spi_slave_of_to_plat()
17 #define SPI_CPOL BIT(1) /* clock polarity (1 = SPI_POLARITY_HIGH) */ macro20 #define SPI_MODE_2 (SPI_CPOL|0)21 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
Completed in 50 milliseconds