Function report |
Source Code:kernel\irq\devres.c |
Create Date:2022-07-28 10:12:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devm_request_any_context_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs*@irqflags: Interrupt type flags*@devname: An ascii
Proto:int devm_request_any_context_irq(struct device *dev, unsigned int irq, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
unsigned int | irq | |
irq_handler_t | handler | |
unsigned long | irqflags | |
const char * | devname | |
void * | dev_id |
106 | dr = devres_alloc(devm_irq_release, sizeof(structirq_devres), GFP_KERNEL) |
114 | rc = quest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs |
115 | If rc < 0 Then |
116 | devres_free(dr) |
117 | Return rc |
122 | devres_add(dev, dr) |
124 | Return rc |
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 |