Lines Matching refs:REGSTORE
92 #define REGSTORE(a, v) (__raw_writel(cpu_to_be32(v), &(a))) macro
252 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_r32()
257 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_r32()
322 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_w32()
327 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_w32()
462 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx)); in grpci2_mask_irq()
477 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx)); in grpci2_unmask_irq()
574 REGSTORE(regs->ctrl, CTRL_RESET); in grpci2_hw_init()
577 REGSTORE(regs->ctrl, 0); in grpci2_hw_init()
578 REGSTORE(regs->sts_cap, ~0); /* Clear Status */ in grpci2_hw_init()
579 REGSTORE(regs->dma_ctrl, 0); in grpci2_hw_init()
580 REGSTORE(regs->dma_bdbase, 0); in grpci2_hw_init()
583 REGSTORE(regs->io_map, REGLOAD(regs->io_map) & 0x0000ffff); in grpci2_hw_init()
589 REGSTORE(regs->ahbmst_map[i], priv->pci_area); in grpci2_hw_init()
645 REGSTORE(regs->ctrl, CTRL_ER | CTRL_PE); in grpci2_hw_init()
678 REGSTORE(regs->sts_cap, status & STS_ERR_IRQ); in grpci2_err_interrupt()
850 REGSTORE(regs->ctrl, REGLOAD(regs->ctrl)|(priv->irq_mask&0xf)); in grpci2_of_probe()
865 REGSTORE(regs->ctrl, REGLOAD(regs->ctrl) | CTRL_EI | CTRL_SI); in grpci2_of_probe()