Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpu_pm_notify

Proto:static int cpu_pm_notify(enum cpu_pm_event event, int nr_to_call, int *nr_calls)

Type:int

Parameter:

TypeParameterName
enum cpu_pm_eventevent
intnr_to_call
int *nr_calls
27  Wrapper for rcu_irq_enter() where interrupts are enabled.* If you add or remove a call to rcu_irq_enter_irqson(), be sure to test* with CONFIG_RCU_EQS_DEBUG=y.
28  ret = __atomic_notifier_call_chain - Call functions in an atomic notifier chain*@nh: Pointer to head of the atomic notifier chain*@val: Value passed unmodified to notifier function*@v: Pointer passed unmodified to notifier function
30  Wrapper for rcu_irq_exit() where interrupts are enabled.* If you add or remove a call to rcu_irq_exit_irqson(), be sure to test* with CONFIG_RCU_EQS_DEBUG=y.
32  Return Restore (negative) errno value from notify return value.
Caller
NameDescribe
cpu_pm_enterpu_pm_enter - CPU low power entry notifier* Notifies listeners that a single CPU is entering a low power state that may* cause some blocks in the same power domain as the cpu to reset.* Must be called on the affected CPU with interrupts disabled
cpu_pm_exitpu_pm_exit - CPU low power exit notifier* Notifies listeners that a single CPU is exiting a low power state that may* have caused some blocks in the same power domain as the cpu to reset
cpu_cluster_pm_enterpu_cluster_pm_enter - CPU cluster low power entry notifier* Notifies listeners that all cpus in a power domain are entering a low power* state that may cause some blocks in the same power domain to reset
cpu_cluster_pm_exitpu_cluster_pm_exit - CPU cluster low power exit notifier* Notifies listeners that all cpus in a power domain are exiting form a* low power state that may have caused some blocks in the same power domain* to reset