函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cpu_pm.c Create Date:2022-07-27 13:58:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cpu_pm_notify

函数原型:static int cpu_pm_notify(enum cpu_pm_event event, int nr_to_call, int *nr_calls)

返回类型:int

参数:

类型参数名称
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  返回:Restore (negative) errno value from notify return value.
调用者
名称描述
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