Lines Matching refs:fwspec
72 struct irq_fwspec *fwspec, in mtk_sysirq_domain_translate() argument
76 if (is_of_node(fwspec->fwnode)) { in mtk_sysirq_domain_translate()
77 if (fwspec->param_count != 3) in mtk_sysirq_domain_translate()
81 if (fwspec->param[0] != 0) in mtk_sysirq_domain_translate()
84 *hwirq = fwspec->param[1]; in mtk_sysirq_domain_translate()
85 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in mtk_sysirq_domain_translate()
97 struct irq_fwspec *fwspec = arg; in mtk_sysirq_domain_alloc() local
98 struct irq_fwspec gic_fwspec = *fwspec; in mtk_sysirq_domain_alloc()
100 if (fwspec->param_count != 3) in mtk_sysirq_domain_alloc()
104 if (fwspec->param[0]) in mtk_sysirq_domain_alloc()
107 hwirq = fwspec->param[1]; in mtk_sysirq_domain_alloc()