Home
last modified time | relevance | path

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

12

/openbmc/linux/include/uapi/linux/spi/
H A Dspi.h18 #define SPI_3WIRE _BITUL(4) /* SI/SO signals shared */ macro
/openbmc/linux/drivers/spi/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dspi-cavium-octeon.c51 SPI_3WIRE; in octeon_spi_probe()
H A 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()
H A 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()
H A Dspi-cavium-thunderx.c70 SPI_LSB_FIRST | SPI_3WIRE; in thunderx_spi_probe()
H A Dspi-cavium.c55 mpi_cfg.s.wireor = (mode & SPI_3WIRE) ? 1 : 0; in octeon_spi_do_transfer()
H A Dspi-axi-spi-engine.c134 if (spi->mode & SPI_3WIRE) in spi_engine_get_config()
551 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE; in spi_engine_probe()
H A Dspi-bitbang.c248 if (spi->mode & SPI_3WIRE) { in spi_bitbang_bufs()
H A 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()
H A Dspi-bcm2835.c72 | SPI_NO_CS | SPI_3WIRE)
1077 if (spi->mode & SPI_3WIRE && tfr->rx_buf) in bcm2835_spi_transfer_one()
/openbmc/linux/drivers/iio/accel/
H A Dadxl313_spi.c53 if (spi->mode & SPI_3WIRE) { in adxl313_spi_setup()
/openbmc/u-boot/drivers/spi/
H A Dlpc32xx_ssp.c58 if (mode & SPI_3WIRE) { in spi_setup_slave()
H A Dbcm63xx_hsspi.c248 if (plat->mode & SPI_3WIRE) in bcm63xx_hsspi_xfer()
H A Dbcm63xx_spi.c279 if (plat->mode & SPI_3WIRE) in bcm63xx_spi_xfer()
H A Dspi-uclass.c424 mode |= SPI_3WIRE; in spi_slave_ofdata_to_platdata()
/openbmc/u-boot/include/
H A Dspi.h23 #define SPI_3WIRE BIT(4) /* SI/SO signals shared */ macro
/openbmc/linux/include/trace/events/
H A Dspi.h72 (__entry->mode & SPI_3WIRE) ? "3wire, " : "",
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-orisetech-ota5601a.c263 spi->mode = SPI_MODE_3 | SPI_3WIRE; in ota5601a_probe()
H A Dpanel-auo-a030jtn01.c201 spi->mode |= SPI_MODE_3 | SPI_3WIRE; in a030jtn01_probe()
H A Dpanel-novatek-nt39016.c269 spi->mode = SPI_MODE_3 | SPI_3WIRE; in nt39016_probe()
/openbmc/linux/tools/spi/
H A Dspidev_test.c281 mode |= SPI_3WIRE; in parse_opts()

12