Lines Matching refs:fwspec
190 struct irq_fwspec fwspec; in stm32_gpio_to_irq() local
192 fwspec.fwnode = bank->fwnode; in stm32_gpio_to_irq()
193 fwspec.param_count = 2; in stm32_gpio_to_irq()
194 fwspec.param[0] = offset; in stm32_gpio_to_irq()
195 fwspec.param[1] = IRQ_TYPE_NONE; in stm32_gpio_to_irq()
197 return irq_create_fwspec_mapping(&fwspec); in stm32_gpio_to_irq()
219 struct irq_fwspec *fwspec, in stm32_gpio_domain_translate() argument
223 if ((fwspec->param_count != 2) || in stm32_gpio_domain_translate()
224 (fwspec->param[0] >= STM32_GPIO_IRQ_LINE)) in stm32_gpio_domain_translate()
227 *hwirq = fwspec->param[0]; in stm32_gpio_domain_translate()
228 *type = fwspec->param[1]; in stm32_gpio_domain_translate()
247 struct irq_fwspec *fwspec = data; in stm32_gpio_domain_alloc() local
252 hwirq = fwspec->param[0]; in stm32_gpio_domain_alloc()
255 parent_fwspec.param[0] = fwspec->param[0]; in stm32_gpio_domain_alloc()
256 parent_fwspec.param[1] = fwspec->param[1]; in stm32_gpio_domain_alloc()