Home
last modified time | relevance | path

Searched refs:REGSTORE (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/sparc/kernel/
Dleon_pci_grpci2.c93 #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) macro
253 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_r32()
258 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_r32()
323 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_w32()
328 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_w32()
463 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx)); in grpci2_mask_irq()
478 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx)); in grpci2_unmask_irq()
575 REGSTORE(regs->ctrl, CTRL_RESET); in grpci2_hw_init()
578 REGSTORE(regs->ctrl, 0); in grpci2_hw_init()
579 REGSTORE(regs->sts_cap, ~0); /* Clear Status */ in grpci2_hw_init()
[all …]
Dleon_pci_grpci1.c49 #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) macro
134 REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23)); in grpci1_cfg_r32()
197 REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23)); in grpci1_cfg_w32()
325 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) & ~(1 << irqidx)); in grpci1_mask_irq()
338 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) | (1 << irqidx)); in grpci1_unmask_irq()
427 REGSTORE(regs->cfg_stat, priv->pci_area & 0xf0000000); in grpci1_hw_init()
431 REGSTORE(regs->page1, ahbadr); in grpci1_hw_init()
434 REGSTORE(regs->iomap, REGLOAD(regs->iomap) & 0x0000ffff); in grpci1_hw_init()
437 REGSTORE(regs->irq, 0); in grpci1_hw_init()
555 REGSTORE(regs->page1, 0xffffffff); in grpci1_of_probe()
[all …]