Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/linux/spi/
Dspidev.h33 #define SPI_CPHA 0x01 macro
37 #define SPI_MODE_1 (0|SPI_CPHA)
39 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/external/u-boot/include/
Dspi.h13 #define SPI_CPHA BIT(0) /* clock phase */ macro
16 #define SPI_MODE_1 (0|SPI_CPHA)
18 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/external/u-boot/drivers/spi/
Dkirkwood_spi.c300 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum()
317 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
Datmel_spi.c86 if (!(mode & SPI_CPHA)) in spi_setup_slave()
262 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
Dsoft_spi_legacy.c120 int cpha = ss->mode & SPI_CPHA; in spi_xfer()
Ddavinci_spi.c270 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus()
271 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
Dmxc_spi.c117 if (mode & SPI_CPHA) in spi_cfg_mxc()
183 if (mode & SPI_CPHA) in spi_cfg_mxc()
Dmvebu_a3700_spi.c211 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
Dsoft_spi.c117 int cpha = priv->mode & SPI_CPHA; in soft_spi_xfer()
Dstm32_qspi.c610 if ((mode & SPI_CPHA) && (mode & SPI_CPOL)) in stm32_qspi_set_mode()
612 else if (!(mode & SPI_CPHA) && !(mode & SPI_CPOL)) in stm32_qspi_set_mode()
Dxilinx_spi.c264 if (mode & SPI_CPHA) in xilinx_spi_set_mode()
Dcf_spi.c222 if (mode & SPI_CPHA) in cfspi_setup_slave()
Dmxs_spi.c103 reg |= (mxs_slave->mode & SPI_CPHA) ? SSP_CTRL1_PHASE : 0; in spi_claim_bus()
Dbcm63xx_hsspi.c158 if (plat->mode & SPI_CPHA) in bcm63xx_hsspi_activate_cs()
Dtegra20_slink.c334 if (mode & SPI_CPHA) in tegra30_spi_set_mode()
Dzynq_spi.c319 if (mode & SPI_CPHA) in zynq_spi_set_mode()
Dfsl_espi.c159 if (mode & SPI_CPHA) in spi_claim_bus()
Dpic32_spi.c323 if (mode & SPI_CPHA) in pic32_spi_set_mode()
Dexynos_spi.c391 if (mode & SPI_CPHA) in exynos_spi_set_mode()
Dspi-uclass.c381 mode |= SPI_CPHA; in spi_slave_ofdata_to_platdata()
Drk_spi.c312 if (priv->mode & SPI_CPHA) in rockchip_spi_claim_bus()
/external/u-boot/board/renesas/sh7757lcr/
Dspi-boot.c50 #define SPI_CPHA 0x10 macro
/external/u-boot/board/CZ.NIC/turris_mox/
Dturris_mox.c65 ret = spi_get_bus_and_cs(0, 1, 20000000, SPI_CPHA, "spi_generic_drv", in last_stage_init()
/external/u-boot/board/renesas/sh7752evb/
Dspi-boot.c46 #define SPI_CPHA 0x10 macro
/external/u-boot/board/renesas/sh7753evb/
Dspi-boot.c44 #define SPI_CPHA 0x10 macro

12