Searched refs:gic_irqs (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-gic-common.c | 68 void __init gic_dist_config(void __iomem *base, int gic_irqs, gic_dist_config() argument 76 for (i = 32; i < gic_irqs; i += 16) gic_dist_config() 83 for (i = 32; i < gic_irqs; i += 4) gic_dist_config() 90 for (i = 32; i < gic_irqs; i += 32) { gic_dist_config()
|
H A D | irq-gic.c | 84 unsigned int gic_irqs; member in struct:gic_chip_data 476 unsigned int gic_irqs = gic->gic_irqs; gic_dist_init() local 487 for (i = 32; i < gic_irqs; i += 4) gic_dist_init() 490 gic_dist_config(base, gic_irqs, NULL); gic_dist_init() 555 unsigned int gic_irqs; gic_dist_save() local 562 gic_irqs = gic_data[gic_nr].gic_irqs; gic_dist_save() 568 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 16); i++) gic_dist_save() 572 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) gic_dist_save() 576 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) gic_dist_save() 580 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) gic_dist_save() 594 unsigned int gic_irqs; gic_dist_restore() local 601 gic_irqs = gic_data[gic_nr].gic_irqs; gic_dist_restore() 609 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 16); i++) gic_dist_restore() 613 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) gic_dist_restore() 617 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 4); i++) gic_dist_restore() 621 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) { gic_dist_restore() 628 for (i = 0; i < DIV_ROUND_UP(gic_irqs, 32); i++) { gic_dist_restore() 841 unsigned int cur_cpu_id, gic_irqs, gic_nr = 0; gic_migrate_target() local 852 gic_irqs = gic_data[gic_nr].gic_irqs; gic_migrate_target() 868 for (i = 8; i < DIV_ROUND_UP(gic_irqs, 4); i++) { gic_migrate_target() 1049 int gic_irqs, irq_base, i; __gic_init_bases() local 1093 gic_irqs = readl_relaxed(gic_data_dist_base(gic) + GIC_DIST_CTR) & 0x1f; 1094 gic_irqs = (gic_irqs + 1) * 32; 1095 if (gic_irqs > 1020) 1096 gic_irqs = 1020; 1097 gic->gic_irqs = gic_irqs; 1100 gic->domain = irq_domain_create_linear(handle, gic_irqs, 1116 gic_irqs -= hwirq_base; /* calculate # of irqs to allocate */ 1118 irq_base = irq_alloc_descs(irq_start, 16, gic_irqs, 1126 gic->domain = irq_domain_add_legacy(NULL, gic_irqs, irq_base,
|
H A D | irq-gic-common.h | 32 void gic_dist_config(void __iomem *base, int gic_irqs,
|
H A D | irq-gic-v3.c | 841 int gic_irqs; gic_of_init() local 906 gic_irqs = GICD_TYPER_IRQS(typer); gic_of_init() 907 if (gic_irqs > 1020) gic_of_init() 908 gic_irqs = 1020; gic_of_init() 909 gic_data.irq_nr = gic_irqs; gic_of_init()
|
Completed in 69 milliseconds