Home
last modified time | relevance | path

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

12

/u-boot/include/
A Dspi.h16 #define SPI_CPHA BIT(0) /* clock phase (1 = SPI_CLOCK_PHASE_SECOND) */ macro
19 #define SPI_MODE_1 (0|SPI_CPHA)
21 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/u-boot/drivers/spi/
A Dkirkwood_spi.c153 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum()
169 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
A Ddavinci_spi.c237 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus()
238 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
A Dmscc_bb_spi.c35 int cpha = mode & SPI_CPHA; in mscc_bb_spi_cs_activate()
A Dsoft_spi.c126 int cpha = !!(priv->mode & SPI_CPHA); in soft_spi_xfer()
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.c223 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
A Dmeson_spifc.c254 if (mode & (SPI_CPHA | SPI_RX_QUAD | SPI_RX_DUAL | in meson_spifc_set_mode()
A Dmt7621_spi.c90 switch (mode & (SPI_CPOL | SPI_CPHA)) { in mt7621_spi_set_mode()
A Dfsl_espi.c321 if (mode & SPI_CPHA) in espi_claim_bus()
447 if (fsl->mode & SPI_CPHA) in __espi_set_mode()
A Dpl022_spi.c265 if (mode & SPI_CPHA) in pl022_spi_set_mode()
A Dmxc_spi.c219 if (mode & SPI_CPHA) in spi_cfg_mxc()
285 if (mode & SPI_CPHA) in spi_cfg_mxc()
A Datmel_spi.c142 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
A Dbcm63xx_hsspi.c161 if (plat->mode & SPI_CPHA) in bcm63xx_hsspi_activate_cs()
A Dtegra20_slink.c339 if (mode & SPI_CPHA) in tegra30_spi_set_mode()
A Dxilinx_spi.c332 if (mode & SPI_CPHA) in xilinx_spi_set_mode()
A Dzynq_spi.c343 if (mode & SPI_CPHA) in zynq_spi_set_mode()
A Dexynos_spi.c395 if (mode & SPI_CPHA) in exynos_spi_set_mode()
A Dpic32_spi.c326 if (mode & SPI_CPHA) in pic32_spi_set_mode()
A Dcf_spi.c313 if (cfspi->mode & SPI_CPHA) in coldfire_spi_set_mode()
A Dmxs_spi.c422 reg |= (priv->mode & SPI_CPHA) ? SSP_CTRL1_PHASE : 0; in mxs_spi_set_mode()
A Dspi-sifive.c369 if (mode & SPI_CPHA) in sifive_spi_set_mode()
A Duniphier_spi.c322 switch (mode & (SPI_CPOL | SPI_CPHA)) { in uniphier_spi_set_mode()
A Drk_spi.c309 if (priv->mode & SPI_CPHA) in rockchip_spi_claim_bus()

Completed in 31 milliseconds

12