Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/uapi/linux/spi/
Dspidev.h34 #define SPI_CPOL 0x02 macro
38 #define SPI_MODE_2 (SPI_CPOL|0)
39 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/external/u-boot/include/
Dspi.h14 #define SPI_CPOL BIT(1) /* clock polarity */ macro
17 #define SPI_MODE_2 (SPI_CPOL|0)
18 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/external/u-boot/drivers/spi/
Dsoft_spi_legacy.c83 if (ss->mode & SPI_CPOL) in spi_claim_bus()
119 int cpol = ss->mode & SPI_CPOL; in spi_xfer()
Dkirkwood_spi.c299 mode & SPI_CPOL && in mvebu_spi_50mhz_ac_timing_erratum()
319 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
Datmel_spi.c88 if (mode & SPI_CPOL) in spi_setup_slave()
264 if (priv->mode & SPI_CPOL) in atmel_spi_claim_bus()
Ddavinci_spi.c268 if (ds->mode & SPI_CPOL) in __davinci_spi_claim_bus()
269 mode |= SPI_CPOL; in __davinci_spi_claim_bus()
Dmxc_spi.c119 if (mode & SPI_CPOL) in spi_cfg_mxc()
178 if (mode & SPI_CPOL) { in spi_cfg_mxc()
Dmvebu_a3700_spi.c207 if (mode & SPI_CPOL) in mvebu_spi_set_mode()
Dsoft_spi.c219 clk_flags = (slave->mode & SPI_CPOL) ? GPIOD_ACTIVE_LOW : 0; in soft_spi_probe()
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.c266 if (mode & SPI_CPOL) in xilinx_spi_set_mode()
Dcf_spi.c220 if (mode & SPI_CPOL) in cfspi_setup_slave()
Dmxs_spi.c102 reg |= (mxs_slave->mode & SPI_CPOL) ? SSP_CTRL1_POLARITY : 0; in spi_claim_bus()
Dbcm63xx_hsspi.c122 if (mode & SPI_CPOL) in bcm63xx_hsspi_set_mode()
Dtegra20_slink.c337 if (mode & SPI_CPOL) in tegra30_spi_set_mode()
Dzynq_spi.c321 if (mode & SPI_CPOL) in zynq_spi_set_mode()
Dfsl_espi.c162 if (mode & SPI_CPOL) in spi_claim_bus()
Dpic32_spi.c317 if (mode & SPI_CPOL) in pic32_spi_set_mode()
Dexynos_spi.c394 if (mode & SPI_CPOL) in exynos_spi_set_mode()
Dspi-uclass.c379 mode |= SPI_CPOL; in spi_slave_ofdata_to_platdata()
Drk_spi.c310 if (priv->mode & SPI_CPOL) in rockchip_spi_claim_bus()
Dzynq_qspi.c596 if (mode & SPI_CPOL) in zynq_qspi_set_mode()
/external/u-boot/board/renesas/sh7757lcr/
Dspi-boot.c49 #define SPI_CPOL 0x20 macro
/external/u-boot/board/renesas/sh7752evb/
Dspi-boot.c45 #define SPI_CPOL 0x20 macro
/external/u-boot/board/renesas/sh7753evb/
Dspi-boot.c43 #define SPI_CPOL 0x20 macro

12