/Linux-v6.6/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 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 …]
|
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() 426 static void fsl_spi_cpu_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_spi_cpu_irq() argument 428 struct fsl_spi_reg __iomem *reg_base = mspi->reg_base; in fsl_spi_cpu_irq() [all …]
|
D | spi-bcm-qspi.c | 83 /* MSPI register offsets */ 191 MSPI, enumerator 610 /* MSPI helpers */ 636 bcm_qspi_write(qspi, MSPI, MSPI_SPCR0_MSB, spcr); in bcm_qspi_hw_set_parms() 670 bcm_qspi_write(qspi, MSPI, MSPI_SPCR1_LSB, 1); in bcm_qspi_hw_set_parms() 681 bcm_qspi_write(qspi, MSPI, MSPI_SPCR3, spcr); in bcm_qspi_hw_set_parms() 688 bcm_qspi_write(qspi, MSPI, MSPI_SPCR0_LSB, spbr); in bcm_qspi_hw_set_parms() 784 return bcm_qspi_read(qspi, MSPI, slot_offset) & 0xff; in read_rxram_slot_u8() 793 return (bcm_qspi_read(qspi, MSPI, lsb_offset) & 0xff) | in read_rxram_slot_u16() 794 ((bcm_qspi_read(qspi, MSPI, msb_offset) & 0xff) << 8); in read_rxram_slot_u16() [all …]
|
D | spi-brcmstb-qspi.c | 14 { .compatible = "brcm,spi-brcmstb-mspi" },
|
D | spi-bcm-qspi.h | 32 /* MSPI Interrupt masks */
|
D | Kconfig | 199 tristate "Broadcom BSPI and MSPI controller support" 204 Enables support for the Broadcom SPI flash and MSPI controller. 207 flash device as well as MSPI device.
|
/Linux-v6.6/Documentation/devicetree/bindings/spi/ |
D | brcm,spi-bcm-qspi.yaml | 17 MSPI : SPI master controller can read and write to a SPI slave device 18 BSPI : Broadcom SPI in combination with the MSPI hw IP provides acceleration 22 Supported Broadcom SoCs have one instance of MSPI+BSPI controller IP. 23 MSPI master can be used without BSPI. BRCMSTB SoCs have an additional instance 24 of a MSPI master without the BSPI to use with non flash slave devices that 33 - description: Second Instance of MSPI BRCMSTB SoCs 43 - const: brcm,spi-brcmstb-mspi 44 - description: Second Instance of MSPI BRCMSTB SoCs 48 - brcm,spi-brcmstb-mspi 60 - const: mspi [all …]
|
/Linux-v6.6/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 | bcm7358.dtsi | 359 mspi: spi@408a00 { label 363 "brcm,spi-brcmstb-mspi"; 366 reg-names = "mspi";
|
D | bcm97125cbmb.dts | 66 &mspi {
|
D | bcm7360.dtsi | 410 mspi: spi@408a00 { label 414 "brcm,spi-brcmstb-mspi"; 417 reg-names = "mspi";
|
D | bcm7362.dtsi | 406 mspi: spi@408a00 { label 410 "brcm,spi-brcmstb-mspi"; 413 reg-names = "mspi";
|
D | bcm97362svmb.dts | 82 &mspi {
|
D | bcm97420c.dts | 88 &mspi {
|
D | bcm97346dbsmb.dts | 118 &mspi {
|
D | bcm97358svmb.dts | 110 &mspi {
|
D | bcm97360svmb.dts | 113 &mspi {
|
D | bcm7346.dtsi | 491 mspi: spi@408a00 { label 495 "brcm,spi-brcmstb-mspi"; 498 reg-names = "mspi";
|
D | bcm97435svmb.dts | 124 &mspi {
|
D | bcm97425svmb.dts | 148 &mspi {
|
D | bcm7425.dtsi | 502 mspi: spi@409200 { label 506 "brcm,spi-brcmstb-mspi"; 509 reg-names = "mspi";
|
D | bcm7435.dtsi | 518 mspi: spi@409200 { label 522 "brcm,spi-brcmstb-mspi"; 525 reg-names = "mspi";
|
/Linux-v6.6/arch/arm/boot/dts/broadcom/ |
D | bcm5301x.dtsi | 139 reg-names = "mspi", "bspi", "intr_regs", "intr_status_reg";
|