Searched refs:proc_num (Results 1 – 11 of 11) sorted by relevance
/tf-a-ffa_el3_spmc/plat/mediatek/common/drivers/gic600/ |
A D | mt_gic_v3.c | 78 unsigned int proc_num; in mt_gic_rdistif_init() local 82 proc_num = plat_my_core_pos(); in mt_gic_rdistif_init() 97 unsigned int proc_num; in mt_gic_rdistif_save() local 100 proc_num = plat_my_core_pos(); in mt_gic_rdistif_save() 114 unsigned int proc_num; in mt_gic_rdistif_restore() local 132 unsigned int proc_num; in mt_gic_rdistif_restore_all() local 135 for (proc_num = 0; proc_num < PLATFORM_CORE_COUNT; proc_num++) { in mt_gic_rdistif_restore_all() 149 unsigned int proc_num; in gic_sgi_save_all() local 152 for (proc_num = 0; proc_num < PLATFORM_CORE_COUNT; proc_num++) { in gic_sgi_save_all() 161 unsigned int proc_num; in gic_sgi_restore_all() local [all …]
|
/tf-a-ffa_el3_spmc/drivers/arm/gic/v3/ |
A D | gic-x00.c | 107 static uintptr_t get_gicr_base(unsigned int proc_num) in get_gicr_base() argument 112 assert(proc_num < gicv3_driver_data->rdistif_num); in get_gicr_base() 115 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in get_gicr_base() 136 void gicv3_distif_pre_save(unsigned int proc_num) in gicv3_distif_pre_save() argument 138 arm_gicv3_distif_pre_save(proc_num); in gicv3_distif_pre_save() 141 void gicv3_distif_post_restore(unsigned int proc_num) in gicv3_distif_post_restore() argument 143 arm_gicv3_distif_post_restore(proc_num); in gicv3_distif_post_restore() 149 void gicv3_rdistif_off(unsigned int proc_num) in gicv3_rdistif_off() argument 152 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_off() 164 void gicv3_rdistif_on(unsigned int proc_num) in gicv3_rdistif_on() argument [all …]
|
A D | gicv3_main.c | 228 void gicv3_rdistif_init(unsigned int proc_num) in gicv3_rdistif_init() argument 245 gicv3_rdistif_on(proc_num); in gicv3_rdistif_init() 266 void gicv3_rdistif_off(unsigned int proc_num) in gicv3_rdistif_off() argument 270 void gicv3_rdistif_on(unsigned int proc_num) in gicv3_rdistif_on() argument 278 void gicv3_cpuif_enable(unsigned int proc_num) in gicv3_cpuif_enable() argument 546 void gicv3_rdistif_save(unsigned int proc_num, in gicv3_rdistif_save() argument 611 gicv3_distif_pre_save(proc_num); in gicv3_rdistif_save() 647 gicv3_rdistif_on(proc_num); in gicv3_rdistif_init_restore() 654 gicv3_distif_post_restore(proc_num); in gicv3_rdistif_init_restore() 1263 unsigned int proc_num; in gicv3_rdistif_probe() local [all …]
|
A D | gicv3_helpers.c | 63 unsigned int proc_num; in gicv3_rdistif_base_addrs_probe() local 80 proc_num = mpidr_to_core_pos(mpidr); in gicv3_rdistif_base_addrs_probe() 82 proc_num = (typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_base_addrs_probe() 86 if (proc_num < rdistif_num) { in gicv3_rdistif_base_addrs_probe() 87 rdistif_base_addrs[proc_num] = rdistif_base; in gicv3_rdistif_base_addrs_probe()
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/ |
A D | plat_mt_gic.c | 83 unsigned int proc_num; in mt_gic_rdistif_init() local 87 proc_num = plat_my_core_pos(); in mt_gic_rdistif_init() 88 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_init() 112 unsigned int proc_num; in mt_gic_rdistif_save() local 115 proc_num = plat_my_core_pos(); in mt_gic_rdistif_save() 116 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_save() 124 rdist_has_saved[proc_num] = 1; in mt_gic_rdistif_save() 129 unsigned int proc_num; in mt_gic_rdistif_restore() local 132 proc_num = plat_my_core_pos(); in mt_gic_rdistif_restore() 133 if (rdist_has_saved[proc_num] == 1) { in mt_gic_rdistif_restore() [all …]
|
/tf-a-ffa_el3_spmc/drivers/arm/gic/v2/ |
A D | gicv2_main.c | 299 assert(proc_num < GICV2_MAX_TARGET_PE); in gicv2_set_pe_target_mask() 303 if (driver_data->target_masks[proc_num] != 0U) in gicv2_set_pe_target_mask() 311 driver_data->target_masks[proc_num] = in gicv2_set_pe_target_mask() 322 &driver_data->target_masks[proc_num], in gicv2_set_pe_target_mask() 420 void gicv2_raise_sgi(int sgi_num, int proc_num) in gicv2_raise_sgi() argument 425 assert(proc_num >= 0); in gicv2_raise_sgi() 426 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_raise_sgi() 437 target = driver_data->target_masks[proc_num]; in gicv2_raise_sgi() 470 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_set_spi_routing() 474 if (proc_num < 0) { in gicv2_set_spi_routing() [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/arm/ |
A D | gicv3.h | 488 void gicv3_rdistif_init(unsigned int proc_num); 489 void gicv3_rdistif_on(unsigned int proc_num); 490 void gicv3_rdistif_off(unsigned int proc_num); 492 void gicv3_cpuif_enable(unsigned int proc_num); 493 void gicv3_cpuif_disable(unsigned int proc_num); 497 unsigned int proc_num); 506 void gicv3_distif_post_restore(unsigned int proc_num); 507 void gicv3_distif_pre_save(unsigned int proc_num); 515 void gicv3_enable_interrupt(unsigned int id, unsigned int proc_num); 516 void gicv3_disable_interrupt(unsigned int id, unsigned int proc_num); [all …]
|
A D | gicv2.h | 174 void gicv2_set_pe_target_mask(unsigned int proc_num); 180 void gicv2_raise_sgi(int sgi_num, int proc_num); 181 void gicv2_set_spi_routing(unsigned int id, int proc_num);
|
/tf-a-ffa_el3_spmc/plat/imx/common/include/ |
A D | plat_imx8.h | 32 void plat_gic_save(unsigned int proc_num, struct plat_gic_ctx *ctx); 33 void plat_gic_restore(unsigned int proc_num, struct plat_gic_ctx *ctx);
|
/tf-a-ffa_el3_spmc/plat/common/ |
A D | plat_gicv2.c | 259 int proc_num = 0; in plat_ic_set_spi_routing() local 263 proc_num = plat_core_pos_by_mpidr(mpidr); in plat_ic_set_spi_routing() 264 assert(proc_num >= 0); in plat_ic_set_spi_routing() 268 proc_num = -1; in plat_ic_set_spi_routing() 275 gicv2_set_spi_routing(id, proc_num); in plat_ic_set_spi_routing()
|
/tf-a-ffa_el3_spmc/plat/imx/common/ |
A D | plat_imx8_gic.c | 100 void plat_gic_save(unsigned int proc_num, struct plat_gic_ctx *ctx) in plat_gic_save() argument 108 void plat_gic_restore(unsigned int proc_num, struct plat_gic_ctx *ctx) in plat_gic_restore() argument
|
Completed in 33 milliseconds