/openbmc/linux/include/uapi/linux/spi/ |
H A D | spi.h | 7 #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 D | spi.h | 15 #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 D | spi-clps711x.c | 44 (spi->mode & SPI_CPHA) ? in spi_clps711x_prepare_message() 108 host->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
|
H A D | spi-xcomm.c | 97 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 D | spi-sh-hspi.c | 131 if (spi->mode & SPI_CPHA) in hspi_hw_setup() 255 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
|
H A D | spi-cavium-octeon.c | 47 host->mode_bits = SPI_CPHA | in octeon_spi_probe()
|
H A D | spi-cavium-thunderx.c | 69 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
|
H A D | spi-sc18is602.c | 134 if (mode & SPI_CPHA) in sc18is602_setup_transfer() 296 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
|
H A D | spi-mpc52xx-psc.c | 71 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 D | spi-bitbang.c | 201 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 D | spi-orion.c | 244 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 D | spi-fsl-lib.c | 91 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
|
H A D | spi-xlp.c | 155 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 D | spi-st-ssc4.c | 174 #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 D | spi-altera-dfl.c | 117 host->mode_bits |= SPI_CPHA; in config_spi_host()
|
H A D | spi-xilinx.c | 200 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 D | spi-boot.c | 50 #define SPI_CPHA 0x10 macro
|
/openbmc/u-boot/board/renesas/sh7752evb/ |
H A D | spi-boot.c | 46 #define SPI_CPHA 0x10 macro
|
/openbmc/u-boot/board/renesas/sh7753evb/ |
H A D | spi-boot.c | 44 #define SPI_CPHA 0x10 macro
|
/openbmc/u-boot/drivers/spi/ |
H A D | soft_spi_legacy.c | 113 int cpha = ss->mode & SPI_CPHA; in spi_xfer()
|
H A D | kirkwood_spi.c | 301 mode & SPI_CPHA) in mvebu_spi_50mhz_ac_timing_erratum() 317 if (mode & SPI_CPHA) in mvebu_spi_set_mode()
|
H A D | atmel_spi.c | 81 if (!(mode & SPI_CPHA)) in spi_setup_slave() 257 if (!(priv->mode & SPI_CPHA)) in atmel_spi_claim_bus()
|
H A D | davinci_spi.c | 271 if (!(ds->mode & SPI_CPHA)) in __davinci_spi_claim_bus() 272 mode |= SPI_CPHA; in __davinci_spi_claim_bus()
|
H A D | mscc_bb_spi.c | 34 int cpha = mode & SPI_CPHA; in mscc_bb_spi_cs_activate()
|
/openbmc/linux/drivers/fpga/ |
H A D | ice40-spi.c | 161 if (spi->mode & SPI_CPHA) { in ice40_fpga_probe()
|