函数逻辑报告 |
Source Code:kernel\irq\generic-chip.c |
Create Date:2022-07-27 11:13:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:q_map_generic_chip - Map a generic chip for an irq domain
函数原型:int irq_map_generic_chip(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw_irq)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct irq_domain * | d | |
unsigned int | virq | |
irq_hw_number_t | hw_irq |
380 | data等于q_domain_get_irq_data - Get irq_data associated with @virq and @domain*@domain: domain to match*@virq: IRQ number to get irq_data |
388 | gc等于__irq_get_domain_generic_chip(d, hw_irq) |
392 | idx等于hw_irq取模irqs_per_chip |
394 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:负Operation is not supported |
397 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:负EBUSY |
400 | ct等于chip_types |
404 | 如果非installed则 |
405 | raw_spin_lock_irqsave( & lock, flags) |
406 | irq_gc_init_mask_cache(gc, gc_flags) |
407 | raw_spin_unlock_irqrestore( & lock, flags) |
411 | 设置内存位 |
413 | 如果gc_flags按位与IRQ_GC_INIT_NESTED_LOCK则irq_set_lockdep_class(virq, & Separate lockdep classes for interrupt chip which can nest irq_desc* lock and request mutex., & irq_nested_request_class) |
417 | 如果irq_calc_mask则irq_calc_mask(data) |
424 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |