/linux-6.12.1/drivers/spi/ |
D | spi-fsl-cpm.c | 52 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 …]
|
D | spi-fsl-cpm.h | 21 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 …]
|
D | spi-fsl-spi.c | 91 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/ |
D | bcm7125.dtsi | 267 mspi: spi@406400 { label 271 "brcm,spi-brcmstb-mspi"; 274 reg-names = "mspi";
|
D | bcm7420.dtsi | 328 mspi: spi@406400 { label 332 "brcm,spi-brcmstb-mspi"; 335 reg-names = "mspi";
|
D | bcm97125cbmb.dts | 66 &mspi {
|
D | bcm7358.dtsi | 359 mspi: spi@408a00 { label 363 "brcm,spi-brcmstb-mspi"; 366 reg-names = "mspi";
|
D | bcm97420c.dts | 88 &mspi {
|
D | bcm97362svmb.dts | 82 &mspi {
|
D | bcm97346dbsmb.dts | 118 &mspi {
|
D | bcm97358svmb.dts | 110 &mspi {
|
D | bcm97360svmb.dts | 113 &mspi {
|
D | bcm7362.dtsi | 406 mspi: spi@408a00 { label 410 "brcm,spi-brcmstb-mspi"; 413 reg-names = "mspi";
|
D | bcm7360.dtsi | 410 mspi: spi@408a00 { label 414 "brcm,spi-brcmstb-mspi"; 417 reg-names = "mspi";
|
D | bcm97435svmb.dts | 124 &mspi {
|
D | bcm97425svmb.dts | 148 &mspi {
|
D | bcm7346.dtsi | 491 mspi: spi@408a00 { label 495 "brcm,spi-brcmstb-mspi"; 498 reg-names = "mspi";
|
D | bcm7435.dtsi | 518 mspi: spi@409200 { label 522 "brcm,spi-brcmstb-mspi"; 525 reg-names = "mspi";
|
D | bcm7425.dtsi | 502 mspi: spi@409200 { label 506 "brcm,spi-brcmstb-mspi"; 509 reg-names = "mspi";
|
/linux-6.12.1/arch/arm/boot/dts/broadcom/ |
D | bcm5301x.dtsi | 105 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
|
D | bcm-hr2.dtsi | 226 reg-names = "mspi", "bspi", "intr_regs",
|
D | bcm-nsp.dtsi | 293 reg-names = "mspi", "bspi", "intr_regs",
|
/linux-6.12.1/arch/arm64/boot/dts/broadcom/northstar2/ |
D | ns2.dtsi | 754 reg-names = "mspi", "bspi", "intr_regs",
|