Home
last modified time | relevance | path

Searched refs:SPI_RX_QUAD (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/u-boot/drivers/spi/
H A Dstm32_qspi.c242 if (mode & SPI_RX_QUAD) in _stm32_qspi_gen_ccr()
619 if (mode & SPI_RX_QUAD) in stm32_qspi_set_mode()
620 priv->mode |= SPI_RX_QUAD; in stm32_qspi_set_mode()
624 priv->mode &= ~(SPI_RX_QUAD | SPI_RX_DUAL); in stm32_qspi_set_mode()
635 if (mode & SPI_RX_QUAD) in stm32_qspi_set_mode()
H A Dti_qspi.c358 slave->mode |= SPI_RX_QUAD; in ti_spi_setup_spi_register()
444 u32 mode = slave->mode & (SPI_RX_QUAD | SPI_RX_DUAL); in __ti_qspi_setup_memorymap()
454 case SPI_RX_QUAD: in __ti_qspi_setup_memorymap()
458 slave->mode |= SPI_RX_QUAD; in __ti_qspi_setup_memorymap()
H A Dspi-mem.c115 (!tx && (mode & (SPI_RX_DUAL | SPI_RX_QUAD)))) in spi_check_buswidth_req()
122 (!tx && (mode & SPI_RX_QUAD))) in spi_check_buswidth_req()
H A Dmeson_spifc.c252 if (mode & (SPI_CPHA | SPI_RX_QUAD | SPI_RX_DUAL | in meson_spifc_set_mode()
H A Dspi-uclass.c452 mode |= SPI_RX_QUAD; in spi_slave_ofdata_to_platdata()
H A Dcadence_qspi_apb.c562 if (rx_width & SPI_RX_QUAD) in cadence_qspi_apb_indirect_read_setup()
/openbmc/linux/tools/spi/
H A Dspidev_test.c139 else if (mode & SPI_RX_QUAD) in transfer()
146 else if (mode & (SPI_RX_OCTAL | SPI_RX_QUAD | SPI_RX_DUAL)) in transfer()
327 mode |= SPI_RX_QUAD; in parse_opts()
/openbmc/linux/include/uapi/linux/spi/
H A Dspi.h25 #define SPI_RX_QUAD _BITUL(11) /* receive 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()
605 !(spi->mode & SPI_RX_QUAD)) || in mxic_spi_transfer_one()
621 if (spi->mode & SPI_RX_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()
443 ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_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.c116 (mode & (SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL)))) in spi_check_buswidth_req()
123 (!tx && (mode & (SPI_RX_QUAD | SPI_RX_OCTAL)))) in spi_check_buswidth_req()
H A Dspi-sifive.c377 | SPI_RX_DUAL | SPI_RX_QUAD; in sifive_spi_probe()
H A Dspi.c2298 spi->mode |= SPI_RX_QUAD; in of_spi_parse_dt()
3760 (SPI_RX_DUAL | SPI_RX_QUAD | SPI_NO_RX)) > 1)) { in spi_setup()
3768 SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL))) in spi_setup()
3780 SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL); in spi_setup()
4030 !(spi->mode & (SPI_RX_DUAL | SPI_RX_QUAD))) in __spi_validate()
4033 !(spi->mode & SPI_RX_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()
1207 SPI_RX_DUAL | SPI_RX_QUAD,
H A Dspi-microchip-core-qspi.c551 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD | in mchp_coreqspi_probe()
H A Dspi-zynq-qspi.c706 ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | in zynq_qspi_probe()
H A Dspi-cadence-xspi.c550 SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_OCTAL | SPI_RX_OCTAL | in cdns_xspi_probe()
H A Dspi-pic32-sqi.c650 SPI_RX_DUAL | SPI_TX_QUAD | SPI_RX_QUAD; in pic32_sqi_probe()
/openbmc/linux/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c299 mode |= SPI_RX_QUAD; in nxp_spifi_setup_flash()
321 } else if (mode & SPI_RX_QUAD) { in nxp_spifi_setup_flash()
/openbmc/u-boot/include/
H A Dspi.h32 #define SPI_RX_QUAD BIT(13) /* receive with 4 wires */ macro
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-tiny.c729 if (spi->mode & SPI_RX_QUAD) in spi_nor_scan()

12