Lines Matching full:irqs
3 * Device driver for irqs in HISI PMIC IC
23 unsigned int *irqs; member
52 * IRQ number for the power key button and mask for both UP and DOWN IRQs
61 * registers are used by the irqs.
68 * The IRQs are mapped as:
108 /* Mark pending IRQs as handled */ in hi6421v600_irq_handler()
116 * If both powerkey down and up IRQs are received, in hi6421v600_irq_handler()
119 generic_handle_irq_safe(priv->irqs[POWERKEY_DOWN]); in hi6421v600_irq_handler()
120 generic_handle_irq_safe(priv->irqs[POWERKEY_UP]); in hi6421v600_irq_handler()
128 generic_handle_irq_safe(priv->irqs[offset + i * BITS_PER_BYTE]); in hi6421v600_irq_handler()
201 /* Mask all IRQs */ in hi6421v600_irq_init()
206 /* Mark all IRQs as handled */ in hi6421v600_irq_init()
253 priv->irqs = devm_kzalloc(dev, PMIC_IRQ_LIST_MAX * sizeof(int), GFP_KERNEL); in hi6421v600_irq_probe()
254 if (!priv->irqs) in hi6421v600_irq_probe()
270 priv->irqs[i] = virq; in hi6421v600_irq_probe()