Lines Matching refs:fwnode

31 	struct fwnode_handle fwnode;  member
60 fwid->fwnode.type = FWNODE_IRQCHIP; in irq_domain_alloc_fwnode()
61 return &fwid->fwnode; in irq_domain_alloc_fwnode()
69 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() argument
73 if (WARN_ON(fwnode->type != FWNODE_IRQCHIP)) in irq_domain_free_fwnode()
76 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irq_domain_free_fwnode()
94 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, in __irq_domain_add() argument
102 of_node = to_of_node(fwnode); in __irq_domain_add()
115 domain->fwnode = fwnode; in __irq_domain_add()
250 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() argument
268 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwnode()
270 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwnode()
548 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
562 fwspec->fwnode = irq_data->np ? &irq_data->np->fwnode : NULL; in of_phandle_args_to_fwspec()
576 if (fwspec->fwnode) in irq_create_fwspec_mapping()
577 domain = irq_find_matching_fwnode(fwspec->fwnode, DOMAIN_BUS_ANY); in irq_create_fwspec_mapping()
583 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
874 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy() argument
881 domain = irq_domain_create_linear(fwnode, size, ops, host_data); in irq_domain_create_hierarchy()
883 domain = irq_domain_create_tree(fwnode, ops, host_data); in irq_domain_create_hierarchy()