Home
last modified time | relevance | path

Searched refs:SPI_TX_QUAD (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/tools/spi/
H A Dspidev_test.c133 else if (mode & SPI_TX_QUAD) in transfer()
144 if (mode & (SPI_TX_OCTAL | SPI_TX_QUAD | SPI_TX_DUAL)) in transfer()
308 mode |= SPI_TX_QUAD; in parse_opts()
326 if (mode & SPI_TX_QUAD) in parse_opts()
/openbmc/u-boot/drivers/spi/
H A Dstm32_qspi.c236 if (mode & SPI_TX_QUAD) in _stm32_qspi_gen_ccr()
626 if (mode & SPI_TX_QUAD) in stm32_qspi_set_mode()
627 priv->mode |= SPI_TX_QUAD; in stm32_qspi_set_mode()
631 priv->mode &= ~(SPI_TX_QUAD | SPI_TX_DUAL); in stm32_qspi_set_mode()
642 if (mode & SPI_TX_QUAD) in stm32_qspi_set_mode()
H A Dspi-mem.c114 if ((tx && (mode & (SPI_TX_DUAL | SPI_TX_QUAD))) || in spi_check_buswidth_req()
121 if ((tx && (mode & SPI_TX_QUAD)) || in spi_check_buswidth_req()
H A Dmeson_spifc.c253 SPI_TX_QUAD | SPI_TX_DUAL)) in meson_spifc_set_mode()
H A Dspi-uclass.c437 mode |= SPI_TX_QUAD; in spi_slave_ofdata_to_platdata()
/openbmc/linux/include/uapi/linux/spi/
H A Dspi.h23 #define SPI_TX_QUAD _BITUL(9) /* transmit with 4 wires */ macro
/openbmc/linux/drivers/spi/
H A Dspi-mxic.c303 else if (spi->mode & (SPI_TX_QUAD | SPI_RX_QUAD)) in mxic_spi_prep_hc_cfg()
604 if (((spi->mode & SPI_TX_QUAD) && in mxic_spi_transfer_one()
616 if (spi->mode & SPI_TX_QUAD) in mxic_spi_transfer_one()
800 SPI_RX_QUAD | SPI_TX_QUAD | in mxic_spi_probe()
H A Dspi-hisi-sfc-v3xx.c401 hisi_sfc_v3xx_buswidth_override_bits = SPI_RX_QUAD | SPI_TX_QUAD; in hisi_sfc_v3xx_dmi_quirk()
444 SPI_TX_DUAL | SPI_TX_QUAD; in hisi_sfc_v3xx_probe()
H A Dspi-synquacer.c279 if (bpw == 8 && (mode & (SPI_TX_QUAD | SPI_RX_QUAD)) && div < 6) in synquacer_spi_config()
281 if (bpw == 16 && (mode & (SPI_TX_QUAD | SPI_RX_QUAD)) && div < 3) in synquacer_spi_config()
708 SPI_TX_QUAD | SPI_RX_QUAD; in synquacer_spi_probe()
H A Dspi-rpc-if.c156 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_QUAD | SPI_RX_QUAD; in rpcif_spi_probe()
H A Dspi-mem.c114 (mode & (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL))) || in spi_check_buswidth_req()
122 if ((tx && (mode & (SPI_TX_QUAD | SPI_TX_OCTAL))) || in spi_check_buswidth_req()
H A Dspi-sifive.c376 | SPI_TX_DUAL | SPI_TX_QUAD in sifive_spi_probe()
H A Dspi.c2274 spi->mode |= SPI_TX_QUAD; in of_spi_parse_dt()
3758 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_NO_TX)) > 1) || in spi_setup()
3767 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
3779 (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL | in spi_setup()
4014 !(spi->mode & (SPI_TX_DUAL | SPI_TX_QUAD))) in __spi_validate()
4017 !(spi->mode & SPI_TX_QUAD)) in __spi_validate()
H A Dspi-amlogic-spifc-a1.c362 SPI_RX_QUAD | SPI_TX_QUAD); in amlogic_spifc_a1_probe()
H A Dspi-aspeed-smc.c1166 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
1181 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
H A 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 |
H A Dspi-microchip-core-qspi.c552 SPI_TX_DUAL | SPI_TX_QUAD; in mchp_coreqspi_probe()
H A Dspi-cadence-xspi.c549 host->mode_bits = SPI_3WIRE | SPI_TX_DUAL | SPI_TX_QUAD | in cdns_xspi_probe()
H A Dspi-zynq-qspi.c716 SPI_TX_DUAL | SPI_TX_QUAD; in zynq_qspi_probe()
H A Dspi-pic32-sqi.c650 SPI_RX_DUAL | SPI_TX_QUAD | SPI_RX_QUAD; in pic32_sqi_probe()
H A Dspi-rockchip-sfc.c571 host->mode_bits = SPI_TX_QUAD | SPI_TX_DUAL | SPI_RX_QUAD | SPI_RX_DUAL; in rockchip_sfc_probe()
H A Dspi-sn-f-ospi.c616 ctlr->mode_bits = SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL in f_ospi_probe()
H A Dspi-armada-3700.c845 SPI_RX_QUAD | SPI_TX_QUAD); in a3700_spi_probe()
H A Dspi-img-spfi.c589 host->mode_bits |= SPI_TX_QUAD | SPI_RX_QUAD; in img_spfi_probe()
/openbmc/u-boot/include/
H A Dspi.h29 #define SPI_TX_QUAD BIT(10) /* transmit with 4 wires */ macro

12