Home
last modified time | relevance | path

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

1234

/linux-5.19.10/include/uapi/linux/spi/
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)
/linux-5.19.10/drivers/spi/
Dspi-clps711x.c44 (spi->mode & SPI_CPHA) ? in spi_clps711x_prepare_message()
108 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-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()
Dspi-sc18is602.c135 if (mode & SPI_CPHA) in sc18is602_setup_transfer()
297 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
Dspi-cavium-thunderx.c69 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
Dspi-orion.c245 if (spi->mode & SPI_CPHA) in orion_spi_mode_set()
282 spi->mode & SPI_CPHA) in orion_spi_50mhz_ac_timing_erratum()
672 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST | SPI_CS_WORD; in orion_spi_probe()
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()
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()
Dspi-fsl-lib.c90 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_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()
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-altera-dfl.c117 master->mode_bits |= SPI_CPHA; in config_spi_master()
Dspi-cavium.c45 cpha = mode & SPI_CPHA; in octeon_spi_do_transfer()
Dspi-bcm63xx-hsspi.c233 if (spi->mode & SPI_CPHA) in bcm63xx_hsspi_setup()
418 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | in bcm63xx_hsspi_probe()
Dspi-mpc52xx-psc.c83 if (spi->mode & SPI_CPHA) in mpc52xx_psc_spi_activate_cs()
377 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc52xx_psc_spi_do_probe()
Dspi-cadence.c215 if (spi->mode & SPI_CPHA) in cdns_spi_config_clock_mode()
587 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in cdns_spi_probe()
Dspi-hisi-kunpeng.c318 cr |= FIELD_PREP(CR_CPHA_MASK, (spi->mode & SPI_CPHA) ? 1 : 0); in hisi_spi_prepare_cr()
492 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; in hisi_spi_probe()
Dspi-s3c24xx.c119 if (spi->mode & SPI_CPHA) in s3c24xx_spi_update_state()
480 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in s3c24xx_spi_probe()
Dspi-jcore.c157 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
Dspi-mpc512x-psc.c103 if (spi->mode & SPI_CPHA) in mpc512x_psc_spi_activate_cs()
499 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST; in mpc512x_psc_spi_do_probe()
/linux-5.19.10/drivers/fpga/
Dice40-spi.c161 if (spi->mode & SPI_CPHA) { in ice40_fpga_probe()
/linux-5.19.10/drivers/rtc/
Drtc-ds1302.c122 } else if (spi->mode & SPI_CPHA) { in ds1302_probe()

1234