函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void suspend_device_irqs(void)

返回类型:void

参数:

122  for_each_irq_desc(irq, desc)
126  如果线程是嵌套中断类型则继续下一循环
128  raw_spin_lock_irqsave( & 自旋锁, flags)
129  sync等于suspend_device_irq(desc)
130  raw_spin_unlock_irqrestore( & 自旋锁, flags)
132  如果syncsynchronize_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