Searched refs:first_irq (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/avr32/mach-at32ap/
H A Dextint.c58 unsigned int first_irq; member in struct:eic
67 eic_writel(eic, ICR, 1 << (d->irq - eic->first_irq)); eic_ack_irq()
73 eic_writel(eic, IDR, 1 << (d->irq - eic->first_irq)); eic_mask_irq()
79 eic_writel(eic, ICR, 1 << (d->irq - eic->first_irq)); eic_mask_ack_irq()
80 eic_writel(eic, IDR, 1 << (d->irq - eic->first_irq)); eic_mask_ack_irq()
86 eic_writel(eic, IER, 1 << (d->irq - eic->first_irq)); eic_unmask_irq()
93 unsigned int i = irq - eic->first_irq; eic_set_irq_type()
160 generic_handle_irq(i + eic->first_irq); demux_eic_irq()
206 eic->first_irq = EIM_IRQ_BASE + 32 * pdev->id; eic_probe()
229 irq_set_chip_and_handler(eic->first_irq + i, &eic_chip, eic_probe()
231 irq_set_chip_data(eic->first_irq + i, eic); eic_probe()
251 nr_of_irqs, eic->first_irq); eic_probe()
/linux-4.4.14/kernel/irq/
H A Dirqdomain.c170 * @first_irq: first number of irq block assigned to the domain,
171 * pass zero to assign irqs on-the-fly. If first_irq is non-zero, then
172 * pre-map all of the irqs in the domain to virqs starting at first_irq.
176 * Allocates an irq_domain, and optionally if first_irq is positive then also
177 * allocate irq_descs and map all of the hwirqs to virqs starting at first_irq.
180 * interrupt controllers. If device tree is used, then first_irq will be 0 and
186 unsigned int first_irq, irq_domain_add_simple()
196 if (first_irq > 0) { irq_domain_add_simple()
199 int rc = irq_alloc_descs(first_irq, first_irq, size, irq_domain_add_simple()
203 first_irq); irq_domain_add_simple()
205 irq_domain_associate_many(domain, first_irq, 0, size); irq_domain_add_simple()
216 * @first_irq: first number of irq block assigned to the domain
229 unsigned int first_irq, irq_domain_add_legacy()
239 irq_domain_associate_many(domain, first_irq, first_hwirq, size); irq_domain_add_legacy()
184 irq_domain_add_simple(struct device_node *of_node, unsigned int size, unsigned int first_irq, const struct irq_domain_ops *ops, void *host_data) irq_domain_add_simple() argument
227 irq_domain_add_legacy(struct device_node *of_node, unsigned int size, unsigned int first_irq, irq_hw_number_t first_hwirq, const struct irq_domain_ops *ops, void *host_data) irq_domain_add_legacy() argument
/linux-4.4.14/include/linux/
H A Dirqdomain.h196 unsigned int first_irq,
201 unsigned int first_irq,
/linux-4.4.14/include/linux/gpio/
H A Ddriver.h189 unsigned int first_irq,
/linux-4.4.14/drivers/gpio/
H A Dgpiolib.c651 * @first_irq: if not dynamically assigned, the base (first) IRQ to
674 unsigned int first_irq, _gpiochip_irqchip_add()
705 gpiochip->ngpio, first_irq, _gpiochip_irqchip_add()
724 * any gpiochip calls. If the first_irq was zero, this is _gpiochip_irqchip_add()
672 _gpiochip_irqchip_add(struct gpio_chip *gpiochip, struct irq_chip *irqchip, unsigned int first_irq, irq_flow_handler_t handler, unsigned int type, struct lock_class_key *lock_key) _gpiochip_irqchip_add() argument

Completed in 133 milliseconds