Lines Matching refs:gsi
15 static struct fwnode_handle *(*acpi_get_gsi_domain_id)(u32 gsi);
16 static u32 (*acpi_gsi_to_irq_fallback)(u32 gsi);
28 int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) in acpi_gsi_to_irq() argument
32 d = irq_find_matching_fwnode(acpi_get_gsi_domain_id(gsi), in acpi_gsi_to_irq()
34 *irq = irq_find_mapping(d, gsi); in acpi_gsi_to_irq()
40 *irq = acpi_gsi_to_irq_fallback(gsi); in acpi_gsi_to_irq()
56 int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, in acpi_register_gsi() argument
62 fwspec.fwnode = acpi_get_gsi_domain_id(gsi); in acpi_register_gsi()
68 fwspec.param[0] = gsi; in acpi_register_gsi()
84 void acpi_unregister_gsi(u32 gsi) in acpi_unregister_gsi() argument
89 if (WARN_ON(acpi_irq_model == ACPI_IRQ_MODEL_GIC && gsi < 16)) in acpi_unregister_gsi()
92 d = irq_find_matching_fwnode(acpi_get_gsi_domain_id(gsi), in acpi_unregister_gsi()
94 irq = irq_find_mapping(d, gsi); in acpi_unregister_gsi()
113 u32 gsi) in acpi_get_irq_source_fwhandle() argument
121 return acpi_get_gsi_domain_id(gsi); in acpi_get_irq_source_fwhandle()