/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | smp-cps.c | 214 static void boot_core(unsigned int core, unsigned int vpe_id) in boot_core() argument 241 write_cpc_co_vp_run(1 << vpe_id); in boot_core() 297 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_boot_secondary() local 299 struct vpe_boot_config *vpe_cfg = &core_cfg->vpe_config[vpe_id]; in cps_boot_secondary() 318 boot_core(core, vpe_id); in cps_boot_secondary() 323 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_boot_secondary() 353 mips_cps_boot_vpes(core_cfg, vpe_id); in cps_boot_secondary() 406 unsigned int cpu, core, vpe_id; in cps_shutdown_this_cpu() local 412 vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_shutdown_this_cpu() 414 pr_debug("Halting core %d VP%d\n", core, vpe_id); in cps_shutdown_this_cpu() 511 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); wait_for_sibling_halt() local 526 unsigned int vpe_id = cpu_vpe_id(&cpu_data[cpu]); cps_cpu_die() local [all...] |
H A D | pm-cps.c | 445 unsigned int vpe_id; in cps_gen_entry_code() local 447 vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_gen_entry_code() 448 uasm_i_addiu(&p, t0, zero, 1 << vpe_id); in cps_gen_entry_code()
|
H A D | perf_event_mipsxx.c | 128 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro 131 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro 150 #define vpe_id() 0 macro 186 if (vpe_id() == 1) in mipsxx_pmu_swizzle_perf_idx() 370 (1 << (12 + vpe_id())) | BRCM_PERFCTRL_TC; in mipsxx_pmu_enable_event()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | smp-cps.c | 207 static void boot_core(unsigned int core, unsigned int vpe_id) in boot_core() argument 234 write_cpc_co_vp_run(1 << vpe_id); in boot_core() 290 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_boot_secondary() local 292 struct vpe_boot_config *vpe_cfg = &core_cfg->vpe_config[vpe_id]; in cps_boot_secondary() 311 boot_core(core, vpe_id); in cps_boot_secondary() 316 mips_cm_lock_other(0, core, vpe_id, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in cps_boot_secondary() 346 mips_cps_boot_vpes(core_cfg, vpe_id); in cps_boot_secondary() 404 unsigned int cpu, core, vpe_id; in cps_shutdown_this_cpu() local 410 vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_shutdown_this_cpu() 412 pr_debug("Halting core %d VP%d\n", core, vpe_id); in cps_shutdown_this_cpu() 506 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); wait_for_sibling_halt() local 523 unsigned int vpe_id = cpu_vpe_id(&cpu_data[cpu]); cps_cleanup_dead_cpu() local [all...] |
H A D | pm-cps.c | 445 unsigned int vpe_id; in cps_gen_entry_code() local 447 vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_gen_entry_code() 448 uasm_i_addiu(&p, t0, zero, 1 << vpe_id); in cps_gen_entry_code()
|
H A D | perf_event_mipsxx.c | 128 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro 131 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro 150 #define vpe_id() 0 macro 186 if (vpe_id() == 1) in mipsxx_pmu_swizzle_perf_idx() 370 (1 << (12 + vpe_id())) | BRCM_PERFCTRL_TC; in mipsxx_pmu_enable_event()
|
/kernel/linux/linux-5.10/arch/mips/oprofile/ |
H A D | op_model_mipsxx.c | 41 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro 63 #define vpe_id() 0 macro 86 unsigned int cpu = vpe_id(); \ 101 unsigned int cpu = vpe_id(); \
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 771 its_encode_vpeid(cmd, desc->its_vinvall_cmd.vpe->vpe_id); in its_build_vinvall_cmd() 787 its_encode_vpeid(cmd, desc->its_vmapp_cmd.vpe->vpe_id); in its_build_vmapp_cmd() 839 its_encode_vpeid(cmd, desc->its_vmapti_cmd.vpe->vpe_id); in its_build_vmapti_cmd() 862 its_encode_vpeid(cmd, desc->its_vmovi_cmd.vpe->vpe_id); in its_build_vmovi_cmd() 882 its_encode_vpeid(cmd, desc->its_vmovp_cmd.vpe->vpe_id); in its_build_vmovp_cmd() 957 its_encode_vpeid(cmd, desc->its_invdb_cmd.vpe->vpe_id); in its_build_invdb_cmd() 972 its_encode_vpeid(cmd, desc->its_vsgi_cmd.vpe->vpe_id); in its_build_vsgi_cmd() 1158 its_encode_vpeid(sync_cmd, sync_vpe->vpe_id); in its_build_vsync_cmd() 1472 val |= FIELD_PREP(GICR_INVLPIR_VPEID, map->vpe->vpe_id); in direct_lpi_inv() 2782 /* Don't allow vpe_id tha in allocate_vpe_l2_table() 3326 its_alloc_vpe_table(u32 vpe_id) its_alloc_vpe_table() argument 4398 int vpe_id; its_vpe_init() local [all...] |
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 778 its_encode_vpeid(cmd, desc->its_vinvall_cmd.vpe->vpe_id); in its_build_vinvall_cmd() 794 its_encode_vpeid(cmd, desc->its_vmapp_cmd.vpe->vpe_id); in its_build_vmapp_cmd() 851 its_encode_vpeid(cmd, desc->its_vmapti_cmd.vpe->vpe_id); in its_build_vmapti_cmd() 874 its_encode_vpeid(cmd, desc->its_vmovi_cmd.vpe->vpe_id); in its_build_vmovi_cmd() 894 its_encode_vpeid(cmd, desc->its_vmovp_cmd.vpe->vpe_id); in its_build_vmovp_cmd() 969 its_encode_vpeid(cmd, desc->its_invdb_cmd.vpe->vpe_id); in its_build_invdb_cmd() 984 its_encode_vpeid(cmd, desc->its_vsgi_cmd.vpe->vpe_id); in its_build_vsgi_cmd() 1170 its_encode_vpeid(sync_cmd, sync_vpe->vpe_id); in its_build_vsync_cmd() 1484 val |= FIELD_PREP(GICR_INVLPIR_VPEID, map->vpe->vpe_id); in direct_lpi_inv() 2805 /* Don't allow vpe_id tha in allocate_vpe_l2_table() 3366 its_alloc_vpe_table(u32 vpe_id) its_alloc_vpe_table() argument 4450 int vpe_id; its_vpe_init() local [all...] |
/kernel/linux/linux-5.10/include/linux/irqchip/ |
H A D | arm-gic-v4.h | 75 u16 vpe_id; member
|
/kernel/linux/linux-6.6/include/linux/irqchip/ |
H A D | arm-gic-v4.h | 77 u16 vpe_id; member
|