Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\intel_epb.c Create Date:2022-07-28 07:57:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:intel_epb_init

Proto:static __init int intel_epb_init(void)

Type:int

Parameter:Nothing

200  If Not boot_cpu_has(IA32_ENERGY_PERF_BIAS support ) Then Return -ENODEV
203  ret = puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
206  If ret < 0 Then Go to err_out_online
209  register_syscore_ops( & intel_epb_syscore_ops)
210  Return 0
212  err_out_online :
213  puhp_remove_state - Remove hotplug state callbacks and invoke the teardown*@state: The state for which the calls are removed* Removes the callback functions and invokes the teardown callback on* the present cpus which have already reached the @state.
214  Return ret