Searched refs:num_ints (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-a/drivers/arm/gic/v2/ |
A D | gicv2_helpers.c | 94 unsigned int index, num_ints; in gicv2_spis_configure_defaults() local 96 num_ints = gicd_read_typer(gicd_base); in gicv2_spis_configure_defaults() 97 num_ints &= TYPER_IT_LINES_NO_MASK; in gicv2_spis_configure_defaults() 98 num_ints = (num_ints + 1U) << 5; in gicv2_spis_configure_defaults() 104 for (index = MIN_SPI_ID; index < num_ints; index += 32U) in gicv2_spis_configure_defaults() 108 for (index = MIN_SPI_ID; index < num_ints; index += 4U) in gicv2_spis_configure_defaults() 114 for (index = MIN_SPI_ID; index < num_ints; index += 16U) in gicv2_spis_configure_defaults()
|
/trusted-firmware-a/drivers/arm/gic/v3/ |
A D | gicv3_main.c | 735 unsigned int num_ints = gicv3_get_spi_limit(gicd_base); in gicv3_distif_save() local 747 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, igroupr, IGROUP); in gicv3_distif_save() 759 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, ispendr, ISPEND); in gicv3_distif_save() 777 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, icfgr, ICFG); in gicv3_distif_save() 783 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, igrpmodr, IGRPMOD); in gicv3_distif_save() 789 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, nsacr, NSAC); in gicv3_distif_save() 795 SAVE_GICD_REGS(gicd_base, dist_ctx, num_ints, irouter, IROUTE); in gicv3_distif_save() 837 unsigned int num_ints = gicv3_get_spi_limit(gicd_base); in gicv3_distif_init_restore() local 842 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, igroupr, IGROUP); in gicv3_distif_init_restore() 854 RESTORE_GICD_REGS(gicd_base, dist_ctx, num_ints, icfgr, ICFG); in gicv3_distif_init_restore() [all …]
|
A D | gicv3_helpers.c | 139 unsigned int i, num_ints; in gicv3_spis_config_defaults() local 144 num_ints = gicv3_get_spi_limit(gicd_base); in gicv3_spis_config_defaults() 145 INFO("Maximum SPI INTID supported: %u\n", num_ints - 1); in gicv3_spis_config_defaults() 148 for (i = MIN_SPI_ID; i < num_ints; i += (1U << IGROUPR_SHIFT)) { in gicv3_spis_config_defaults() 167 for (i = MIN_SPI_ID; i < num_ints; i += (1U << IPRIORITYR_SHIFT)) { in gicv3_spis_config_defaults() 180 for (i = MIN_SPI_ID; i < num_ints; i += (1U << ICFGR_SHIFT)) { in gicv3_spis_config_defaults()
|
Completed in 6 milliseconds