Home
last modified time | relevance | path

Searched refs:cpuhp_state (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/include/linux/
Dcpuhotplug.h57 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 …]
Dnd.h54 enum cpuhp_state cpuhp_state; member
Dintel_rapl.h151 enum cpuhp_state pcap_rapl_online;
Dcpu.h159 void __noreturn cpu_startup_entry(enum cpuhp_state state);
/linux-6.12.1/kernel/
Dcpu.c67 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/
Dnd_perf.c243 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/
Dmeson_ddr_pmu_core.c28 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/
Dfsl_imx8_ddr_perf.c119 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()
Dfsl_imx9_ddr_perf.c78 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/
Ddfl-fme-perf.c159 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/
Drockchip-dfi.c109 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/
Dcpuidle-haltpoll.c26 static enum cpuhp_state haltpoll_hp_state;
/linux-6.12.1/arch/x86/kernel/
Dcpuid.c43 static enum cpuhp_state cpuhp_cpuid_state;
Dmsr.c42 static enum cpuhp_state cpuhp_msr_state;
/linux-6.12.1/drivers/platform/x86/intel/
Dtpmi_power_domains.c71 static enum cpuhp_state tpmi_hp_state __read_mostly;
/linux-6.12.1/drivers/misc/
Dvcpu_stall_detector.c39 enum cpuhp_state hp_online;
/linux-6.12.1/drivers/acpi/
Dprocessor_driver.c248 static enum cpuhp_state hp_online;
/linux-6.12.1/drivers/firmware/arm_ffa/
Ddriver.c106 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/
Duncore-frequency.c34 static enum cpuhp_state uncore_hp_state __read_mostly;
/linux-6.12.1/drivers/hwmon/
Dvia-cputemp.c280 static enum cpuhp_state via_temp_online;
/linux-6.12.1/kernel/sched/
Didle.c418 void cpu_startup_entry(enum cpuhp_state state) in cpu_startup_entry()
/linux-6.12.1/drivers/watchdog/
Docteon-wdt-main.c513 static enum cpuhp_state octeon_wdt_online;
/linux-6.12.1/drivers/thermal/intel/
Dx86_pkg_temp_thermal.c73 static enum cpuhp_state pkg_thermal_hp_state __read_mostly;
/linux-6.12.1/drivers/scsi/bnx2i/
Dbnx2i_init.c457 static enum cpuhp_state bnx2i_online_state;
/linux-6.12.1/drivers/pci/controller/
Dpci-xgene-msi.c349 static enum cpuhp_state pci_xgene_online;

12