函数逻辑报告 |
Source Code:kernel\irq\irq_sim.c |
Create Date:2022-07-27 11:14:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:q_sim_init - Initialize the interrupt simulator: allocate a range of* dummy interrupts.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate* On success: return the base of the allocated interrupt range.
函数原型:int irq_sim_init(struct irq_sim *sim, unsigned int num_irqs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct irq_sim * | sim | |
unsigned int | num_irqs |
83 | irq_base等于use macros to avoid needing export.h for THIS_MODULE ( - 1, 0, num_irqs, 0) |
84 | 如果irq_base小于0则 |
90 | 如果非pending则 |
98 | enabled = false |
102 | irq_modify_status(irq_base + i, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE) |
106 | init_irq_work( & work, irq_sim_handle_irq) |
109 | 返回:irq_base |
名称 | 描述 |
---|---|
devm_irq_sim_init | q_sim_init - Initialize the interrupt simulator for a managed device.*@dev: Device to initialize the simulator object for.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |