Lines Matching refs:fwspec
176 struct irq_fwspec *fwspec, in mbigen_domain_translate() argument
180 if (is_of_node(fwspec->fwnode)) { in mbigen_domain_translate()
181 if (fwspec->param_count != 2) in mbigen_domain_translate()
184 if ((fwspec->param[0] > MAXIMUM_IRQ_PIN_NUM) || in mbigen_domain_translate()
185 (fwspec->param[0] < RESERVED_IRQ_PER_MBIGEN_CHIP)) in mbigen_domain_translate()
188 *hwirq = fwspec->param[0]; in mbigen_domain_translate()
191 if ((fwspec->param[1] == IRQ_TYPE_EDGE_RISING) || in mbigen_domain_translate()
192 (fwspec->param[1] == IRQ_TYPE_LEVEL_HIGH)) in mbigen_domain_translate()
193 *type = fwspec->param[1]; in mbigen_domain_translate()
207 struct irq_fwspec *fwspec = args; in mbigen_irq_domain_alloc() local
213 err = mbigen_domain_translate(domain, fwspec, &hwirq, &type); in mbigen_irq_domain_alloc()