Searched refs:REGSTORE (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/arch/sparc/kernel/ |
D | leon_pci_grpci2.c | 95 #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) macro 255 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_r32() 260 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_r32() 325 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_w32() 330 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_w32() 465 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx)); in grpci2_mask_irq() 480 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx)); in grpci2_unmask_irq() 577 REGSTORE(regs->ctrl, CTRL_RESET); in grpci2_hw_init() 580 REGSTORE(regs->ctrl, 0); in grpci2_hw_init() 581 REGSTORE(regs->sts_cap, ~0); /* Clear Status */ in grpci2_hw_init() [all …]
|
D | leon_pci_grpci1.c | 50 #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) macro 135 REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23)); in grpci1_cfg_r32() 198 REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23)); in grpci1_cfg_w32() 326 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) & ~(1 << irqidx)); in grpci1_mask_irq() 339 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) | (1 << irqidx)); in grpci1_unmask_irq() 428 REGSTORE(regs->cfg_stat, priv->pci_area & 0xf0000000); in grpci1_hw_init() 432 REGSTORE(regs->page1, ahbadr); in grpci1_hw_init() 435 REGSTORE(regs->iomap, REGLOAD(regs->iomap) & 0x0000ffff); in grpci1_hw_init() 438 REGSTORE(regs->irq, 0); in grpci1_hw_init() 556 REGSTORE(regs->page1, 0xffffffff); in grpci1_of_probe() [all …]
|