Searched refs:irq_base (Results 1 – 6 of 6) sorted by relevance
/kernel/irq/ |
D | irq_sim.c | 83 sim->irq_base = irq_alloc_descs(-1, 0, num_irqs, 0); in irq_sim_init() 84 if (sim->irq_base < 0) { in irq_sim_init() 86 return sim->irq_base; in irq_sim_init() 92 irq_free_descs(sim->irq_base, num_irqs); in irq_sim_init() 97 sim->irqs[i].irqnum = sim->irq_base + i; in irq_sim_init() 99 irq_set_chip(sim->irq_base + i, &irq_sim_irqchip); in irq_sim_init() 100 irq_set_chip_data(sim->irq_base + i, &sim->irqs[i]); in irq_sim_init() 101 irq_set_handler(sim->irq_base + i, &handle_simple_irq); in irq_sim_init() 102 irq_modify_status(sim->irq_base + i, in irq_sim_init() 109 return sim->irq_base; in irq_sim_init() [all …]
|
D | generic-chip.c | 215 int num_ct, unsigned int irq_base, in irq_init_generic_chip() argument 220 gc->irq_base = irq_base; in irq_init_generic_chip() 238 irq_alloc_generic_chip(const char *name, int num_ct, unsigned int irq_base, in irq_alloc_generic_chip() argument 246 irq_init_generic_chip(gc, name, num_ct, irq_base, reg_base, in irq_alloc_generic_chip() 480 for (i = gc->irq_base; msk; msk >>= 1, i++) { in irq_setup_generic_chip() 494 d->mask = 1 << (i - gc->irq_base); in irq_setup_generic_chip() 500 gc->irq_cnt = i - gc->irq_base; in irq_setup_generic_chip() 556 virq = irq_find_mapping(gc->domain, gc->irq_base + i); in irq_remove_generic_chip() 560 virq = gc->irq_base + i; in irq_remove_generic_chip() 577 return irq_get_irq_data(gc->irq_base); in irq_gc_get_irq_data() [all …]
|
D | irqdomain.c | 28 static int irq_domain_alloc_irqs_locked(struct irq_domain *domain, int irq_base, 622 void irq_domain_associate_many(struct irq_domain *domain, unsigned int irq_base, in irq_domain_associate_many() argument 630 of_node_full_name(of_node), irq_base, (int)hwirq_base, count); in irq_domain_associate_many() 633 irq_domain_associate(domain, irq_base + i, hwirq_base + i); in irq_domain_associate_many() 773 int irq_create_strict_mappings(struct irq_domain *domain, unsigned int irq_base, in irq_create_strict_mappings() argument 780 ret = irq_alloc_descs(irq_base, irq_base, count, in irq_create_strict_mappings() 785 irq_domain_associate_many(domain, irq_base, hwirq_base, count); in irq_create_strict_mappings() 1355 unsigned int irq_base, in irq_domain_free_irqs_hierarchy() argument 1364 if (irq_domain_get_irq_data(domain, irq_base + i)) in irq_domain_free_irqs_hierarchy() 1365 domain->ops->free(domain, irq_base + i, 1); in irq_domain_free_irqs_hierarchy() [all …]
|
D | devres.c | 219 unsigned int irq_base, void __iomem *reg_base, in devm_irq_alloc_generic_chip() argument 227 irq_base, reg_base, handler); in devm_irq_alloc_generic_chip()
|
D | internals.h | 400 int num_ct, unsigned int irq_base, 405 int num_ct, unsigned int irq_base, in irq_init_generic_chip() argument
|
D | chip.c | 112 int irq_set_msi_desc_off(unsigned int irq_base, unsigned int irq_offset, in irq_set_msi_desc_off() argument 116 …struct irq_desc *desc = irq_get_desc_lock(irq_base + irq_offset, &flags, IRQ_GET_DESC_CHECK_GLOBAL… in irq_set_msi_desc_off() 122 entry->irq = irq_base; in irq_set_msi_desc_off()
|