函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\irqdomain.c Create Date:2022-07-27 11:14:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_domain_translate_twocell() - Generic translate for direct two cell* bindings* Device Tree IRQ specifier translation function which works with two cell* bindings where the cell values map directly to the hwirq number* and linux irq flags.

函数原型:int irq_domain_translate_twocell(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)

返回类型:int

参数:

类型参数名称
struct irq_domain *d
struct irq_fwspec *fwspec
unsigned long *out_hwirq
unsigned int *out_type
1002  如果WARN_ON(param_count < 2)则返回:负EINVAL
1004  out_hwirq等于param[0]
1005  out_type等于param[1]按位与IRQ_TYPE_SENSE_MASK
1006  返回:0
调用者
名称描述
irq_domain_xlate_twocellq_domain_xlate_twocell() - Generic xlate for direct two cell bindings* Device Tree IRQ specifier translation function which works with two cell* bindings where the cell values map directly to the hwirq number* and linux irq flags.