Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/spi/
Dspidev_test.c135 else if (mode & SPI_TX_DUAL) in transfer()
144 if (mode & (SPI_TX_OCTAL | SPI_TX_QUAD | SPI_TX_DUAL)) in transfer()
305 mode |= SPI_TX_DUAL; in parse_opts()
324 if (mode & SPI_TX_DUAL) in parse_opts()
/linux-6.6.21/include/uapi/linux/spi/
Dspi.h22 #define SPI_TX_DUAL _BITUL(8) /* transmit with 2 wires */ macro
/linux-6.6.21/drivers/spi/
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()
704 if (ss->hw_mode & SPI_TX_DUAL) in sprd_spi_init_hw()
940 sctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_3WIRE | SPI_TX_DUAL; in sprd_spi_probe()
Dspi-mxic.c305 else if (spi->mode & (SPI_TX_DUAL | SPI_RX_DUAL)) in mxic_spi_prep_hc_cfg()
606 ((spi->mode & SPI_TX_DUAL) && in mxic_spi_transfer_one()
618 else if (spi->mode & SPI_TX_DUAL) in mxic_spi_transfer_one()
799 SPI_RX_DUAL | SPI_TX_DUAL | in mxic_spi_probe()
Dspi-rb4xx.c157 host->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
Dspi-synquacer.c277 if (bpw == 8 && (mode & (SPI_TX_DUAL | SPI_RX_DUAL)) && div < 3) in synquacer_spi_config()
707 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL | in synquacer_spi_probe()
Dspi-sifive.c376 | SPI_TX_DUAL | SPI_TX_QUAD in sifive_spi_probe()
Dspi-hisi-sfc-v3xx.c444 SPI_TX_DUAL | SPI_TX_QUAD; in hisi_sfc_v3xx_probe()
Dspi-amlogic-spifc-a1.c361 ctrl->mode_bits = (SPI_RX_DUAL | SPI_TX_DUAL | in amlogic_spifc_a1_probe()
Dspi-pci1xxxx.c362 SPI_TX_DUAL | SPI_LOOP; in pci1xxxx_spi_probe()
Dspi-microchip-core-qspi.c551 SPI_TX_DUAL | SPI_TX_QUAD; in mchp_coreqspi_probe()
Dspi-cadence-xspi.c539 host->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
Dspi-rspi.c1015 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_RX_DUAL | SPI_RX_QUAD)) { in rspi_prepare_message()
1206 .extra_mode_bits = SPI_TX_DUAL | SPI_TX_QUAD |
Dspi.c2257 spi->mode |= SPI_TX_DUAL; in of_spi_parse_dt()
3747 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_NO_TX)) > 1) || in spi_setup()
3756 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
3768 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
4002 !(spi->mode & (SPI_TX_DUAL | SPI_TX_QUAD))) in __spi_validate()
Dspi-zynq-qspi.c707 SPI_TX_DUAL | SPI_TX_QUAD; in zynq_qspi_probe()
Dspi-pic32-sqi.c649 host->mode_bits = SPI_MODE_3 | SPI_MODE_0 | SPI_TX_DUAL | in pic32_sqi_probe()
Dspi-bcmbca-hsspi.c524 SPI_RX_DUAL | SPI_TX_DUAL; in bcmbca_hsspi_probe()
Dspi-rockchip-sfc.c571 host->mode_bits = SPI_TX_QUAD | SPI_TX_DUAL | SPI_RX_QUAD | SPI_RX_DUAL; in rockchip_sfc_probe()
Dspi-sn-f-ospi.c613 ctlr->mode_bits = SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL in f_ospi_probe()
Dspi-sun6i.c791 .mode_bits = SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD,
Datmel-quadspi.c589 ctrl->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_DUAL | SPI_TX_QUAD; in atmel_qspi_probe()
Dspi-armada-3700.c844 host->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
Dspi-img-spfi.c587 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; in img_spfi_probe()
Dspidev.c64 | SPI_NO_CS | SPI_READY | SPI_TX_DUAL \
Dspi-mem.c114 (mode & (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL))) || in spi_check_buswidth_req()

12