Home
last modified time | relevance | path

Searched refs:SPI_3WIRE (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/drivers/spi/
Dspi-lp8841-rtc.c164 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()
Dspi-lm70llp.c218 pp->bitbang.flags = SPI_3WIRE; in spi_lm70llp_attach()
258 pp->info.mode = SPI_3WIRE | SPI_MODE_0; in spi_lm70llp_attach()
Dspi-xcomm.c102 if (spi->mode & SPI_3WIRE) in spi_xcomm_setup_transfer()
219 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
Dspi-gpio.c104 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()
Dspi-sprd.c418 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()
Dspi-cs42l43.c168 if (spi->mode & SPI_3WIRE) in cs42l43_prepare_message()
237 priv->ctlr->mode_bits = SPI_3WIRE | SPI_MODE_X_MASK; in cs42l43_spi_probe()
Dspi-cavium-octeon.c51 SPI_3WIRE; in octeon_spi_probe()
Dspi-cavium-thunderx.c70 SPI_LSB_FIRST | SPI_3WIRE; in thunderx_spi_probe()
Dspi-cavium.c55 mpi_cfg.s.wireor = (mode & SPI_3WIRE) ? 1 : 0; in octeon_spi_do_transfer()
Dspi-axi-spi-engine.c124 if (spi->mode & SPI_3WIRE) in spi_engine_get_config()
533 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; in spi_engine_probe()
Dspi-bitbang.c248 if (spi->mode & SPI_3WIRE) { in spi_bitbang_bufs()
Dspi-bcm-qspi.c644 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()
Dspi-bcm2835.c72 | SPI_NO_CS | SPI_3WIRE)
1077 if (spi->mode & SPI_3WIRE && tfr->rx_buf) in bcm2835_spi_transfer_one()
Dspi-cadence-xspi.c539 host->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
Dspi.c1274 && !(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()
Dspi-sh-msiof.c598 !!(spi->mode & SPI_3WIRE), in sh_msiof_prepare_message()
1340 ctlr->mode_bits |= SPI_LSB_FIRST | SPI_3WIRE; in sh_msiof_spi_probe()
Dspi-tegra114.c816 if (spi->mode & SPI_3WIRE) in tegra_spi_setup_transfer_one()
1317 SPI_TX_DUAL | SPI_RX_DUAL | SPI_3WIRE; in tegra_spi_probe()
Dspidev.c63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
/Linux-v6.6/include/uapi/linux/spi/
Dspi.h18 #define SPI_3WIRE _BITUL(4) /* SI/SO signals shared */ macro
/Linux-v6.6/drivers/iio/accel/
Dadxl313_spi.c53 if (spi->mode & SPI_3WIRE) { in adxl313_spi_setup()
/Linux-v6.6/drivers/gpu/drm/panel/
Dpanel-orisetech-ota5601a.c263 spi->mode = SPI_MODE_3 | SPI_3WIRE; in ota5601a_probe()
Dpanel-auo-a030jtn01.c201 spi->mode |= SPI_MODE_3 | SPI_3WIRE; in a030jtn01_probe()
Dpanel-novatek-nt39016.c269 spi->mode = SPI_MODE_3 | SPI_3WIRE; in nt39016_probe()
/Linux-v6.6/include/trace/events/
Dspi.h72 (__entry->mode & SPI_3WIRE) ? "3wire, " : "",
/Linux-v6.6/tools/spi/
Dspidev_test.c281 mode |= SPI_3WIRE; in parse_opts()

12