Home
last modified time | relevance | path

Searched refs:qspi (Results 1 – 25 of 212) sorted by relevance

123456789

/linux-6.12.1/drivers/spi/
Dspi-bcm-qspi.c255 static inline bool has_bspi(struct bcm_qspi *qspi) in has_bspi() argument
257 return qspi->bspi_mode; in has_bspi()
261 static inline bool bcm_qspi_has_fastbr(struct bcm_qspi *qspi) in bcm_qspi_has_fastbr() argument
263 if (!has_bspi(qspi) && in bcm_qspi_has_fastbr()
264 ((qspi->mspi_maj_rev >= 1) && in bcm_qspi_has_fastbr()
265 (qspi->mspi_min_rev >= 5))) in bcm_qspi_has_fastbr()
272 static inline bool bcm_qspi_has_sysclk_108(struct bcm_qspi *qspi) in bcm_qspi_has_sysclk_108() argument
274 if (!has_bspi(qspi) && (qspi->mspi_spcr3_sysclk || in bcm_qspi_has_sysclk_108()
275 ((qspi->mspi_maj_rev >= 1) && in bcm_qspi_has_sysclk_108()
276 (qspi->mspi_min_rev >= 6)))) in bcm_qspi_has_sysclk_108()
[all …]
Dspi-stm32-qspi.c131 struct stm32_qspi *qspi = (struct stm32_qspi *)dev_id; in stm32_qspi_irq() local
134 cr = readl_relaxed(qspi->io_base + QSPI_CR); in stm32_qspi_irq()
135 sr = readl_relaxed(qspi->io_base + QSPI_SR); in stm32_qspi_irq()
140 writel_relaxed(cr, qspi->io_base + QSPI_CR); in stm32_qspi_irq()
141 complete(&qspi->match_completion); in stm32_qspi_irq()
149 writel_relaxed(cr, qspi->io_base + QSPI_CR); in stm32_qspi_irq()
150 complete(&qspi->data_completion); in stm32_qspi_irq()
166 static int stm32_qspi_tx_poll(struct stm32_qspi *qspi, in stm32_qspi_tx_poll() argument
184 ret = readl_relaxed_poll_timeout_atomic(qspi->io_base + QSPI_SR, in stm32_qspi_tx_poll()
188 dev_err(qspi->dev, "fifo timeout (len:%d stat:%#x)\n", in stm32_qspi_tx_poll()
[all …]
Dspi-ti-qspi.c126 static inline unsigned long ti_qspi_read(struct ti_qspi *qspi, in ti_qspi_read() argument
129 return readl(qspi->base + reg); in ti_qspi_read()
132 static inline void ti_qspi_write(struct ti_qspi *qspi, in ti_qspi_write() argument
135 writel(val, qspi->base + reg); in ti_qspi_write()
140 struct ti_qspi *qspi = spi_controller_get_devdata(spi->controller); in ti_qspi_setup() local
144 dev_dbg(qspi->dev, "host busy doing other transfers\n"); in ti_qspi_setup()
148 if (!qspi->host->max_speed_hz) { in ti_qspi_setup()
149 dev_err(qspi->dev, "spi max frequency not defined\n"); in ti_qspi_setup()
153 spi->max_speed_hz = min(spi->max_speed_hz, qspi->host->max_speed_hz); in ti_qspi_setup()
155 ret = pm_runtime_resume_and_get(qspi->dev); in ti_qspi_setup()
[all …]
Dspi-microchip-core-qspi.c126 static int mchp_coreqspi_set_mode(struct mchp_coreqspi *qspi, const struct spi_mem_op *op) in mchp_coreqspi_set_mode() argument
128 u32 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
156 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
161 static inline void mchp_coreqspi_read_op(struct mchp_coreqspi *qspi) in mchp_coreqspi_read_op() argument
165 if (!qspi->rx_len) in mchp_coreqspi_read_op()
168 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
175 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
177 while (qspi->rx_len >= 4) { in mchp_coreqspi_read_op()
178 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_RXFIFOEMPTY) in mchp_coreqspi_read_op()
180 data = readl_relaxed(qspi->regs + REG_X4_RX_DATA); in mchp_coreqspi_read_op()
[all …]
DMakefile36 obj-$(CONFIG_SPI_BCM_QSPI) += spi-iproc-qspi.o spi-brcmstb-qspi.o spi-bcm-qspi.o
44 obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o
62 obj-$(CONFIG_SPI_FSL_QUADSPI) += spi-fsl-qspi.o
85 obj-$(CONFIG_SPI_MICROCHIP_CORE_QSPI) += spi-microchip-core-qspi.o
104 obj-$(CONFIG_SPI_TI_QSPI) += spi-ti-qspi.o
116 obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom-qspi.o
137 obj-$(CONFIG_SPI_STM32_QSPI) += spi-stm32-qspi.o
156 obj-$(CONFIG_SPI_ZYNQ_QSPI) += spi-zynq-qspi.o
/linux-6.12.1/arch/arm/boot/dts/intel/socfpga/
Dsocfpga_arria10_socdk_qspi.dts9 &qspi {
26 partition@qspi-boot {
31 partition@qspi-rootfs {
Dsocfpga_arria5_socdk.dts116 &qspi {
133 partition@qspi-boot {
139 partition@qspi-rootfs {
Dsocfpga_cyclone5_socdk.dts121 &qspi {
138 partition@qspi-boot {
144 partition@qspi-rootfs {
/linux-6.12.1/arch/arm/boot/dts/renesas/
Dr8a7742-iwg21m.dtsi40 qspi-en-hog {
84 qspi_pins: qspi {
86 function = "qspi";
90 &qspi {
Dr8a7744-iwg20m.dtsi39 qspi_pins: qspi {
41 function = "qspi";
61 &qspi {
Dr8a7743-iwg20m.dtsi44 qspi_pins: qspi {
46 function = "qspi";
66 &qspi {
Dr8a7745-iwg22m.dtsi43 qspi_pins: qspi {
45 function = "qspi";
70 &qspi {
/linux-6.12.1/arch/arm64/boot/dts/xilinx/
Dzynqmp-zcu1275-revA.dts23 spi0 = &qspi;
45 &qspi {
Dzynqmp-zc1254-revA.dts23 spi0 = &qspi;
41 &qspi {
Dzynqmp-zc1232-revA.dts22 spi0 = &qspi;
40 &qspi {
Dzynqmp-zc1751-xm018-dc4.dts29 spi0 = &qspi;
173 &qspi {
/linux-6.12.1/arch/arm/boot/dts/microchip/
Dat91-sam9x60ek.dts325 qspi {
326 pinctrl_qspi: qspi {
570 &qspi {
587 label = "qspi: at91bootstrap";
592 label = "qspi: bootloader";
597 label = "qspi: bootloader env redundant";
602 label = "qspi: bootloader env";
607 label = "qspi: device tree";
612 label = "qspi: kernel";
Dat91-sama5d2_icp.dts692 label = "qspi: at91bootstrap";
697 label = "qspi: bootloader";
702 label = "qspi: bootloader env redundant";
707 label = "qspi: bootloader env";
712 label = "qspi: device tree";
717 label = "qspi: kernel";
/linux-6.12.1/arch/mips/boot/dts/brcm/
Dbcm7125.dtsi247 qspi: spi@443000 { label
250 compatible = "brcm,spi-bcm-qspi",
251 "brcm,spi-brcmstb-qspi";
270 compatible = "brcm,spi-bcm-qspi",
Dbcm7420.dtsi308 qspi: spi@443000 { label
311 compatible = "brcm,spi-bcm-qspi",
312 "brcm,spi-brcmstb-qspi";
331 compatible = "brcm,spi-bcm-qspi",
Dbcm7358.dtsi339 qspi: spi@413000 { label
342 compatible = "brcm,spi-bcm-qspi",
343 "brcm,spi-brcmstb-qspi";
362 compatible = "brcm,spi-bcm-qspi",
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7280-chrome-common.dtsi85 * Chrome designs always boot from SPI flash hooked up to the qspi.
91 &qspi {
165 qspi_sleep: qspi-sleep-state {
/linux-6.12.1/arch/arm64/boot/dts/amd/
Delba.dtsi81 qspi: spi@2400 { label
82 compatible = "amd,pensando-elba-qspi", "cdns,qspi-nor";
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm5301x.dtsi100 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx7-tqma7.dtsi24 qspi-reset-hog {
28 line-name = "qspi-reset";
258 &qspi {

123456789