Home
last modified time | relevance | path

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

123456

/openbmc/linux/include/uapi/linux/spi/
H A Dspi.h7 #define SPI_CPHA _BITUL(0) /* clock phase */ macro
11 #define SPI_MODE_1 (0|SPI_CPHA)
13 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
14 #define SPI_MODE_X_MASK (SPI_CPOL|SPI_CPHA)
/openbmc/u-boot/include/
H A Dspi.h15 #define SPI_CPHA BIT(0) /* clock phase */ macro
18 #define SPI_MODE_1 (0|SPI_CPHA)
20 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/openbmc/linux/drivers/spi/
H A Dspi-clps711x.c44 (spi->mode & SPI_CPHA) ? in spi_clps711x_prepare_message()
108 host->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
H A Dspi-xcomm.c97 if (spi->mode & SPI_CPHA) in spi_xcomm_setup_transfer()
219 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
H A Dspi-sh-hspi.c131 if (spi->mode & SPI_CPHA) in hspi_hw_setup()
255 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
H A Dspi-cavium-octeon.c47 host->mode_bits = SPI_CPHA | in octeon_spi_probe()
H A Dspi-cavium-thunderx.c69 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
H A Dspi-sc18is602.c134 if (mode & SPI_CPHA) in sc18is602_setup_transfer()
296 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
H A Dspi-mpc52xx-psc.c71 if (spi->mode & SPI_CPHA) in mpc52xx_psc_spi_activate_cs()
310 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc52xx_psc_spi_of_probe()
H A Dspi-bitbang.c201 cs->txrx_word = bitbang->txrx_word[spi->mode & (SPI_CPOL|SPI_CPHA)]; in spi_bitbang_setup()
364 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_init()
H A Dspi-orion.c244 if (spi->mode & SPI_CPHA) in orion_spi_mode_set()
281 spi->mode & SPI_CPHA) in orion_spi_50mhz_ac_timing_erratum()
671 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST | SPI_CS_WORD; in orion_spi_probe()
H A Dspi-fsl-lib.c91 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
H A Dspi-xlp.c155 if (spi->mode & SPI_CPHA) in xlp_spi_setup()
409 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in xlp_spi_probe()
H A Dspi-st-ssc4.c174 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)
220 if (spi->mode & SPI_CPHA) in spi_st_setup()
H A Dspi-altera-dfl.c117 host->mode_bits |= SPI_CPHA; in config_spi_host()
H A Dspi-xilinx.c200 if (spi->mode & SPI_CPHA) in xilinx_spi_chipselect()
432 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
/openbmc/u-boot/board/renesas/sh7757lcr/
H A Dspi-boot.c50 #define SPI_CPHA 0x10 macro
/openbmc/u-boot/board/renesas/sh7752evb/
H A Dspi-boot.c46 #define SPI_CPHA 0x10 macro
/openbmc/u-boot/board/renesas/sh7753evb/
H A Dspi-boot.c44 #define SPI_CPHA 0x10 macro
/openbmc/u-boot/drivers/spi/
H A Dsoft_spi_legacy.c113 int cpha = ss->mode & SPI_CPHA; in spi_xfer()
H A Dkirkwood_spi.c301 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum()
317 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
H A Datmel_spi.c81 if (!(mode & SPI_CPHA)) in spi_setup_slave()
257 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
H A Ddavinci_spi.c271 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus()
272 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
H A Dmscc_bb_spi.c34 int cpha = mode & SPI_CPHA; in mscc_bb_spi_cs_activate()
/openbmc/linux/drivers/fpga/
H A Dice40-spi.c161 if (spi->mode & SPI_CPHA) { in ice40_fpga_probe()

123456