Lines Matching refs:sts_cap
71 unsigned int sts_cap; /* 0x04 Status / Capabilities */ member
258 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); 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()
328 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_w32()
337 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) in grpci2_cfg_w32()
506 unsigned int ctrl, sts_cap, pci_ints; in grpci2_pci_flow_irq() local
509 sts_cap = REGLOAD(priv->regs->sts_cap); in grpci2_pci_flow_irq()
512 if (sts_cap & STS_ERR_IRQ) { in grpci2_pci_flow_irq()
518 pci_ints = ((~sts_cap) >> STS_INTSTS_BIT) & ctrl & CTRL_HOSTINT; in grpci2_pci_flow_irq()
533 if ((priv->irq_mode == 0) && (sts_cap & (STS_IDMA | STS_IDMAERR))) { in grpci2_pci_flow_irq()
579 REGSTORE(regs->sts_cap, ~0); /* Clear Status */ in grpci2_hw_init()
662 status = REGLOAD(regs->sts_cap); in grpci2_err_interrupt()
679 REGSTORE(regs->sts_cap, status & STS_ERR_IRQ); in grpci2_err_interrupt()
715 capability = REGLOAD(regs->sts_cap); in grpci2_of_probe()