Lines Matching refs:hwirq

1383 				chip_err(gc, "skip set-up on hwirq %d\n",
1389 /* This is the hwirq for the GPIO line side of things */
1398 "can not allocate irq for GPIO line %d parent hwirq %d in hierarchy domain: %d\n",
1412 unsigned long *hwirq,
1417 return irq_domain_translate_twocell(d, fwspec, hwirq, type);
1424 ret = irq_domain_translate_twocell(d, fwspec, hwirq, type);
1439 irq_hw_number_t hwirq;
1454 ret = gc->irq.child_irq_domain_ops.translate(d, fwspec, &hwirq, &type);
1458 chip_dbg(gc, "allocate IRQ %d, hwirq %lu\n", irq, hwirq);
1460 ret = girq->child_to_parent_hwirq(gc, hwirq, type,
1463 chip_err(gc, "can't look up hwirq %lu\n", hwirq);
1466 chip_dbg(gc, "found parent hwirq %u\n", parent_hwirq);
1474 hwirq,
1487 chip_dbg(gc, "alloc_irqs_parent for %d parent hwirq %d\n",
1499 "failed to allocate parent hwirq %d for hwirq %lu\n",
1500 parent_hwirq, hwirq);
1525 unsigned int hwirq = irqd_to_hwirq(data);
1527 return gpiochip_lock_as_irq(gc, hwirq);
1543 unsigned int hwirq = irqd_to_hwirq(data);
1545 return gpiochip_unlock_as_irq(gc, hwirq);
1659 * @hwirq: the local IRQ/GPIO line offset on this gpiochip
1666 irq_hw_number_t hwirq)
1671 if (!gpiochip_irqchip_irq_valid(gc, hwirq))
1689 ret = irq_set_parent(irq, gc->irq.map[hwirq]);
1770 unsigned int hwirq = irqd_to_hwirq(d);
1772 return gpiochip_reqres_irq(gc, hwirq);
1779 unsigned int hwirq = irqd_to_hwirq(d);
1781 gpiochip_relres_irq(gc, hwirq);
1788 unsigned int hwirq = irqd_to_hwirq(d);
1792 gpiochip_disable_irq(gc, hwirq);
1798 unsigned int hwirq = irqd_to_hwirq(d);
1800 gpiochip_enable_irq(gc, hwirq);
1808 unsigned int hwirq = irqd_to_hwirq(d);
1810 gpiochip_enable_irq(gc, hwirq);
1817 unsigned int hwirq = irqd_to_hwirq(d);
1820 gpiochip_disable_irq(gc, hwirq);