Lines Matching refs:sts_cap
73 unsigned int sts_cap; /* 0x04 Status / Capabilities */ member
260 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_r32()
269 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) in grpci2_cfg_r32()
272 if (REGLOAD(priv->regs->sts_cap) & STS_CFGERR) { in grpci2_cfg_r32()
330 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_w32()
339 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) in grpci2_cfg_w32()
508 unsigned int ctrl, sts_cap, pci_ints; in grpci2_pci_flow_irq() local
511 sts_cap = REGLOAD(priv->regs->sts_cap); in grpci2_pci_flow_irq()
514 if (sts_cap & STS_ERR_IRQ) { in grpci2_pci_flow_irq()
520 pci_ints = ((~sts_cap) >> STS_INTSTS_BIT) & ctrl & CTRL_HOSTINT; in grpci2_pci_flow_irq()
535 if ((priv->irq_mode == 0) && (sts_cap & (STS_IDMA | STS_IDMAERR))) { in grpci2_pci_flow_irq()
581 REGSTORE(regs->sts_cap, ~0); /* Clear Status */ in grpci2_hw_init()
664 status = REGLOAD(regs->sts_cap); in grpci2_err_interrupt()
681 REGSTORE(regs->sts_cap, status & STS_ERR_IRQ); in grpci2_err_interrupt()
717 capability = REGLOAD(regs->sts_cap); in grpci2_of_probe()