函数名称: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
函数原型: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)
返回类型:int
参数:
|
类型 | 参数 | 名称 |
|---|
| struct device * | dev | |
| unsigned int | irq | |
| irq_handler_t | handler | |
| irq_handler_t | thread_fn | |
| unsigned long | irqflags | |
| const char * | devname | |
| void * | dev_id | |