Lines Matching refs:fwspec
130 struct irq_fwspec *fwspec, in ixp4xx_irq_domain_translate() argument
135 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { in ixp4xx_irq_domain_translate()
136 *hwirq = fwspec->param[0]; in ixp4xx_irq_domain_translate()
137 *type = fwspec->param[1]; in ixp4xx_irq_domain_translate()
141 if (is_fwnode_irqchip(fwspec->fwnode)) { in ixp4xx_irq_domain_translate()
142 if (fwspec->param_count != 2) in ixp4xx_irq_domain_translate()
144 *hwirq = fwspec->param[0]; in ixp4xx_irq_domain_translate()
145 *type = fwspec->param[1]; in ixp4xx_irq_domain_translate()
160 struct irq_fwspec *fwspec = data; in ixp4xx_irq_domain_alloc() local
164 ret = ixp4xx_irq_domain_translate(d, fwspec, &hwirq, &type); in ixp4xx_irq_domain_alloc()
312 struct irq_fwspec fwspec; in ixp4xx_irq_init() local
347 fwspec.fwnode = fwnode; in ixp4xx_irq_init()
348 fwspec.param[0] = chunk->hwirq; in ixp4xx_irq_init()
349 fwspec.param[1] = IRQ_TYPE_LEVEL_HIGH; in ixp4xx_irq_init()
350 fwspec.param_count = 2; in ixp4xx_irq_init()
355 &fwspec, in ixp4xx_irq_init()