Function report |
Source Code:kernel\irq\generic-chip.c |
Create Date:2022-07-28 10:12:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_gc_set_wake - Set/clr wake bit for an interrupt*@d: irq_data*@on: Indicates whether the wake bit should be set or cleared* For chips where the wake from suspend functionality is not* configured in a separate register and the wakeup active state is
Proto:int irq_gc_set_wake(struct irq_data *d, unsigned int on)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct irq_data * | d | |
| unsigned int | on |
| 189 | gc = irq_data_get_irq_chip_data(d) |
| 192 | If Not (mask & wake_enabled) Then Return -EINVAL |
| 195 | irq_gc_lock(gc) |
| 196 | If on Then wake_active |= mask |
| 198 | Else wake_active &= ~mask |
| 200 | irq_gc_unlock(gc) |
| 201 | Return 0 |
| 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 |