Home
last modified time | relevance | path

Searched refs:cpu_pm_notifier (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Dcpu_pm.c24 } cpu_pm_notifier = { variable
25 .chain = RAW_NOTIFIER_INIT(cpu_pm_notifier.chain),
26 .lock = __RAW_SPIN_LOCK_UNLOCKED(cpu_pm_notifier.lock),
34 ret = raw_notifier_call_chain(&cpu_pm_notifier.chain, event, NULL); in cpu_pm_notify()
45 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust()
47 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust()
66 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_register_notifier()
67 ret = raw_notifier_chain_register(&cpu_pm_notifier.chain, nb); in cpu_pm_register_notifier()
68 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_register_notifier()
86 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_unregister_notifier()
[all …]