Lines Matching refs:irq

77 	struct intc_irqpin_irq irq[INTC_IRQPIN_MAX];  member
160 int irq, int do_mask) in intc_irqpin_mask_unmask_prio() argument
164 int shift = 32 - (irq + 1) * bitfield_width; in intc_irqpin_mask_unmask_prio()
171 static int intc_irqpin_set_sense(struct intc_irqpin_priv *p, int irq, int value) in intc_irqpin_set_sense() argument
175 int shift = 32 - (irq + 1) * bitfield_width; in intc_irqpin_set_sense()
177 dev_dbg(&p->pdev->dev, "sense irq = %d, mode = %d\n", irq, value); in intc_irqpin_set_sense()
198 intc_irqpin_dbg(&p->irq[hw_irq], "enable"); in intc_irqpin_irq_enable()
207 intc_irqpin_dbg(&p->irq[hw_irq], "disable"); in intc_irqpin_irq_disable()
216 intc_irqpin_dbg(&p->irq[hw_irq], "shared enable"); in intc_irqpin_shared_irq_enable()
227 intc_irqpin_dbg(&p->irq[hw_irq], "shared disable"); in intc_irqpin_shared_irq_disable()
236 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_enable_force() local
244 irq_get_chip(irq)->irq_unmask(irq_get_irq_data(irq)); in intc_irqpin_irq_enable_force()
250 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_disable_force() local
256 irq_get_chip(irq)->irq_mask(irq_get_irq_data(irq)); in intc_irqpin_irq_disable_force()
298 static irqreturn_t intc_irqpin_irq_handler(int irq, void *dev_id) in intc_irqpin_irq_handler() argument
316 static irqreturn_t intc_irqpin_shared_irq_handler(int irq, void *dev_id) in intc_irqpin_shared_irq_handler() argument
328 status |= intc_irqpin_irq_handler(irq, &p->irq[k]); in intc_irqpin_shared_irq_handler()
340 p->irq[hw].domain_irq = virq; in intc_irqpin_irq_domain_map()
341 p->irq[hw].hw_irq = hw; in intc_irqpin_irq_domain_map()
343 intc_irqpin_dbg(&p->irq[hw], "map"); in intc_irqpin_irq_domain_map()
375 struct resource *irq; in intc_irqpin_probe() local
427 irq = platform_get_resource(pdev, IORESOURCE_IRQ, k); in intc_irqpin_probe()
428 if (!irq) in intc_irqpin_probe()
431 p->irq[k].p = p; in intc_irqpin_probe()
432 p->irq[k].requested_irq = irq->start; in intc_irqpin_probe()
497 ref_irq = p->irq[0].requested_irq; in intc_irqpin_probe()
500 if (ref_irq != p->irq[k].requested_irq) { in intc_irqpin_probe()
538 if (devm_request_irq(dev, p->irq[0].requested_irq, in intc_irqpin_probe()
548 if (devm_request_irq(dev, p->irq[k].requested_irq, in intc_irqpin_probe()
550 &p->irq[k])) { in intc_irqpin_probe()
566 if (p->config.irq_base != p->irq[0].domain_irq) in intc_irqpin_probe()
568 p->config.irq_base, p->irq[0].domain_irq); in intc_irqpin_probe()