Searched refs:mode_bits (Results 1 – 25 of 79) sorted by relevance
1234
202 unsigned int mode_bits) in a3700_spi_mode_set() argument208 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()
49 master->mode_bits = SPI_CPHA | in octeon_spi_probe()
389 if (!master->mode_bits) in spi_bitbang_start()390 master->mode_bits = SPI_CPOL | SPI_CPHA | bitbang->flags; in spi_bitbang_start()
67 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | in thunderx_spi_probe()
250 u16 mode_bits; member1149 .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()
356 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()
94 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH in mpc8xxx_spi_probe()
161 master->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
129 master->mode_bits = SPI_CPHA | SPI_CS_HIGH; in spi_clps711x_probe()
155 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in jcore_spi_probe()
205 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
222 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
186 master->mode_bits = SPI_CS_HIGH; in altera_spi_probe()
267 master->mode_bits = SPI_CPOL | SPI_CPHA; in hspi_probe()
405 master->mode_bits = SPI_MODE_3; in falcon_sflash_probe()
303 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_LSB_FIRST; in sc18is602_probe()
644 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()
411 master->mode_bits = SPI_3WIRE | SPI_CPHA | SPI_CPOL; in spi_gpio_probe()
257 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in tiny_spi_probe()
488 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; in uwire_probe()
377 master->mode_bits = MODEBITS; in omap1_spi100k_probe()
313 master->mode_bits = MODEBITS; in spi_st_probe()
383 master->mode_bits = SPI_CS_HIGH | SPI_CPOL | SPI_CPHA; in txx9spi_probe()
343 u32 mode_cycle_bits, mode_bits; in atmel_qspi_run_command() local366 mode_bits = cmd->num_mode_cycles * mode_cycle_bits; in atmel_qspi_run_command()367 switch (mode_bits) { in atmel_qspi_run_command()
195 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; in netup_spi_init()