Lines Matching refs:node
40 int node; in read_platform_config_from_dt() local
57 node = fdt_path_offset(dtb, "/intc"); in read_platform_config_from_dt()
58 if (node < 0) { in read_platform_config_from_dt()
62 data = fdt_getprop(dtb, node, "reg", NULL); in read_platform_config_from_dt()
67 err = fdt_get_reg_props_by_index(dtb, node, 0, &gicd_base, NULL); in read_platform_config_from_dt()
74 err = fdt_get_reg_props_by_index(dtb, node, 1, &gicr_base, NULL); in read_platform_config_from_dt()
83 node = fdt_path_offset(dtb, "/intc/its"); in read_platform_config_from_dt()
84 if (node < 0) { in read_platform_config_from_dt()
88 err = fdt_get_reg_props_by_index(dtb, node, 0, &gic_its_addr, NULL); in read_platform_config_from_dt()
98 int node; in read_platform_version() local
100 node = fdt_path_offset(dtb, "/"); in read_platform_version()
101 if (node >= 0) { in read_platform_version()
102 platform_version_major = fdt32_ld(fdt_getprop(dtb, node, in read_platform_version()
104 platform_version_minor = fdt32_ld(fdt_getprop(dtb, node, in read_platform_version()