intof_irq_count(struct device_node *dev){intnr =0;while(of_irq_to_resource(dev, nr,NULL)) nr++;returnnr; } 开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:9,代码来源:irq.c 示例6: of_irq_to_resource_table ▲点赞 1▼ /** * of_irq_to_resource_table - Fill in re...
+int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) +{ + int irq = irq_of_parse_and_map(dev, index); + + /* Only dereference the resource if both the + * resource and the irq are valid. */ + if (r && irq != NO_IRQ) { + r->start = r-...
Re: [linux-yocto]: [kernel/kernel-rt v6.1]: driver: sdk_fman: move the irq free operation to the front of releasing register resource In message: [linux-yocto]: [kernel/kernel-rt v6.1]: driver: sdk_fman: move the irq free operation to the front of releasing register resource on 22...