Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:suspend_device_irqs - disable all currently enabled interrupt lines* During system-wide suspend or hibernation device drivers need to be* prevented from receiving interrupts and this function is provided* for this purpose

Proto:void suspend_device_irqs(void)

Type:void

Parameter:Nothing

122  for_each_irq_desc(irq, desc)
126  If irq_settings_is_nested_thread(desc) Then Continue
128  raw_spin_lock_irqsave( & lock, flags)
129  sync = suspend_device_irq(desc)
130  raw_spin_unlock_irqrestore( & lock, flags)
132  If sync Then synchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while