Searched refs:SPI_TX_DUAL (Results 1 – 25 of 38) sorted by relevance
12
135 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()
22 #define SPI_TX_DUAL _BITUL(8) /* transmit with 2 wires */ macro
418 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()
305 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()
157 host->mode_bits = SPI_TX_DUAL; in rb4xx_spi_probe()
277 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()
376 | SPI_TX_DUAL | SPI_TX_QUAD in sifive_spi_probe()
444 SPI_TX_DUAL | SPI_TX_QUAD; in hisi_sfc_v3xx_probe()
361 ctrl->mode_bits = (SPI_RX_DUAL | SPI_TX_DUAL | in amlogic_spifc_a1_probe()
362 SPI_TX_DUAL | SPI_LOOP; in pci1xxxx_spi_probe()
551 SPI_TX_DUAL | SPI_TX_QUAD; in mchp_coreqspi_probe()
539 host->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
1015 (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 |
2257 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()
707 SPI_TX_DUAL | SPI_TX_QUAD; in zynq_qspi_probe()
649 host->mode_bits = SPI_MODE_3 | SPI_MODE_0 | SPI_TX_DUAL | in pic32_sqi_probe()
524 SPI_RX_DUAL | SPI_TX_DUAL; in bcmbca_hsspi_probe()
571 host->mode_bits = SPI_TX_QUAD | SPI_TX_DUAL | SPI_RX_QUAD | SPI_RX_DUAL; in rockchip_sfc_probe()
613 ctlr->mode_bits = SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL in f_ospi_probe()
791 .mode_bits = SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD,
589 ctrl->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_DUAL | SPI_TX_QUAD; in atmel_qspi_probe()
844 host->mode_bits |= (SPI_RX_DUAL | SPI_TX_DUAL | in a3700_spi_probe()
587 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_DUAL | SPI_RX_DUAL; in img_spfi_probe()
64 | SPI_NO_CS | SPI_READY | SPI_TX_DUAL \
114 (mode & (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL))) || in spi_check_buswidth_req()