Home
last modified time | relevance | path

Searched refs:SPI_CPOL (Results 1 – 25 of 38) sorted by relevance

12

/u-boot/drivers/spi/
A Dsoft_spi.c67 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()
A Dkirkwood_spi.c152 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()
171 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
A Ddavinci_spi.c235 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()
236 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
A Dstm32_qspi.c498 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()
A Dmt7620_spi.c85 switch (ms->mode & (SPI_CPOL | SPI_CPHA)) { in mt7620_spi_master_setup()
A Dmvebu_a3700_spi.c219 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
A Dmeson_spifc.c259 mode & SPI_CPOL ? USER_CLK_NOT_INV : 0); in meson_spifc_set_mode()
A Dmt7621_spi.c90 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
A Dfsl_espi.c324 if (mode & SPI_CPOL) in espi_claim_bus()
451 if (fsl->mode & SPI_CPOL) in __espi_set_mode()
A Dpl022_spi.c267 if (mode & SPI_CPOL) in pl022_spi_set_mode()
A Dmxc_spi.c221 if (mode & SPI_CPOL) in spi_cfg_mxc()
280 if (mode & SPI_CPOL) { in spi_cfg_mxc()
A Datmel_spi.c144 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
A Dbcm63xx_hsspi.c125 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
A Dtegra20_slink.c342 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
A Dxilinx_spi.c334 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
A Dzynq_spi.c345 if (mode & SPI_CPOL) in zynq_spi_set_mode()
A Dexynos_spi.c398 if (mode & SPI_CPOL) in exynos_spi_set_mode()
A Dpic32_spi.c320 if (mode & SPI_CPOL) in pic32_spi_set_mode()
A Dcf_spi.c311 if (cfspi->mode & SPI_CPOL) in coldfire_spi_set_mode()
A Dmxs_spi.c421 reg |= (priv->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0; in mxs_spi_set_mode()
A Dspi-sifive.c371 if (mode & SPI_CPOL) in sifive_spi_set_mode()
A Duniphier_spi.c322 switch (mode & (SPI_CPOL | SPI_CPHA)) { in uniphier_spi_set_mode()
A Drk_spi.c307 if (priv->mode & SPI_CPOL) in rockchip_spi_claim_bus()
A Dspi-uclass.c455 mode |= SPI_CPOL; in spi_slave_of_to_plat()
/u-boot/include/
A Dspi.h17 #define SPI_CPOL BIT(1) /* clock polarity (1 = SPI_POLARITY_HIGH) */ macro
20 #define SPI_MODE_2 (SPI_CPOL|0)
21 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)

Completed in 32 milliseconds

12