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
141 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_add()
145 if (is_fwnode_irqchip(fwnode)) { in __irq_domain_add()
146 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in __irq_domain_add()
151 domain->fwnode = fwnode; in __irq_domain_add()
160 domain->fwnode = fwnode; in __irq_domain_add()
164 } else if (is_of_node(fwnode) || is_acpi_device_node(fwnode) || in __irq_domain_add()
165 is_software_node(fwnode)) { in __irq_domain_add()
173 name = kasprintf(GFP_KERNEL, "%pfw", fwnode); in __irq_domain_add()
182 domain->fwnode = fwnode; in __irq_domain_add()
187 if (fwnode) in __irq_domain_add()
198 fwnode_handle_get(fwnode); in __irq_domain_add()
247 fwnode_handle_put(domain->fwnode); in irq_domain_remove()
374 struct fwnode_handle *fwnode = fwspec->fwnode; in irq_find_matching_fwspec() local
391 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
393 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwspec()
728 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
743 fwspec->fwnode = np ? &np->fwnode : NULL; in of_phandle_args_to_fwspec()
758 if (fwspec->fwnode) { in irq_create_fwspec_mapping()
768 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
810 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
1070 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy() argument
1077 domain = irq_domain_create_linear(fwnode, size, ops, host_data); in irq_domain_create_hierarchy()
1079 domain = irq_domain_create_tree(fwnode, ops, host_data); in irq_domain_create_hierarchy()