Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:09:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_set_irq_wake - control irq power management wakeup*@irq: interrupt to control*@on: enable/disable power management wakeup* Enable/disable power management wakeup mode, which is* disabled by default. Enables and disables must match,
Proto:int irq_set_irq_wake(unsigned int irq, unsigned int on)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | irq | |
unsigned int | on |
685 | desc = irq_get_desc_buslock(irq, & flags, IRQ_GET_DESC_CHECK_GLOBAL) |
686 | ret = 0 |
694 | Go to out_unlock |
700 | If on Then |
701 | If nested wake enables ++ == 0 Then |
702 | ret = set_irq_wake_real(irq, on) |
703 | If ret Then nested wake enables = 0 |
705 | Else irqd_set( & irq_data, IRQD_WAKEUP_STATE) |
708 | Else |
709 | If nested wake enables == 0 Then |
711 | Else if -- nested wake enables == 0 Then |
712 | ret = set_irq_wake_real(irq, on) |
713 | If ret Then nested wake enables = 1 |
715 | Else irqd_clear( & irq_data, IRQD_WAKEUP_STATE) |
720 | out_unlock : |
721 | irq_put_desc_busunlock(desc, flags) |
722 | Return ret |
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 |