Home
last modified time | relevance | path

Searched refs:mode_bits (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v4.19/drivers/spi/
Dspi-armada-3700.c202 unsigned int mode_bits) in a3700_spi_mode_set() argument
208 if (mode_bits & SPI_CPOL) in a3700_spi_mode_set()
213 if (mode_bits & SPI_CPHA) in a3700_spi_mode_set()
308 a3700_spi_mode_set(a3700_spi, master->mode_bits); in a3700_spi_init()
844 master->mode_bits = SPI_MODE_3; in a3700_spi_probe()
851 master->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
Dspi-cavium-octeon.c49 master->mode_bits = SPI_CPHA | in octeon_spi_probe()
Dspi-bitbang.c389 if (!master->mode_bits) in spi_bitbang_start()
390 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_start()
Dspi-cavium-thunderx.c67 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
Dspi-rspi.c250 u16 mode_bits; member
1149 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1157 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP,
1165 .mode_bits = SPI_CPHA | SPI_CPOL | SPI_LOOP |
1283 master->mode_bits = ops->mode_bits; in rspi_probe()
Dspi-nuc900.c356 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in nuc900_spi_probe()
358 master->mode_bits |= SPI_LSB_FIRST; in nuc900_spi_probe()
Dspi-fsl-lib.c94 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
Dspi-rb4xx.c161 master->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
Dspi-clps711x.c129 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
Dspi-jcore.c155 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
Dspi-lp8841-rtc.c205 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
Dspi-xcomm.c222 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
Dspi-altera.c186 master->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
Dspi-sh-hspi.c267 master->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
Dspi-falcon.c405 master->mode_bits = SPI_MODE_3; in falcon_sflash_probe()
Dspi-sc18is602.c303 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
Dspi-img-spfi.c644 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; in img_spfi_probe()
646 master->mode_bits |= SPI_TX_QUAD | SPI_RX_QUAD; in img_spfi_probe()
Dspi-gpio.c411 master->mode_bits = SPI_3WIRE | SPI_CPHA | SPI_CPOL; in spi_gpio_probe()
Dspi-oc-tiny.c257 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in tiny_spi_probe()
Dspi-omap-uwire.c488 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in uwire_probe()
Dspi-omap-100k.c377 master->mode_bits = MODEBITS; in omap1_spi100k_probe()
Dspi-st-ssc4.c313 master->mode_bits = MODEBITS; in spi_st_probe()
Dspi-txx9.c383 master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; in txx9spi_probe()
/Linux-v4.19/drivers/mtd/spi-nor/
Datmel-quadspi.c343 u32 mode_cycle_bits, mode_bits; in atmel_qspi_run_command() local
366 mode_bits = cmd->num_mode_cycles * mode_cycle_bits; in atmel_qspi_run_command()
367 switch (mode_bits) { in atmel_qspi_run_command()
/Linux-v4.19/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c195 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in netup_spi_init()

1234