Lines Matching refs:np
29 * @np: device node of FPGA Region
35 static struct fpga_region *of_fpga_region_find(struct device_node *np)
37 return fpga_region_class_find(NULL, np, device_match_of_node);
42 * @np: device node of FPGA region
50 static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np)
55 of_node_get(np);
56 while (np) {
57 if (of_device_is_compatible(np, "fpga-region")) {
58 mgr_node = of_parse_phandle(np, "fpga-mgr", 0);
62 of_node_put(np);
66 np = of_get_next_parent(np);
68 of_node_put(np);
93 struct device_node *br, *np, *parent_br = NULL;
112 np = info->overlay;
114 np = region_np;
118 br = of_parse_phandle(np, "fpga-bridges", i);
400 struct device_node *np = dev->of_node;
406 mgr = of_fpga_region_get_mgr(np);
416 of_platform_populate(np, fpga_region_of_match, NULL, ®ion->dev);