Lines Matching refs:irq_base
416 int irq_base; member
441 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask()
449 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask()
461 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type()
528 type = irq_get_trigger_type(i + agent->irq_base); in twl4030_sih_bus_sync_unlock()
603 handle_nested_irq(agent->irq_base + irq); in handle_twl4030_sih()
612 int twl4030_sih_setup(struct device *dev, int module, int irq_base) in twl4030_sih_setup() argument
638 agent->irq_base = irq_base; in twl4030_sih_setup()
644 irq = irq_base + i; in twl4030_sih_setup()
662 irq, irq_base, irq_base + i - 1); in twl4030_sih_setup()
664 return status < 0 ? status : irq_base; in twl4030_sih_setup()
678 int irq_base, irq_end, nr_irqs; in twl4030_init_irq() local
688 irq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); in twl4030_init_irq()
689 if (irq_base < 0) { in twl4030_init_irq()
691 return irq_base; in twl4030_init_irq()
694 irq_domain_add_legacy(node, nr_irqs, irq_base, 0, in twl4030_init_irq()
697 irq_end = irq_base + TWL4030_CORE_NR_IRQS; in twl4030_init_irq()
707 twl4030_irq_base = irq_base; in twl4030_init_irq()
718 for (i = irq_base; i < irq_end; i++) { in twl4030_init_irq()
726 irq_num, irq_base, irq_end); in twl4030_init_irq()
745 return irq_base; in twl4030_init_irq()
749 for (i = irq_base; i < irq_end; i++) { in twl4030_init_irq()