Home
last modified time | relevance | path

Searched refs:proc_num (Results 1 – 11 of 11) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/gic600/
A Dmt_gic_v3.c78 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 …]
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8183/
A Dplat_mt_gic.c83 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 …]
/arm-trusted-firmware-2.8.0/drivers/arm/gic/v3/
A Dgic-x00.c108 static uintptr_t get_gicr_base(unsigned int proc_num) in get_gicr_base() argument
113 assert(proc_num < gicv3_driver_data->rdistif_num); in get_gicr_base()
116 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in get_gicr_base()
137 void gicv3_distif_pre_save(unsigned int proc_num) in gicv3_distif_pre_save() argument
139 arm_gicv3_distif_pre_save(proc_num); in gicv3_distif_pre_save()
142 void gicv3_distif_post_restore(unsigned int proc_num) in gicv3_distif_post_restore() argument
144 arm_gicv3_distif_post_restore(proc_num); in gicv3_distif_post_restore()
150 void gicv3_rdistif_off(unsigned int proc_num) in gicv3_rdistif_off() argument
153 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_off()
165 void gicv3_rdistif_on(unsigned int proc_num) in gicv3_rdistif_on() argument
[all …]
A Dgicv3_main.c224 void gicv3_rdistif_init(unsigned int proc_num) in gicv3_rdistif_init() argument
241 gicv3_rdistif_on(proc_num); in gicv3_rdistif_init()
262 void gicv3_rdistif_off(unsigned int proc_num) in gicv3_rdistif_off() argument
266 void gicv3_rdistif_on(unsigned int proc_num) in gicv3_rdistif_on() argument
274 void gicv3_cpuif_enable(unsigned int proc_num) in gicv3_cpuif_enable() argument
550 void gicv3_rdistif_save(unsigned int proc_num, in gicv3_rdistif_save() argument
615 gicv3_distif_pre_save(proc_num); in gicv3_rdistif_save()
651 gicv3_rdistif_on(proc_num); in gicv3_rdistif_init_restore()
658 gicv3_distif_post_restore(proc_num); in gicv3_rdistif_init_restore()
1283 unsigned int proc_num; in gicv3_rdistif_probe() local
[all …]
A Dgicv3_helpers.c65 unsigned int proc_num; in gicv3_rdistif_base_addrs_probe() local
82 proc_num = mpidr_to_core_pos(mpidr); in gicv3_rdistif_base_addrs_probe()
84 proc_num = (typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_base_addrs_probe()
88 if (proc_num < rdistif_num) { in gicv3_rdistif_base_addrs_probe()
89 rdistif_base_addrs[proc_num] = rdistif_base; in gicv3_rdistif_base_addrs_probe()
/arm-trusted-firmware-2.8.0/drivers/arm/gic/v2/
A Dgicv2_main.c300 assert(proc_num < GICV2_MAX_TARGET_PE); in gicv2_set_pe_target_mask()
304 if (driver_data->target_masks[proc_num] != 0U) in gicv2_set_pe_target_mask()
311 if (driver_data->target_masks[proc_num] == 0U) { in gicv2_set_pe_target_mask()
312 driver_data->target_masks[proc_num] = in gicv2_set_pe_target_mask()
323 &driver_data->target_masks[proc_num], in gicv2_set_pe_target_mask()
426 assert(proc_num >= 0); in gicv2_raise_sgi()
427 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_raise_sgi()
438 target = driver_data->target_masks[proc_num]; in gicv2_raise_sgi()
471 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_set_spi_routing()
475 if (proc_num < 0) { in gicv2_set_spi_routing()
[all …]
/arm-trusted-firmware-2.8.0/include/drivers/arm/
A Dgicv3.h551 void gicv3_rdistif_init(unsigned int proc_num);
552 void gicv3_rdistif_on(unsigned int proc_num);
553 void gicv3_rdistif_off(unsigned int proc_num);
555 void gicv3_cpuif_enable(unsigned int proc_num);
556 void gicv3_cpuif_disable(unsigned int proc_num);
560 unsigned int proc_num);
569 void gicv3_distif_post_restore(unsigned int proc_num);
570 void gicv3_distif_pre_save(unsigned int proc_num);
578 void gicv3_enable_interrupt(unsigned int id, unsigned int proc_num);
579 void gicv3_disable_interrupt(unsigned int id, unsigned int proc_num);
[all …]
A Dgicv2.h186 void gicv2_set_pe_target_mask(unsigned int proc_num);
192 void gicv2_raise_sgi(int sgi_num, bool ns, int proc_num);
193 void gicv2_set_spi_routing(unsigned int id, int proc_num);
/arm-trusted-firmware-2.8.0/plat/imx/common/include/
A Dplat_imx8.h32 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);
/arm-trusted-firmware-2.8.0/plat/common/
A Dplat_gicv2.c294 int proc_num = 0; in plat_ic_set_spi_routing() local
298 proc_num = plat_core_pos_by_mpidr(mpidr); in plat_ic_set_spi_routing()
299 assert(proc_num >= 0); in plat_ic_set_spi_routing()
303 proc_num = -1; in plat_ic_set_spi_routing()
310 gicv2_set_spi_routing(id, proc_num); in plat_ic_set_spi_routing()
/arm-trusted-firmware-2.8.0/plat/imx/common/
A Dplat_imx8_gic.c100 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 23 milliseconds