Home
last modified time | relevance | path

Searched refs:virq (Results 1 – 3 of 3) sorted by relevance

/kernel/irq/
Dirqdomain.c26 static int irq_domain_alloc_descs(int virq, unsigned int nr_irqs,
337 int irq_domain_associate(struct irq_domain *domain, unsigned int virq, in irq_domain_associate() argument
340 struct irq_data *irq_data = irq_get_irq_data(virq); in irq_domain_associate()
346 if (WARN(!irq_data, "error: virq%i is not allocated", virq)) in irq_domain_associate()
348 if (WARN(irq_data->domain, "error: virq%i is already associated", virq)) in irq_domain_associate()
355 ret = domain->ops->map(domain, virq, hwirq); in irq_domain_associate()
364 domain->name, hwirq, virq, ret); in irq_domain_associate()
378 domain->linear_revmap[hwirq] = virq; in irq_domain_associate()
386 irq_clear_status_flags(virq, IRQ_NOREQUEST); in irq_domain_associate()
421 unsigned int virq; in irq_create_direct_mapping() local
[all …]
Dmsi.c101 static int msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in msi_domain_alloc() argument
112 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); in msi_domain_alloc()
117 ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg); in msi_domain_alloc()
121 ops->msi_free(domain, info, virq + i); in msi_domain_alloc()
123 irq_domain_free_irqs_top(domain, virq, nr_irqs); in msi_domain_alloc()
131 static void msi_domain_free(struct irq_domain *domain, unsigned int virq, in msi_domain_free() argument
139 info->ops->msi_free(domain, info, virq + i); in msi_domain_free()
141 irq_domain_free_irqs_top(domain, virq, nr_irqs); in msi_domain_free()
178 unsigned int virq, irq_hw_number_t hwirq, in msi_domain_ops_init() argument
181 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, info->chip, in msi_domain_ops_init()
[all …]
Dgeneric-chip.c360 int irq_map_generic_chip(struct irq_domain *d, unsigned int virq, in irq_map_generic_chip() argument
363 struct irq_data *data = irq_domain_get_irq_data(d, virq); in irq_map_generic_chip()
401 irq_set_lockdep_class(virq, &irq_nested_lock_class); in irq_map_generic_chip()
408 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip()
409 irq_modify_status(virq, dgc->irq_flags_to_clear, dgc->irq_flags_to_set); in irq_map_generic_chip()
414 static void irq_unmap_generic_chip(struct irq_domain *d, unsigned int virq) in irq_unmap_generic_chip() argument
416 struct irq_data *data = irq_domain_get_irq_data(d, virq); in irq_unmap_generic_chip()
429 irq_domain_set_info(d, virq, hw_irq, &no_irq_chip, NULL, NULL, NULL, in irq_unmap_generic_chip()
547 unsigned int virq; in irq_gc_get_irq_data() local
559 virq = irq_find_mapping(gc->domain, gc->irq_base + __ffs(gc->installed)); in irq_gc_get_irq_data()
[all …]