Function report |
Source Code:kernel\irq\irq_sim.c |
Create Date:2022-07-28 10:14:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int devm_irq_sim_init(struct device *dev, struct irq_sim *sim, unsigned int num_irqs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct irq_sim * | sim | |
unsigned int | num_irqs |
151 | dr = devres_alloc(devm_irq_sim_release, size of dr , GFP_KERNEL) |
156 | If rv < 0 Then |
157 | devres_free(dr) |
158 | Return rv |
162 | devres_add(dev, dr) |
164 | Return rv |
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 |