Searched refs:irqidx (Results 1 – 2 of 2) sorted by relevance
318 u32 irqidx; in grpci1_mask_irq() local321 irqidx = (u32)data->chip_data - 1; in grpci1_mask_irq()322 if (irqidx > 3) /* only mask PCI interrupts here */ in grpci1_mask_irq()324 irqidx += IRQ_MASK_BIT; in grpci1_mask_irq()326 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) & ~(1 << irqidx)); in grpci1_mask_irq()331 u32 irqidx; in grpci1_unmask_irq() local334 irqidx = (u32)data->chip_data - 1; in grpci1_unmask_irq()335 if (irqidx > 3) /* only unmask PCI interrupts here */ in grpci1_unmask_irq()337 irqidx += IRQ_MASK_BIT; in grpci1_unmask_irq()339 REGSTORE(priv->regs->irq, REGLOAD(priv->regs->irq) | (1 << irqidx)); in grpci1_unmask_irq()
457 unsigned int irqidx; in grpci2_mask_irq() local460 irqidx = (unsigned int)data->chip_data - 1; in grpci2_mask_irq()461 if (irqidx > 3) /* only mask PCI interrupts here */ in grpci2_mask_irq()465 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) & ~(1 << irqidx)); in grpci2_mask_irq()472 unsigned int irqidx; in grpci2_unmask_irq() local475 irqidx = (unsigned int)data->chip_data - 1; in grpci2_unmask_irq()476 if (irqidx > 3) /* only unmask PCI interrupts here */ in grpci2_unmask_irq()480 REGSTORE(priv->regs->ctrl, REGLOAD(priv->regs->ctrl) | (1 << irqidx)); in grpci2_unmask_irq()