Searched refs:REGLOAD (Results 1 – 2 of 2) sorted by relevance
92 #define REGLOAD(a) (be32_to_cpu(__raw_readl(&(a)))) macro253 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_r32()267 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) in grpci2_cfg_r32()270 if (REGLOAD(priv->regs->sts_cap) & STS_CFGERR) { in grpci2_cfg_r32()323 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_w32()337 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) 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()508 ctrl = REGLOAD(priv->regs->ctrl); in grpci2_pci_flow_irq()509 sts_cap = REGLOAD(priv->regs->sts_cap); in grpci2_pci_flow_irq()[all …]
48 #define REGLOAD(a) (be32_to_cpu(__raw_readl(&(a)))) macro133 cfg = REGLOAD(priv->regs->cfg_stat); in grpci1_cfg_r32()141 if (REGLOAD(priv->regs->cfg_stat) & CFGSTAT_CTO) { in grpci1_cfg_r32()144 tmp = REGLOAD(priv->regs->stat_cmd); in grpci1_cfg_r32()196 cfg = REGLOAD(priv->regs->cfg_stat); 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()367 irqreg = REGLOAD(priv->regs->irq); in grpci1_pci_flow_irq()434 REGSTORE(regs->iomap, REGLOAD(regs->iomap) & 0x0000ffff); in grpci1_hw_init()548 cfg = REGLOAD(regs->cfg_stat); in grpci1_of_probe()[all …]