Searched refs:irqidx (Results 1 – 2 of 2) sorted by relevance
317 u32 irqidx; in grpci1_mask_irq() local320 irqidx = (u32)data->chip_data - 1; in grpci1_mask_irq()321 if (irqidx > 3) /* only mask PCI interrupts here */ in grpci1_mask_irq()323 irqidx += IRQ_MASK_BIT; in grpci1_mask_irq()325 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) & ~(1 << irqidx)); in grpci1_mask_irq()330 u32 irqidx; in grpci1_unmask_irq() local333 irqidx = (u32)data->chip_data - 1; in grpci1_unmask_irq()334 if (irqidx > 3) /* only unmask PCI interrupts here */ in grpci1_unmask_irq()336 irqidx += IRQ_MASK_BIT; in grpci1_unmask_irq()338 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) | (1 << irqidx)); in grpci1_unmask_irq()
455 unsigned int irqidx; in grpci2_mask_irq() local458 irqidx = (unsigned int)data->chip_data - 1; in grpci2_mask_irq()459 if (irqidx > 3) /* only mask PCI interrupts here */ in grpci2_mask_irq()463 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx)); in grpci2_mask_irq()470 unsigned int irqidx; in grpci2_unmask_irq() local473 irqidx = (unsigned int)data->chip_data - 1; in grpci2_unmask_irq()474 if (irqidx > 3) /* only unmask PCI interrupts here */ in grpci2_unmask_irq()478 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx)); in grpci2_unmask_irq()