Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:suspend_device_irq

Proto:static bool suspend_device_irq(struct irq_desc *desc)

Type:bool

Parameter:

TypeParameterName
struct irq_desc *desc
72  If Not IRQ action list || irq_desc_is_chained(desc) || no_suspend_depth Then Return false
76  If irqd_is_wakeup_set( & irq_data) Then
77  irqd_set( & irq_data, IRQD_WAKEUP_ARMED)
84  Return true
87  istate |= IRQS_SUSPENDED
88  __disable_irq(desc)
96  If flags & IRQCHIP_MASK_ON_SUSPEND Then mask_irq(desc)
98  Return true
Caller
NameDescribe
suspend_device_irqssuspend_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