Lines Matching refs:fwspec
169 struct irq_fwspec *fwspec, in mbigen_domain_translate() argument
173 if (is_of_node(fwspec->fwnode) || is_acpi_device_node(fwspec->fwnode)) { in mbigen_domain_translate()
174 if (fwspec->param_count != 2) in mbigen_domain_translate()
177 if ((fwspec->param[0] > MAXIMUM_IRQ_PIN_NUM) || in mbigen_domain_translate()
178 (fwspec->param[0] < RESERVED_IRQ_PER_MBIGEN_CHIP)) in mbigen_domain_translate()
181 *hwirq = fwspec->param[0]; in mbigen_domain_translate()
184 if ((fwspec->param[1] == IRQ_TYPE_EDGE_RISING) || in mbigen_domain_translate()
185 (fwspec->param[1] == IRQ_TYPE_LEVEL_HIGH)) in mbigen_domain_translate()
186 *type = fwspec->param[1]; in mbigen_domain_translate()
200 struct irq_fwspec *fwspec = args; in mbigen_irq_domain_alloc() local
206 err = mbigen_domain_translate(domain, fwspec, &hwirq, &type); in mbigen_irq_domain_alloc()