/openbmc/u-boot/drivers/spi/ |
H A D | stm32_qspi.c | 242 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 D | ti_qspi.c | 358 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 D | spi-mem.c | 115 (!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 D | meson_spifc.c | 252 if (mode & (SPI_CPHA | SPI_RX_QUAD | SPI_RX_DUAL | in meson_spifc_set_mode()
|
H A D | spi-uclass.c | 452 mode |= SPI_RX_QUAD; in spi_slave_ofdata_to_platdata()
|
H A D | cadence_qspi_apb.c | 562 if (rx_width & SPI_RX_QUAD) in cadence_qspi_apb_indirect_read_setup()
|
/openbmc/linux/tools/spi/ |
H A D | spidev_test.c | 139 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 D | spi.h | 25 #define SPI_RX_QUAD _BITUL(11) /* receive with 4 wires */ macro
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mxic.c | 303 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 D | spi-hisi-sfc-v3xx.c | 401 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 D | spi-synquacer.c | 279 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 D | spi-rpc-if.c | 156 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_QUAD | SPI_RX_QUAD; in rpcif_spi_probe()
|
H A D | spi-mem.c | 116 (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 D | spi-sifive.c | 377 | SPI_RX_DUAL | SPI_RX_QUAD; in sifive_spi_probe()
|
H A D | spi.c | 2298 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 D | spi-amlogic-spifc-a1.c | 362 SPI_RX_QUAD | SPI_TX_QUAD); in amlogic_spifc_a1_probe()
|
H A D | spi-aspeed-smc.c | 1166 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD, 1181 .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
|
H A D | spi-rspi.c | 1015 (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 D | spi-microchip-core-qspi.c | 551 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_RX_DUAL | SPI_RX_QUAD | in mchp_coreqspi_probe()
|
H A D | spi-zynq-qspi.c | 706 ctlr->mode_bits = SPI_RX_DUAL | SPI_RX_QUAD | in zynq_qspi_probe()
|
H A D | spi-cadence-xspi.c | 550 SPI_RX_DUAL | SPI_RX_QUAD | SPI_TX_OCTAL | SPI_RX_OCTAL | in cdns_xspi_probe()
|
H A D | spi-pic32-sqi.c | 650 SPI_RX_DUAL | SPI_TX_QUAD | SPI_RX_QUAD; in pic32_sqi_probe()
|
/openbmc/linux/drivers/mtd/spi-nor/controllers/ |
H A D | nxp-spifi.c | 299 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 D | spi.h | 32 #define SPI_RX_QUAD BIT(13) /* receive with 4 wires */ macro
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 729 if (spi->mode & SPI_RX_QUAD) in spi_nor_scan()
|