Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/spi/
Dspi-fsl-cpm.c51 void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_reinit_txrx() argument
53 if (mspi->flags & SPI_QE) { in fsl_spi_cpm_reinit_txrx()
54 qe_issue_cmd(QE_INIT_TX_RX, mspi->subblock, in fsl_spi_cpm_reinit_txrx()
57 if (mspi->flags & SPI_CPM1) { in fsl_spi_cpm_reinit_txrx()
58 out_be32(&mspi->pram->rstate, 0); in fsl_spi_cpm_reinit_txrx()
59 out_be16(&mspi->pram->rbptr, in fsl_spi_cpm_reinit_txrx()
60 in_be16(&mspi->pram->rbase)); in fsl_spi_cpm_reinit_txrx()
61 out_be32(&mspi->pram->tstate, 0); in fsl_spi_cpm_reinit_txrx()
62 out_be16(&mspi->pram->tbptr, in fsl_spi_cpm_reinit_txrx()
63 in_be16(&mspi->pram->tbase)); in fsl_spi_cpm_reinit_txrx()
[all …]
Dspi-fsl-cpm.h21 extern void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi);
22 extern int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi,
24 extern void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi);
25 extern void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events);
26 extern int fsl_spi_cpm_init(struct mpc8xxx_spi *mspi);
27 extern void fsl_spi_cpm_free(struct mpc8xxx_spi *mspi);
29 static inline void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) { } in fsl_spi_cpm_reinit_txrx() argument
30 static inline int fsl_spi_cpm_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpm_bufs() argument
33 static inline void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) { } in fsl_spi_cpm_bufs_complete() argument
34 static inline void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) { } in fsl_spi_cpm_irq() argument
[all …]
Dspi-fsl-spi.c91 struct mpc8xxx_spi *mspi = spi_master_get_devdata(spi->master); in fsl_spi_change_mode() local
93 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_change_mode()
107 if (mspi->flags & SPI_CPM_MODE) { in fsl_spi_change_mode()
108 fsl_spi_cpm_reinit_txrx(mspi); in fsl_spi_change_mode()
290 static int fsl_spi_cpu_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpu_bufs() argument
294 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_cpu_bufs()
296 mspi->count = len; in fsl_spi_cpu_bufs()
302 word = mspi->get_tx(mspi); in fsl_spi_cpu_bufs()
496 static void fsl_spi_cpu_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpu_irq() argument
498 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_cpu_irq()
[all …]
Dspi-fsl-lib.h106 extern int mpc8xxx_spi_bufs(struct mpc8xxx_spi *mspi,
/Linux-v5.10/Documentation/devicetree/bindings/spi/
Dbrcm,spi-bcm-qspi.txt27 "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi" : Second Instance of MSPI
29 "brcm,spi-bcm7425-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
31 "brcm,spi-bcm7429-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
33 "brcm,spi-bcm7435-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
35 "brcm,spi-bcm7445-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
37 "brcm,spi-bcm7216-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
39 "brcm,spi-bcm7278-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
52 "spi-brcmstb-mspi"
93 reg-names = "cs_reg", "mspi", "bspi";
154 compatible = "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi";
[all …]
/Linux-v5.10/arch/mips/boot/dts/brcm/
Dbcm7125.dtsi267 mspi: spi@406400 { label
271 "brcm,spi-brcmstb-mspi";
274 reg-names = "mspi";
Dbcm97125cbmb.dts66 &mspi {
Dbcm7420.dtsi328 mspi: spi@406400 { label
332 "brcm,spi-brcmstb-mspi";
335 reg-names = "mspi";
Dbcm97362svmb.dts82 &mspi {
Dbcm97420c.dts88 &mspi {
Dbcm7358.dtsi359 mspi: spi@408a00 { label
363 "brcm,spi-brcmstb-mspi";
366 reg-names = "mspi";
Dbcm97346dbsmb.dts118 &mspi {
Dbcm97358svmb.dts110 &mspi {
Dbcm97360svmb.dts113 &mspi {
Dbcm97435svmb.dts124 &mspi {
Dbcm97425svmb.dts148 &mspi {
Dbcm7360.dtsi410 mspi: spi@408a00 { label
414 "brcm,spi-brcmstb-mspi";
417 reg-names = "mspi";
Dbcm7362.dtsi406 mspi: spi@408a00 { label
410 "brcm,spi-brcmstb-mspi";
413 reg-names = "mspi";
Dbcm7346.dtsi491 mspi: spi@408a00 { label
495 "brcm,spi-brcmstb-mspi";
498 reg-names = "mspi";
Dbcm7425.dtsi502 mspi: spi@409200 { label
506 "brcm,spi-brcmstb-mspi";
509 reg-names = "mspi";
Dbcm7435.dtsi517 mspi: spi@409200 { label
521 "brcm,spi-brcmstb-mspi";
524 reg-names = "mspi";
/Linux-v5.10/arch/arm/boot/dts/
Dbcm-hr2.dtsi225 reg-names = "mspi", "bspi", "intr_regs",
Dbcm5301x.dtsi517 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
Dbcm-nsp.dtsi292 reg-names = "mspi", "bspi", "intr_regs",
/Linux-v5.10/arch/arm64/boot/dts/broadcom/northstar2/
Dns2.dtsi753 reg-names = "mspi", "bspi", "intr_regs",