Lines Matching refs:node
328 phys_addr_t phys_addr = dcr_resource_start(mpic->node, 0); in _mpic_map_dcr()
329 rb->dhost = dcr_map(mpic->node, phys_addr + offset, size); in _mpic_map_dcr()
994 static int mpic_host_match(struct irq_domain *h, struct device_node *node, in mpic_host_match() argument
999 return of_node == NULL || of_node == node; in mpic_host_match()
1215 struct mpic * __init mpic_alloc(struct device_node *node, in mpic_alloc() argument
1241 if (node) { in mpic_alloc()
1242 node = of_node_get(node); in mpic_alloc()
1244 node = of_find_matching_node(NULL, mpic_device_id); in mpic_alloc()
1245 if (!node) in mpic_alloc()
1252 if (of_property_read_bool(node, "dcr-reg")) { in mpic_alloc()
1256 if (of_address_to_resource(node, 0, &r)) in mpic_alloc()
1263 if (of_property_read_bool(node, "big-endian")) in mpic_alloc()
1265 if (of_property_read_bool(node, "pic-no-reset")) in mpic_alloc()
1267 if (of_property_read_bool(node, "single-cpu-affinity")) in mpic_alloc()
1269 if (of_device_is_compatible(node, "fsl,mpic")) { in mpic_alloc()
1280 mpic->node = node; in mpic_alloc()
1325 psrc = of_get_property(mpic->node, "protected-sources", &psize); in mpic_alloc()
1469 of_property_read_u32(mpic->node, "last-interrupt-source", &last_irq); in mpic_alloc()
1486 mpic->irqhost = irq_domain_add_linear(mpic->node, in mpic_alloc()
1529 of_node_put(node); in mpic_alloc()
1649 int virq = irq_of_parse_and_map(mpic->node, 0); in mpic_init()
1652 mpic->node, virq); in mpic_init()