Home
last modified time | relevance | path

Searched refs:SPI_NBITS_DUAL (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-bcm63xx-hsspi.c378 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcm63xx_hsspi_do_prepend_txrx()
379 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcm63xx_hsspi_do_prepend_txrx()
382 if (t->rx_nbits == SPI_NBITS_DUAL) { in bcm63xx_hsspi_do_prepend_txrx()
386 if (t->tx_nbits == SPI_NBITS_DUAL) { in bcm63xx_hsspi_do_prepend_txrx()
493 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcm63xx_hsspi_do_txrx()
494 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcm63xx_hsspi_do_txrx()
497 if (t->rx_nbits == SPI_NBITS_DUAL) in bcm63xx_hsspi_do_txrx()
499 if (t->tx_nbits == SPI_NBITS_DUAL) in bcm63xx_hsspi_do_txrx()
H A Dspi-bcmbca-hsspi.c274 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcmbca_hsspi_do_txrx()
275 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcmbca_hsspi_do_txrx()
278 if (t->rx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
280 if (t->tx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
H A Dspi-rb4xx.c120 if (t->tx_nbits == SPI_NBITS_DUAL) in rb4xx_transfer_one()
H A Dspi-img-spfi.c469 if (xfer->tx_nbits == SPI_NBITS_DUAL && in img_spfi_config()
470 xfer->rx_nbits == SPI_NBITS_DUAL) in img_spfi_config()
H A Dspi-fsl-espi.c369 if (t->rx_nbits == SPI_NBITS_DUAL) in fsl_espi_bufs()
417 if (trans->rx_nbits == SPI_NBITS_DUAL && !espi->rxskip) { in fsl_espi_trans()
H A Dspi-sifive.c186 case SPI_NBITS_DUAL: in sifive_spi_prep_transfer()
H A Dspi-ti-qspi.c323 case SPI_NBITS_DUAL: in qspi_read_msg()
564 case SPI_NBITS_DUAL: in ti_qspi_setup_mmap_read()
H A Dspi-rspi.c889 case SPI_NBITS_DUAL: in qspi_transfer_mode()
898 case SPI_NBITS_DUAL: in qspi_transfer_mode()
H A Dspi-pic32-sqi.c286 else if (nbits & SPI_NBITS_DUAL) in pic32_sqi_one_transfer()
H A Dspi-sun6i.c444 case SPI_NBITS_DUAL: in sun6i_spi_transfer_one()
H A Dspi-armada-3700.c166 case SPI_NBITS_DUAL: in a3700_spi_pin_mode_set()
H A Dspi-tegra114.c874 if (t->rx_nbits == SPI_NBITS_DUAL || t->tx_nbits == SPI_NBITS_DUAL) in tegra_spi_start_transfer_one()
H A Dspi-bcm-qspi.c440 case SPI_NBITS_DUAL: in bcm_qspi_bspi_set_flex_mode()
484 case SPI_NBITS_DUAL: in bcm_qspi_bspi_set_override()
H A Dspi.c4002 xfer->tx_nbits != SPI_NBITS_DUAL && in __spi_validate()
4006 if ((xfer->tx_nbits == SPI_NBITS_DUAL) && in __spi_validate()
4018 xfer->rx_nbits != SPI_NBITS_DUAL && in __spi_validate()
4022 if ((xfer->rx_nbits == SPI_NBITS_DUAL) && in __spi_validate()
H A Dspi-tegra210-quad.c904 else if (bus_width == SPI_NBITS_DUAL) in tegra_qspi_start_transfer_one()
/openbmc/linux/include/linux/spi/
H A Dspi.h1056 #define SPI_NBITS_DUAL 0x02 /* 2-bit transfer */ macro