Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Disst_if.h48 __u32 logical_cpu; member
78 __u32 logical_cpu; member
111 __u32 logical_cpu; member
147 __u32 logical_cpu; member
/Linux-v5.10/arch/arm/kernel/
Dsmp_scu.c74 unsigned int logical_cpu, in scu_set_power_mode_internal() argument
78 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(logical_cpu), 0); in scu_set_power_mode_internal()
112 int scu_get_cpu_power_mode(void __iomem *scu_base, unsigned int logical_cpu) in scu_get_cpu_power_mode() argument
115 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(logical_cpu), 0); in scu_get_cpu_power_mode()
/Linux-v5.10/drivers/platform/x86/intel_speed_select_if/
Disst_if_common.c162 mbox_cmd.logical_cpu = sst_cmd->cpu; in isst_mbox_resume_command()
225 if (cmd->logical_cpu >= nr_cpu_ids) in isst_if_mbox_cmd_invalid()
380 if (cpu_map->logical_cpu >= nr_cpu_ids || in isst_if_proc_phyid_req()
381 cpu_map->logical_cpu >= num_possible_cpus()) in isst_if_proc_phyid_req()
385 cpu_map->physical_cpu = isst_cpu_info[cpu_map->logical_cpu].punit_cpu_id; in isst_if_proc_phyid_req()
412 if (msr_cmd->logical_cpu >= nr_cpu_ids) in isst_if_msr_cmd_req()
419 ret = wrmsrl_safe_on_cpu(msr_cmd->logical_cpu, in isst_if_msr_cmd_req()
425 msr_cmd->logical_cpu, in isst_if_msr_cmd_req()
430 ret = rdmsrl_safe_on_cpu(msr_cmd->logical_cpu, in isst_if_msr_cmd_req()
Disst_if_mbox_msr.c127 ret = smp_call_function_single(action.mbox_cmd->logical_cpu, in isst_if_mbox_proc_cmd()
135 action.mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
Disst_if_mbox_pci.c119 pdev = isst_if_get_pci_dev(mbox_cmd->logical_cpu, 1, 30, 1); in isst_if_mbox_proc_cmd()
136 mbox_cmd->logical_cpu, 1, in isst_if_mbox_proc_cmd()
Disst_if_mmio.c48 pdev = isst_if_get_pci_dev(io_reg->logical_cpu, 0, 0, 1); in isst_if_mmio_rd_wr()
/Linux-v5.10/arch/mips/netlogic/common/
Dsmp.c61 void nlm_send_ipi_single(int logical_cpu, unsigned int action) in nlm_send_ipi_single() argument
67 hwtid = cpu_logical_map(logical_cpu); in nlm_send_ipi_single()
150 int nlm_boot_secondary(int logical_cpu, struct task_struct *idle) in nlm_boot_secondary() argument
155 hwtid = cpu_logical_map(logical_cpu); in nlm_boot_secondary()
/Linux-v5.10/arch/arm/include/asm/
Dsmp_scu.h32 int scu_get_cpu_power_mode(void __iomem *scu_base, unsigned int logical_cpu);
48 unsigned int logical_cpu) in scu_get_cpu_power_mode() argument
/Linux-v5.10/drivers/base/
Dcpu.c77 int logical_cpu = cpu->dev.id; in unregister_cpu() local
79 unregister_cpu_under_node(logical_cpu, cpu_to_node(logical_cpu)); in unregister_cpu()
82 per_cpu(cpu_sys_devices, logical_cpu) = NULL; in unregister_cpu()
/Linux-v5.10/tools/power/x86/intel-speed-select/
Disst.h184 extern int find_phy_cpu_num(int logical_cpu);
185 extern int find_phy_core_num(int logical_cpu);
Disst-config.c610 map.cpu_map[0].logical_cpu = i; in create_cpu_map()
613 map.cpu_map[0].logical_cpu); in create_cpu_map()
617 map.cpu_map[0].logical_cpu); in create_cpu_map()
685 int find_phy_core_num(int logical_cpu) in find_phy_core_num() argument
687 if (logical_cpu < topo_max_cpus) in find_phy_core_num()
688 return cpu_map[logical_cpu].punit_cpu_core; in find_phy_core_num()
708 io_regs.io_reg[0].logical_cpu = cpu; in isst_send_mmio_command()
791 mbox_cmds.mbox_cmd[0].logical_cpu = cpu; in isst_send_mbox_command()
848 msr_cmds.msr_cmd[0].logical_cpu = cpu; in isst_send_msr_command()