Lines Matching refs:fwspec
71 struct irq_fwspec *fwspec, in mtk_sysirq_domain_translate() argument
75 if (is_of_node(fwspec->fwnode)) { in mtk_sysirq_domain_translate()
76 if (fwspec->param_count != 3) in mtk_sysirq_domain_translate()
80 if (fwspec->param[0] != 0) in mtk_sysirq_domain_translate()
83 *hwirq = fwspec->param[1]; in mtk_sysirq_domain_translate()
84 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in mtk_sysirq_domain_translate()
96 struct irq_fwspec *fwspec = arg; in mtk_sysirq_domain_alloc() local
97 struct irq_fwspec gic_fwspec = *fwspec; in mtk_sysirq_domain_alloc()
99 if (fwspec->param_count != 3) in mtk_sysirq_domain_alloc()
103 if (fwspec->param[0]) in mtk_sysirq_domain_alloc()
106 hwirq = fwspec->param[1]; in mtk_sysirq_domain_alloc()