Home
last modified time | relevance | path

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

12

/third_party/uboot/u-boot-2020.01/include/
Dspi.h16 #define SPI_CPOL BIT(1) /* clock polarity */ macro
19 #define SPI_MODE_2 (SPI_CPOL|0)
20 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/third_party/uboot/u-boot-2020.01/drivers/spi/
Dsoft_spi_legacy.c76 if (ss->mode & SPI_CPOL) in spi_claim_bus()
112 int cpol = ss->mode & SPI_CPOL; in spi_xfer()
Dkirkwood_spi.c264 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()
283 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
Datmel_spi.c83 if (mode & SPI_CPOL) in spi_setup_slave()
259 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
Ddavinci_spi.c269 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()
270 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
Dstm32_qspi.c487 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()
Dmvebu_a3700_spi.c206 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
Dsoft_spi.c219 clk_flags = (slave && slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
Dmxc_spi.c139 if (mode & SPI_CPOL) in spi_cfg_mxc()
198 if (mode & SPI_CPOL) { in spi_cfg_mxc()
Dmxs_spi.c418 reg |= (mxs_slave->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0;
547 reg |= (priv->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0;
Dmeson_spifc.c257 mode & SPI_CPOL ? USER_CLK_NOT_INV : 0); in meson_spifc_set_mode()
Dmt7621_spi.c88 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
Dpl022_spi.c266 if (mode & SPI_CPOL) in pl022_spi_set_mode()
Dspi-sifive.c270 if (mode & SPI_CPOL) in sifive_spi_set_mode()
Dtegra20_slink.c338 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
Dzynq_spi.c322 if (mode & SPI_CPOL) in zynq_spi_set_mode()
Dbcm63xx_hsspi.c122 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
Dxilinx_spi.c334 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
Dfsl_espi.c157 if (mode & SPI_CPOL) in spi_claim_bus()
Dexynos_spi.c395 if (mode & SPI_CPOL) in exynos_spi_set_mode()
Dpic32_spi.c317 if (mode & SPI_CPOL) in pic32_spi_set_mode()
/third_party/uboot/u-boot-2020.01/board/renesas/sh7757lcr/
Dspi-boot.c49 #define SPI_CPOL 0x20 macro
/third_party/uboot/u-boot-2020.01/board/renesas/sh7752evb/
Dspi-boot.c45 #define SPI_CPOL 0x20 macro
/third_party/uboot/u-boot-2020.01/board/renesas/sh7753evb/
Dspi-boot.c43 #define SPI_CPOL 0x20 macro
/third_party/uboot/u-boot-2020.01/board/CZ.NIC/turris_mox/
Dturris_mox.c133 ret = spi_get_bus_and_cs(0, 1, 1000000, SPI_CPHA | SPI_CPOL, in mox_do_spi()

12