Searched refs:SPI_3WIRE (Results 1 – 25 of 28) sorted by relevance
12
164 if ((spi->mode & SPI_3WIRE) == 0) { in spi_lp8841_rtc_setup()194 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
218 pp->bitbang.flags = SPI_3WIRE; in spi_lm70llp_attach()258 pp->info.mode = SPI_3WIRE | SPI_MODE_0; in spi_lm70llp_attach()
102 if (spi->mode & SPI_3WIRE) in spi_xcomm_setup_transfer()219 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
104 if (spi->mode & SPI_3WIRE) in getmiso()278 if (spi->mode & SPI_3WIRE) { in spi_gpio_set_direction()413 host->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | in spi_gpio_probe()
418 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()429 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()595 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()604 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()699 if (ss->hw_mode & SPI_3WIRE) in sprd_spi_init_hw()940 sctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE | SPI_TX_DUAL; in sprd_spi_probe()
168 if (spi->mode & SPI_3WIRE) in cs42l43_prepare_message()237 priv->ctlr->mode_bits = SPI_3WIRE | SPI_MODE_X_MASK; in cs42l43_spi_probe()
51 SPI_3WIRE; in octeon_spi_probe()
70 SPI_LSB_FIRST | SPI_3WIRE; in thunderx_spi_probe()
55 mpi_cfg.s.wireor = (mode & SPI_3WIRE) ? 1 : 0; in octeon_spi_do_transfer()
124 if (spi->mode & SPI_3WIRE) in spi_engine_get_config()533 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; in spi_engine_probe()
248 if (spi->mode & SPI_3WIRE) { in spi_bitbang_bufs()
644 if (xp->mode & SPI_3WIRE) in bcm_qspi_hw_set_parms()983 if ((spi->mode & SPI_3WIRE) && tp.trans->tx_buf) in write_to_hw()1527 SPI_3WIRE; in bcm_qspi_probe()
72 | SPI_NO_CS | SPI_3WIRE)1077 if (spi->mode & SPI_3WIRE && tfr->rx_buf) in bcm2835_spi_transfer_one()
539 host->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
1274 && !(msg->spi->mode & SPI_3WIRE)) { in spi_map_msg()2238 spi->mode |= SPI_3WIRE; in of_spi_parse_dt()3732 if ((spi->mode & SPI_3WIRE) && (spi->mode & in spi_setup()3833 (spi->mode & SPI_3WIRE) ? "3wire, " : "", in spi_setup()3906 (spi->mode & SPI_3WIRE)) { in __spi_validate()
598 !!(spi->mode & SPI_3WIRE), in sh_msiof_prepare_message()1340 ctlr->mode_bits |= SPI_LSB_FIRST | SPI_3WIRE; in sh_msiof_spi_probe()
816 if (spi->mode & SPI_3WIRE) in tegra_spi_setup_transfer_one()1317 SPI_TX_DUAL | SPI_RX_DUAL | SPI_3WIRE; in tegra_spi_probe()
63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
18 #define SPI_3WIRE _BITUL(4) /* SI/SO signals shared */ macro
53 if (spi->mode & SPI_3WIRE) { in adxl313_spi_setup()
263 spi->mode = SPI_MODE_3 | SPI_3WIRE; in ota5601a_probe()
201 spi->mode |= SPI_MODE_3 | SPI_3WIRE; in a030jtn01_probe()
269 spi->mode = SPI_MODE_3 | SPI_3WIRE; in nt39016_probe()
72 (__entry->mode & SPI_3WIRE) ? "3wire, " : "",
281 mode |= SPI_3WIRE; in parse_opts()