Home
last modified time | relevance | path

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

1234

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/spi/
Dspidev.h10 #define SPI_CPHA 0x01 macro
13 #define SPI_MODE_1 (0|SPI_CPHA)
15 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/spi/
Dspidev.h23 #define SPI_CPHA 0x01 macro
26 #define SPI_MODE_1 (0 | SPI_CPHA)
28 #define SPI_MODE_3 (SPI_CPOL | SPI_CPHA)
/kernel/linux/linux-5.10/include/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)
/kernel/linux/linux-5.10/drivers/spi/
Dspi-clps711x.c43 (spi->mode & SPI_CPHA) ? in spi_clps711x_prepare_message()
106 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
Dspi-xcomm.c97 if (spi->mode & SPI_CPHA) in spi_xcomm_setup_transfer()
220 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
Dspi-sh-hspi.c131 if (spi->mode & SPI_CPHA) in hspi_hw_setup()
255 ctlr->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
Dspi-cavium-octeon.c47 master->mode_bits = SPI_CPHA | in octeon_spi_probe()
Dspi-oc-tiny.c89 hw->mode = spi->mode & (SPI_CPOL | SPI_CPHA); in tiny_spi_setup()
224 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in tiny_spi_probe()
Dspi-sc18is602.c135 if (mode & SPI_CPHA) in sc18is602_setup_transfer()
292 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
Dspi-bitbang.c198 cs->txrx_word = bitbang->txrx_word[spi->mode & (SPI_CPOL|SPI_CPHA)]; in spi_bitbang_setup()
361 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_init()
Dspi-cavium-thunderx.c69 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
Dspi-omap-uwire.c333 switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { in uwire_setup_transfer()
495 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in uwire_probe()
Dspi-ppc4xx.c238 switch (spi->mode & (SPI_CPHA | SPI_CPOL)) { in spi_ppc4xx_setup()
381 SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST; in spi_ppc4xx_of_probe()
Dspi-orion.c239 if (spi->mode & SPI_CPHA) in orion_spi_mode_set()
276 spi->mode & SPI_CPHA) in orion_spi_50mhz_ac_timing_erratum()
619 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in orion_spi_probe()
Dspi-npcm-pspi.c108 switch (spi->mode & (SPI_CPOL | SPI_CPHA)) { in npcm_pspi_set_mode()
403 master->mode_bits = SPI_CPHA | SPI_CPOL; in npcm_pspi_probe()
Dspi-st-ssc4.c180 #define MODEBITS (SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | SPI_CS_HIGH)
239 if (spi->mode & SPI_CPHA) in spi_st_setup()
Dspi-xlp.c156 if (spi->mode & SPI_CPHA) in xlp_spi_setup()
410 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in xlp_spi_probe()
Dspi-fsl-lib.c90 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
Dspi-efm32.c112 (spi->mode & SPI_CPHA ? REG_CTRL_CLKPHA : 0) | in efm32_spi_setup_transfer()
325 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in efm32_spi_probe()
Dspi-txx9.c170 | ((spi->mode & SPI_CPHA) ? TXx9_SPCR0_SPHA : 0) in txx9spi_work_one()
422 master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; in txx9spi_probe()
Dspi-xilinx.c200 if (spi->mode & SPI_CPHA) in xilinx_spi_chipselect()
429 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | in xilinx_spi_probe()
Dspi-sun4i.c246 if (spi->mode & SPI_CPHA) in sun4i_spi_transfer_one()
467 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in sun4i_spi_probe()
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm70.c164 if (spi->mode & (SPI_CPOL | SPI_CPHA)) in lm70_probe()
/kernel/linux/linux-5.10/include/linux/spi/
Dspi.h168 #define SPI_CPHA 0x01 /* clock phase */ macro
171 #define SPI_MODE_1 (0|SPI_CPHA)
173 #define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
Dnxp-spifi.c309 mode |= SPI_CPHA; in nxp_spifi_setup_flash()
329 switch (mode & (SPI_CPHA | SPI_CPOL)) { in nxp_spifi_setup_flash()

1234