Searched refs:REGSTORE (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | leon_pci_grpci2.c | 93 #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(reg in grpci2_hw_init() [all...] |
H A D | leon_pci_grpci1.c | 49 #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(reg in grpci1_of_probe() [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A 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(reg in grpci2_hw_init() [all...] |
H A 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(reg in grpci1_of_probe() [all...] |
Completed in 5 milliseconds