Lines Matching refs:fwspec
59 struct irq_fwspec fwspec; in acpi_register_gsi() local
62 fwspec.fwnode = acpi_get_gsi_domain_id(gsi); in acpi_register_gsi()
63 if (WARN_ON(!fwspec.fwnode)) { in acpi_register_gsi()
68 fwspec.param[0] = gsi; in acpi_register_gsi()
69 fwspec.param[1] = acpi_dev_get_irq_type(trigger, polarity); in acpi_register_gsi()
70 fwspec.param_count = 2; in acpi_register_gsi()
72 irq = irq_create_fwspec_mapping(&fwspec); in acpi_register_gsi()
145 struct irq_fwspec *fwspec; member
173 ctx->fwspec->fwnode = fwnode; in acpi_irq_parse_one_match()
174 ctx->fwspec->param[0] = hwirq; in acpi_irq_parse_one_match()
175 ctx->fwspec->param[1] = acpi_dev_get_irq_type(triggering, polarity); in acpi_irq_parse_one_match()
176 ctx->fwspec->param_count = 2; in acpi_irq_parse_one_match()
253 struct irq_fwspec *fwspec, unsigned long *flags) in acpi_irq_parse_one() argument
255 struct acpi_irq_parse_one_ctx ctx = { -EINVAL, index, flags, fwspec }; in acpi_irq_parse_one()
278 struct irq_fwspec fwspec; in acpi_irq_get() local
283 rc = acpi_irq_parse_one(handle, index, &fwspec, &flags); in acpi_irq_get()
287 domain = irq_find_matching_fwnode(fwspec.fwnode, DOMAIN_BUS_ANY); in acpi_irq_get()
291 rc = irq_create_fwspec_mapping(&fwspec); in acpi_irq_get()