Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:09:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Internal function that tells the architecture code whether a* particular irq has been exclusively allocated or is available* for driver use.
Proto:int can_request_irq(unsigned int irq, unsigned long irqflags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | irq | |
unsigned long | irqflags |
734 | desc = irq_get_desc_lock(irq, & flags, 0) |
735 | canrequest = 0 |
737 | If Not desc Then Return 0 |
740 | If irq_settings_can_request(desc) Then |
741 | If Not IRQ action list || irqflags & flags & allow sharing the irq among several devices Then canrequest = 1 |
745 | irq_put_desc_unlock(desc, flags) |
746 | Return canrequest |
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 |