Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-fsl-cpm.c52 void fsl_spi_cpm_reinit_txrx(struct mpc8xxx_spi *mspi) in fsl_spi_cpm_reinit_txrx() argument
54 if (mspi->flags & SPI_QE) { in fsl_spi_cpm_reinit_txrx()
55 qe_issue_cmd(QE_INIT_TX_RX, mspi->subblock, in fsl_spi_cpm_reinit_txrx()
58 if (mspi->flags & SPI_CPM1) { in fsl_spi_cpm_reinit_txrx()
59 iowrite32be(0, &mspi->pram->rstate); in fsl_spi_cpm_reinit_txrx()
60 iowrite16be(ioread16be(&mspi->pram->rbase), in fsl_spi_cpm_reinit_txrx()
61 &mspi->pram->rbptr); in fsl_spi_cpm_reinit_txrx()
62 iowrite32be(0, &mspi->pram->tstate); in fsl_spi_cpm_reinit_txrx()
63 iowrite16be(ioread16be(&mspi->pram->tbase), in fsl_spi_cpm_reinit_txrx()
64 &mspi->pram->tbptr); 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
32 static inline void fsl_spi_cpm_bufs_complete(struct mpc8xxx_spi *mspi) { } in fsl_spi_cpm_bufs_complete() argument
33 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_controller_get_devdata(spi->controller); 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()
234 static int fsl_spi_cpu_bufs(struct mpc8xxx_spi *mspi, in fsl_spi_cpu_bufs() argument
238 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_cpu_bufs()
240 mspi->count = len; in fsl_spi_cpu_bufs()
246 word = mspi->get_tx(mspi); in fsl_spi_cpu_bufs()
425 static void fsl_spi_cpu_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpu_irq() argument
427 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_cpu_irq()
[all …]
/linux-6.12.1/arch/mips/boot/dts/brcm/
Dbcm7125.dtsi267 mspi: spi@406400 { label
271 "brcm,spi-brcmstb-mspi";
274 reg-names = "mspi";
Dbcm7420.dtsi328 mspi: spi@406400 { label
332 "brcm,spi-brcmstb-mspi";
335 reg-names = "mspi";
Dbcm97125cbmb.dts66 &mspi {
Dbcm7358.dtsi359 mspi: spi@408a00 { label
363 "brcm,spi-brcmstb-mspi";
366 reg-names = "mspi";
Dbcm97420c.dts88 &mspi {
Dbcm97362svmb.dts82 &mspi {
Dbcm97346dbsmb.dts118 &mspi {
Dbcm97358svmb.dts110 &mspi {
Dbcm97360svmb.dts113 &mspi {
Dbcm7362.dtsi406 mspi: spi@408a00 { label
410 "brcm,spi-brcmstb-mspi";
413 reg-names = "mspi";
Dbcm7360.dtsi410 mspi: spi@408a00 { label
414 "brcm,spi-brcmstb-mspi";
417 reg-names = "mspi";
Dbcm97435svmb.dts124 &mspi {
Dbcm97425svmb.dts148 &mspi {
Dbcm7346.dtsi491 mspi: spi@408a00 { label
495 "brcm,spi-brcmstb-mspi";
498 reg-names = "mspi";
Dbcm7435.dtsi518 mspi: spi@409200 { label
522 "brcm,spi-brcmstb-mspi";
525 reg-names = "mspi";
Dbcm7425.dtsi502 mspi: spi@409200 { label
506 "brcm,spi-brcmstb-mspi";
509 reg-names = "mspi";
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm5301x.dtsi105 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
Dbcm-hr2.dtsi226 reg-names = "mspi", "bspi", "intr_regs",
Dbcm-nsp.dtsi293 reg-names = "mspi", "bspi", "intr_regs",
/linux-6.12.1/arch/arm64/boot/dts/broadcom/northstar2/
Dns2.dtsi754 reg-names = "mspi", "bspi", "intr_regs",