Lines Matching refs:fwspec
177 struct irq_fwspec *fwspec, in mst_intc_domain_translate() argument
183 if (is_of_node(fwspec->fwnode)) { in mst_intc_domain_translate()
184 if (fwspec->param_count != 3) in mst_intc_domain_translate()
188 if (fwspec->param[0] != 0) in mst_intc_domain_translate()
191 if (fwspec->param[1] >= cd->nr_irqs) in mst_intc_domain_translate()
194 *hwirq = fwspec->param[1]; in mst_intc_domain_translate()
195 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in mst_intc_domain_translate()
207 struct irq_fwspec parent_fwspec, *fwspec = data; in mst_intc_domain_alloc() local
211 if (fwspec->param_count != 3) in mst_intc_domain_alloc()
215 if (fwspec->param[0]) in mst_intc_domain_alloc()
218 hwirq = fwspec->param[1]; in mst_intc_domain_alloc()
224 parent_fwspec = *fwspec; in mst_intc_domain_alloc()