Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
284 mode |= SPI_TX_DUAL; in parse_opts()
303 if (mode & SPI_TX_DUAL) in parse_opts()
/linux-5.19.10/include/uapi/linux/spi/
Dspi.h22 #define SPI_TX_DUAL _BITUL(8) /* transmit with 2 wires */ macro
/linux-5.19.10/drivers/spi/
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()
705 if (ss->hw_mode & SPI_TX_DUAL) in sprd_spi_init_hw()
942 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()
800 SPI_RX_DUAL | SPI_TX_DUAL | in mxic_spi_probe()
Dspi-rb4xx.c157 master->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()
708 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.c439 SPI_TX_DUAL | SPI_TX_QUAD; in hisi_sfc_v3xx_probe()
Dspi-bcm63xx-hsspi.c419 SPI_RX_DUAL | SPI_TX_DUAL; in bcm63xx_hsspi_probe()
Dspi.c2089 spi->mode |= SPI_TX_DUAL; in of_spi_parse_dt()
3476 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_NO_TX)) > 1) || in spi_setup()
3485 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
3497 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
3727 !(spi->mode & (SPI_TX_DUAL | SPI_TX_QUAD))) in __spi_validate()
Dspi-cadence-xspi.c537 master->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()
1208 .extra_mode_bits = SPI_TX_DUAL | SPI_TX_QUAD |
Dspi-qcom-qspi.c524 SPI_TX_DUAL | SPI_RX_DUAL | in qcom_qspi_probe()
Datmel-quadspi.c540 ctrl->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_DUAL | SPI_TX_QUAD; in atmel_qspi_probe()
Dspi-zynq-qspi.c707 SPI_TX_DUAL | SPI_TX_QUAD; in zynq_qspi_probe()
Dspi-pic32-sqi.c649 master->mode_bits = SPI_MODE_3 | SPI_MODE_0 | SPI_TX_DUAL | in pic32_sqi_probe()
Dspi-rockchip-sfc.c572 master->mode_bits = SPI_TX_QUAD | SPI_TX_DUAL | SPI_RX_QUAD | SPI_RX_DUAL; in rockchip_sfc_probe()
Dspi-armada-3700.c845 master->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
Dspi-img-spfi.c588 master->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()
Dspi-npcm-fiu.c729 | SPI_TX_DUAL | SPI_TX_QUAD; in npcm_fiu_probe()
Dspi-fsl-qspi.c857 SPI_TX_DUAL | SPI_TX_QUAD; in fsl_qspi_probe()
Dspi-zynqmp-gqspi.c1186 SPI_TX_DUAL | SPI_TX_QUAD; in zynqmp_qspi_probe()
Dspi-stm32-qspi.c747 | SPI_TX_DUAL | SPI_TX_QUAD; in stm32_qspi_probe()

12