Lines Matching refs:nr_parent_irqs
516 u32 *nr_parent_irqs) in imsic_populate_global_dt() argument
531 global->hart_index_bits = __fls(*nr_parent_irqs); in imsic_populate_global_dt()
532 if (BIT(global->hart_index_bits) < *nr_parent_irqs) in imsic_populate_global_dt()
570 u32 *nr_parent_irqs, void *opaque) in imsic_populate_global_acpi() argument
624 u32 *nr_parent_irqs, in imsic_parse_fwnode() argument
633 *nr_parent_irqs = 0; in imsic_parse_fwnode()
637 while (!imsic_get_parent_hartid(fwnode, *nr_parent_irqs, &hartid)) in imsic_parse_fwnode()
638 (*nr_parent_irqs)++; in imsic_parse_fwnode()
639 if (!*nr_parent_irqs) { in imsic_parse_fwnode()
645 rc = imsic_populate_global_dt(fwnode, global, nr_parent_irqs); in imsic_parse_fwnode()
647 rc = imsic_populate_global_acpi(fwnode, global, nr_parent_irqs, opaque); in imsic_parse_fwnode()
719 u32 i, j, index, nr_parent_irqs, nr_mmios, nr_handlers = 0; in imsic_setup_state() local
758 rc = imsic_parse_fwnode(fwnode, global, &nr_parent_irqs, &nr_mmios, opaque); in imsic_setup_state()
813 for (i = 0; i < nr_parent_irqs; i++) { in imsic_setup_state()