Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/spi/
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-lp8841-rtc.c165 if ((spi->mode & SPI_3WIRE) == 0) { in spi_lp8841_rtc_setup()
195 master->mode_bits = SPI_CS_HIGH | SPI_3WIRE | SPI_LSB_FIRST; in spi_lp8841_rtc_probe()
Dspi-xcomm.c102 if (spi->mode & SPI_3WIRE) in spi_xcomm_setup_transfer()
220 master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; in spi_xcomm_probe()
Dspi-sprd.c419 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()
430 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_txrx_bufs()
596 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()
605 if (ss->hw_mode & SPI_3WIRE || ss->hw_mode & SPI_TX_DUAL) in sprd_spi_dma_txrx_bufs()
700 if (ss->hw_mode & SPI_3WIRE) in sprd_spi_init_hw()
942 sctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE | SPI_TX_DUAL; in sprd_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-gpio.c105 if (spi->mode & SPI_3WIRE) in getmiso()
404 master->mode_bits = SPI_3WIRE | SPI_3WIRE_HIZ | SPI_CPHA | SPI_CPOL | in spi_gpio_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 master->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)
1073 if (spi->mode & SPI_3WIRE && tfr->rx_buf) in bcm2835_spi_transfer_one()
Dspi.c1179 && !(msg->spi->mode & SPI_3WIRE)) { in spi_map_msg()
2074 spi->mode |= SPI_3WIRE; in of_spi_parse_dt()
3484 if ((spi->mode & SPI_3WIRE) && (spi->mode & in spi_setup()
3579 (spi->mode & SPI_3WIRE) ? "3wire, " : "", in spi_setup()
3654 (spi->mode & SPI_3WIRE)) { in __spi_validate()
Dspi-cadence-xspi.c537 master->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
Dspi-sh-msiof.c599 !!(spi->mode & SPI_3WIRE), in sh_msiof_prepare_message()
1340 ctlr->mode_bits |= SPI_LSB_FIRST | SPI_3WIRE; in sh_msiof_spi_probe()
Dspidev.c63 | SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP \
Dspi-tegra114.c821 if (spi->mode & SPI_3WIRE) in tegra_spi_setup_transfer_one()
1322 SPI_TX_DUAL | SPI_RX_DUAL | SPI_3WIRE; in tegra_spi_probe()
Dspi-stm32.c1383 if (spi_dev->mode & SPI_3WIRE) { /* MISO/MOSI signals shared */ in stm32_spi_communication_type()
1850 SPI_3WIRE; in stm32_spi_probe()
/linux-5.19.10/include/uapi/linux/spi/
Dspi.h18 #define SPI_3WIRE _BITUL(4) /* SI/SO signals shared */ macro
/linux-5.19.10/drivers/iio/accel/
Dadxl313_spi.c32 if (spi->mode & SPI_3WIRE) { in adxl313_spi_setup()
/linux-5.19.10/include/trace/events/
Dspi.h72 (__entry->mode & SPI_3WIRE) ? "3wire, " : "",
/linux-5.19.10/drivers/gpu/drm/panel/
Dpanel-novatek-nt39016.c270 spi->mode = SPI_MODE_3 | SPI_3WIRE; in nt39016_probe()
/linux-5.19.10/tools/spi/
Dspidev_test.c269 mode |= SPI_3WIRE; in parse_opts()
/linux-5.19.10/drivers/iio/frequency/
Dad9523.c768 (st->spi->mode & SPI_3WIRE ? 0 : in ad9523_setup()
/linux-5.19.10/drivers/clk/
Dclk-lmk04832.c1481 if (!(spi->mode & SPI_3WIRE)) { in lmk04832_probe()