Lines Matching refs:cpu_pm_notifier
24 } cpu_pm_notifier = { variable
25 .chain = RAW_NOTIFIER_INIT(cpu_pm_notifier.chain),
26 .lock = __RAW_SPIN_LOCK_UNLOCKED(cpu_pm_notifier.lock),
40 ret = raw_notifier_call_chain(&cpu_pm_notifier.chain, event, NULL); in cpu_pm_notify()
53 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust()
54 ret = raw_notifier_call_chain_robust(&cpu_pm_notifier.chain, event_up, event_down, NULL); in cpu_pm_notify_robust()
55 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_notify_robust()
75 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_register_notifier()
76 ret = raw_notifier_chain_register(&cpu_pm_notifier.chain, nb); in cpu_pm_register_notifier()
77 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_register_notifier()
95 raw_spin_lock_irqsave(&cpu_pm_notifier.lock, flags); in cpu_pm_unregister_notifier()
96 ret = raw_notifier_chain_unregister(&cpu_pm_notifier.chain, nb); in cpu_pm_unregister_notifier()
97 raw_spin_unlock_irqrestore(&cpu_pm_notifier.lock, flags); in cpu_pm_unregister_notifier()