Lines Matching refs:virq

431 static int gic_shared_irq_domain_map(struct irq_domain *d, unsigned int virq,  in gic_shared_irq_domain_map()  argument
438 data = irq_get_irq_data(virq); in gic_shared_irq_domain_map()
468 static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq, in gic_irq_domain_map() argument
484 err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, in gic_irq_domain_map()
490 irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); in gic_irq_domain_map()
491 return gic_shared_irq_domain_map(d, virq, hwirq, 0); in gic_irq_domain_map()
512 err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, in gic_irq_domain_map()
518 irq_set_handler(virq, handle_percpu_irq); in gic_irq_domain_map()
522 err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, in gic_irq_domain_map()
528 irq_set_handler(virq, handle_percpu_devid_irq); in gic_irq_domain_map()
529 irq_set_percpu_devid(virq); in gic_irq_domain_map()
546 static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq, in gic_irq_domain_alloc() argument
557 return gic_irq_domain_map(d, virq, hwirq); in gic_irq_domain_alloc()
560 static void gic_irq_domain_free(struct irq_domain *d, unsigned int virq, in gic_irq_domain_free() argument
589 static int gic_ipi_domain_alloc(struct irq_domain *d, unsigned int virq, in gic_ipi_domain_alloc() argument
612 ret = irq_domain_set_hwirq_and_chip(d, virq + i, hwirq, in gic_ipi_domain_alloc()
618 ret = irq_domain_set_hwirq_and_chip(d->parent, virq + i, hwirq, in gic_ipi_domain_alloc()
624 ret = irq_set_irq_type(virq + i, IRQ_TYPE_EDGE_RISING); in gic_ipi_domain_alloc()
628 ret = gic_shared_irq_domain_map(d, virq + i, hwirq, cpu); in gic_ipi_domain_alloc()
641 static void gic_ipi_domain_free(struct irq_domain *d, unsigned int virq, in gic_ipi_domain_free() argument
647 data = irq_get_irq_data(virq); in gic_ipi_domain_free()