Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\irqdomain.c Create Date:2022-07-28 10:14:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int irq_domain_translate_twocell(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)

Type:int

Parameter:

TypeParameterName
struct irq_domain *d
struct irq_fwspec *fwspec
unsigned long *out_hwirq
unsigned int *out_type
1002  If WARN_ON(param_count < 2) Then Return -EINVAL
1004  out_hwirq = param[0]
1005  out_type = param[1] & IRQ_TYPE_SENSE_MASK
1006  Return 0
Caller
NameDescribe
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.