/linux-6.12.1/include/linux/ |
D | cpuhotplug.h | 57 enum cpuhp_state { enum 251 int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke, 255 int __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, 271 static inline int cpuhp_setup_state(enum cpuhp_state state, in cpuhp_setup_state() 291 static inline int cpuhp_setup_state_cpuslocked(enum cpuhp_state state, in cpuhp_setup_state_cpuslocked() 311 static inline int cpuhp_setup_state_nocalls(enum cpuhp_state state, in cpuhp_setup_state_nocalls() 333 static inline int cpuhp_setup_state_nocalls_cpuslocked(enum cpuhp_state state, in cpuhp_setup_state_nocalls_cpuslocked() 354 static inline int cpuhp_setup_state_multi(enum cpuhp_state state, in cpuhp_setup_state_multi() 366 int __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node, 368 int __cpuhp_state_add_instance_cpuslocked(enum cpuhp_state state, [all …]
|
D | nd.h | 54 enum cpuhp_state cpuhp_state; member
|
D | intel_rapl.h | 151 enum cpuhp_state pcap_rapl_online;
|
D | cpu.h | 159 void __noreturn cpu_startup_entry(enum cpuhp_state state);
|
/linux-6.12.1/kernel/ |
D | cpu.c | 67 enum cpuhp_state state; 68 enum cpuhp_state target; 69 enum cpuhp_state fail; 78 enum cpuhp_state cb_state; 86 static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { 147 static struct cpuhp_step *cpuhp_get_step(enum cpuhp_state state) in cpuhp_get_step() 169 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback() 173 struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu); in cpuhp_invoke_callback() 252 static bool cpuhp_is_ap_state(enum cpuhp_state state) in cpuhp_is_ap_state() 276 static bool cpuhp_is_atomic_state(enum cpuhp_state state) in cpuhp_is_atomic_state() [all …]
|
/linux-6.12.1/drivers/nvdimm/ |
D | nd_perf.c | 243 nd_pmu->cpuhp_state = rc; in nvdimm_pmu_cpu_hotplug_init() 246 rc = cpuhp_state_add_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); in nvdimm_pmu_cpu_hotplug_init() 248 cpuhp_remove_multi_state(nd_pmu->cpuhp_state); in nvdimm_pmu_cpu_hotplug_init() 255 cpuhp_state_remove_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); in nvdimm_pmu_cpu_hotplug_init() 256 cpuhp_remove_multi_state(nd_pmu->cpuhp_state); in nvdimm_pmu_cpu_hotplug_init() 265 cpuhp_state_remove_instance_nocalls(nd_pmu->cpuhp_state, &nd_pmu->node); in nvdimm_pmu_free_hotplug_memory() 266 cpuhp_remove_multi_state(nd_pmu->cpuhp_state); in nvdimm_pmu_free_hotplug_memory()
|
/linux-6.12.1/drivers/perf/amlogic/ |
D | meson_ddr_pmu_core.c | 28 enum cpuhp_state cpuhp_state; member 525 pmu->cpuhp_state = ret; in meson_ddr_pmu_create() 528 ret = cpuhp_state_add_instance_nocalls(pmu->cpuhp_state, &pmu->node); in meson_ddr_pmu_create() 547 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in meson_ddr_pmu_create() 550 cpuhp_remove_state(pmu->cpuhp_state); in meson_ddr_pmu_create() 560 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in meson_ddr_pmu_remove() 561 cpuhp_remove_state(pmu->cpuhp_state); in meson_ddr_pmu_remove()
|
/linux-6.12.1/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 119 enum cpuhp_state cpuhp_state; member 780 pmu->cpuhp_state = ret; in ddr_perf_probe() 783 ret = cpuhp_state_add_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_probe() 821 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_probe() 823 cpuhp_remove_multi_state(pmu->cpuhp_state); in ddr_perf_probe() 834 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_remove() 835 cpuhp_remove_multi_state(pmu->cpuhp_state); in ddr_perf_remove()
|
D | fsl_imx9_ddr_perf.c | 78 enum cpuhp_state cpuhp_state; member 784 pmu->cpuhp_state = ret; in ddr_perf_probe() 787 ret = cpuhp_state_add_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_probe() 822 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_probe() 824 cpuhp_remove_multi_state(pmu->cpuhp_state); in ddr_perf_probe() 836 cpuhp_state_remove_instance_nocalls(pmu->cpuhp_state, &pmu->node); in ddr_perf_remove() 837 cpuhp_remove_multi_state(pmu->cpuhp_state); in ddr_perf_remove()
|
/linux-6.12.1/drivers/fpga/ |
D | dfl-fme-perf.c | 159 enum cpuhp_state cpuhp_state; member 982 priv->cpuhp_state = ret; in fme_perf_init() 985 ret = cpuhp_state_add_instance_nocalls(priv->cpuhp_state, &priv->node); in fme_perf_init() 997 cpuhp_state_remove_instance_nocalls(priv->cpuhp_state, &priv->node); in fme_perf_init() 999 cpuhp_remove_multi_state(priv->cpuhp_state); in fme_perf_init() 1009 cpuhp_state_remove_instance_nocalls(priv->cpuhp_state, &priv->node); in fme_perf_uinit() 1010 cpuhp_remove_multi_state(priv->cpuhp_state); in fme_perf_uinit()
|
/linux-6.12.1/drivers/devfreq/event/ |
D | rockchip-dfi.c | 109 enum cpuhp_state cpuhp_state; member 578 cpuhp_remove_multi_state(dfi->cpuhp_state); in rockchip_ddr_cpuhp_remove_state() 587 cpuhp_state_remove_instance_nocalls(dfi->cpuhp_state, &dfi->node); in rockchip_ddr_cpuhp_remove_instance() 627 dfi->cpuhp_state = ret; in rockchip_ddr_perf_init() 635 ret = cpuhp_state_add_instance_nocalls(dfi->cpuhp_state, &dfi->node); in rockchip_ddr_perf_init()
|
/linux-6.12.1/drivers/cpuidle/ |
D | cpuidle-haltpoll.c | 26 static enum cpuhp_state haltpoll_hp_state;
|
/linux-6.12.1/arch/x86/kernel/ |
D | cpuid.c | 43 static enum cpuhp_state cpuhp_cpuid_state;
|
D | msr.c | 42 static enum cpuhp_state cpuhp_msr_state;
|
/linux-6.12.1/drivers/platform/x86/intel/ |
D | tpmi_power_domains.c | 71 static enum cpuhp_state tpmi_hp_state __read_mostly;
|
/linux-6.12.1/drivers/misc/ |
D | vcpu_stall_detector.c | 39 enum cpuhp_state hp_online;
|
/linux-6.12.1/drivers/acpi/ |
D | processor_driver.c | 248 static enum cpuhp_state hp_online;
|
/linux-6.12.1/drivers/firmware/arm_ffa/ |
D | driver.c | 106 unsigned int cpuhp_state; member 1590 if (drv_info->cpuhp_state) { in ffa_uninit_pcpu_irq() 1591 cpuhp_remove_state(drv_info->cpuhp_state); in ffa_uninit_pcpu_irq() 1592 drv_info->cpuhp_state = 0; in ffa_uninit_pcpu_irq() 1663 drv_info->cpuhp_state = ret; in ffa_init_pcpu_irq()
|
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/ |
D | uncore-frequency.c | 34 static enum cpuhp_state uncore_hp_state __read_mostly;
|
/linux-6.12.1/drivers/hwmon/ |
D | via-cputemp.c | 280 static enum cpuhp_state via_temp_online;
|
/linux-6.12.1/kernel/sched/ |
D | idle.c | 418 void cpu_startup_entry(enum cpuhp_state state) in cpu_startup_entry()
|
/linux-6.12.1/drivers/watchdog/ |
D | octeon-wdt-main.c | 513 static enum cpuhp_state octeon_wdt_online;
|
/linux-6.12.1/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 73 static enum cpuhp_state pkg_thermal_hp_state __read_mostly;
|
/linux-6.12.1/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 457 static enum cpuhp_state bnx2i_online_state;
|
/linux-6.12.1/drivers/pci/controller/ |
D | pci-xgene-msi.c | 349 static enum cpuhp_state pci_xgene_online;
|