Function report |
Source Code:kernel\irq\devres.c |
Create Date:2022-07-28 10:11:59 |
| 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_threaded_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
Proto:int devm_request_threaded_irq(struct device *dev, unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn, 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 | |
| irq_handler_t | thread_fn | |
| unsigned long | irqflags | |
| const char * | devname | |
| void * | dev_id |
| 59 | dr = devres_alloc(devm_irq_release, sizeof(structirq_devres), GFP_KERNEL) |
| 67 | rc = quest_threaded_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs |
| 69 | If rc Then |
| 70 | devres_free(dr) |
| 71 | Return rc |
| 76 | devres_add(dev, dr) |
| 78 | Return 0 |
| Name | Describe |
|---|---|
| devm_request_irq |
| 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 |