• Home
  • Raw
  • Download

Lines Matching refs:virq

124 					irq_find_mapping(arizona->virq, 0));  in arizona_irq_thread()
134 handle_nested_irq(irq_find_mapping(arizona->virq, 1)); in arizona_irq_thread()
186 static int arizona_irq_map(struct irq_domain *h, unsigned int virq, in arizona_irq_map() argument
191 irq_set_chip_data(virq, data); in arizona_irq_map()
192 irq_set_lockdep_class(virq, &arizona_irq_lock_class, in arizona_irq_map()
194 irq_set_chip_and_handler(virq, &arizona_irq_chip, handle_simple_irq); in arizona_irq_map()
195 irq_set_nested_thread(virq, 1); in arizona_irq_map()
196 irq_set_noprobe(virq); in arizona_irq_map()
212 unsigned int virq; in arizona_irq_init() local
315 arizona->virq = irq_domain_add_linear(NULL, 2, &arizona_domain_ops, in arizona_irq_init()
317 if (!arizona->virq) { in arizona_irq_init()
324 virq = irq_create_mapping(arizona->virq, ARIZONA_AOD_IRQ_INDEX); in arizona_irq_init()
325 if (!virq) { in arizona_irq_init()
331 ret = regmap_add_irq_chip(arizona->regmap, virq, IRQF_ONESHOT, in arizona_irq_init()
340 virq = irq_create_mapping(arizona->virq, ARIZONA_MAIN_IRQ_INDEX); in arizona_irq_init()
341 if (!virq) { in arizona_irq_init()
347 ret = regmap_add_irq_chip(arizona->regmap, virq, IRQF_ONESHOT, in arizona_irq_init()
412 regmap_del_irq_chip(irq_find_mapping(arizona->virq, in arizona_irq_init()
416 irq_dispose_mapping(irq_find_mapping(arizona->virq, in arizona_irq_init()
419 regmap_del_irq_chip(irq_find_mapping(arizona->virq, in arizona_irq_init()
423 irq_dispose_mapping(irq_find_mapping(arizona->virq, in arizona_irq_init()
426 irq_domain_remove(arizona->virq); in arizona_irq_init()
433 unsigned int virq; in arizona_irq_exit() local
439 virq = irq_find_mapping(arizona->virq, ARIZONA_MAIN_IRQ_INDEX); in arizona_irq_exit()
440 regmap_del_irq_chip(virq, arizona->irq_chip); in arizona_irq_exit()
441 irq_dispose_mapping(virq); in arizona_irq_exit()
443 virq = irq_find_mapping(arizona->virq, ARIZONA_AOD_IRQ_INDEX); in arizona_irq_exit()
444 regmap_del_irq_chip(virq, arizona->aod_irq_chip); in arizona_irq_exit()
445 irq_dispose_mapping(virq); in arizona_irq_exit()
447 irq_domain_remove(arizona->virq); in arizona_irq_exit()