Lines Matching refs:fwnode
31 struct fwnode_handle fwnode; member
94 fwid->fwnode.ops = &irqchip_fwnode_ops; in __irq_domain_alloc_fwnode()
95 return &fwid->fwnode; in __irq_domain_alloc_fwnode()
104 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() argument
108 if (WARN_ON(!is_fwnode_irqchip(fwnode))) in irq_domain_free_fwnode()
111 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irq_domain_free_fwnode()
130 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, in __irq_domain_add() argument
135 struct device_node *of_node = to_of_node(fwnode); in __irq_domain_add()
146 if (fwnode && is_fwnode_irqchip(fwnode)) { in __irq_domain_add()
147 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in __irq_domain_add()
152 domain->fwnode = fwnode; in __irq_domain_add()
161 domain->fwnode = fwnode; in __irq_domain_add()
166 } else if (is_acpi_device_node(fwnode)) { in __irq_domain_add()
172 handle = acpi_device_handle(to_acpi_device_node(fwnode)); in __irq_domain_add()
178 domain->fwnode = fwnode; in __irq_domain_add()
197 domain->fwnode = fwnode; in __irq_domain_add()
202 if (fwnode) in __irq_domain_add()
388 struct fwnode_handle *fwnode = fwspec->fwnode; in irq_find_matching_fwspec() local
405 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
407 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwspec()
739 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
754 fwspec->fwnode = np ? &np->fwnode : NULL; in of_phandle_args_to_fwspec()
769 if (fwspec->fwnode) { in irq_create_fwspec_mapping()
779 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
821 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
1052 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy() argument
1059 domain = irq_domain_create_linear(fwnode, size, ops, host_data); in irq_domain_create_hierarchy()
1061 domain = irq_domain_create_tree(fwnode, ops, host_data); in irq_domain_create_hierarchy()