Function report |
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 activity | Download SCCT | Chinese |
Name:suspend_device_irq
Proto:static bool suspend_device_irq(struct irq_desc *desc)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| Name | Describe |
|---|---|
| suspend_device_irqs | 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |