Lines Matching refs:gic_irqs
86 unsigned int gic_irqs; member
471 unsigned int gic_irqs = gic->gic_irqs; in gic_dist_init() local
482 for (i = 32; i < gic_irqs; i += 4) in gic_dist_init()
485 gic_dist_config(base, gic_irqs, NULL); in gic_dist_init()
555 unsigned int gic_irqs; in gic_dist_save() local
562 gic_irqs = gic->gic_irqs; in gic_dist_save()
568 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 16); i++) in gic_dist_save()
572 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) in gic_dist_save()
576 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) in gic_dist_save()
580 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) in gic_dist_save()
594 unsigned int gic_irqs; in gic_dist_restore() local
601 gic_irqs = gic->gic_irqs; in gic_dist_restore()
609 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 16); i++) in gic_dist_restore()
613 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) in gic_dist_restore()
617 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) in gic_dist_restore()
621 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) { in gic_dist_restore()
628 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) { in gic_dist_restore()
964 unsigned int cur_cpu_id, gic_irqs, gic_nr = 0; in gic_migrate_target() local
974 gic_irqs = gic_data[gic_nr].gic_irqs; in gic_migrate_target()
990 for (i = 8; i < DIV_ROUND_UP(gic_irqs, 4); i++) { in gic_migrate_target()
1169 int gic_irqs, ret; in gic_init_bases() local
1207 gic_irqs = readl_relaxed(gic_data_dist_base(gic) + GIC_DIST_CTR) & 0x1f; in gic_init_bases()
1208 gic_irqs = (gic_irqs + 1) * 32; in gic_init_bases()
1209 if (gic_irqs > 1020) in gic_init_bases()
1210 gic_irqs = 1020; in gic_init_bases()
1211 gic->gic_irqs = gic_irqs; in gic_init_bases()
1213 gic->domain = irq_domain_create_linear(handle, gic_irqs, in gic_init_bases()