Lines Matching full:matrix
80 const __be32 *matrix; in of_numa_parse_distance_map_v1() local
86 matrix = of_get_property(map, "distance-matrix", NULL); in of_numa_parse_distance_map_v1()
87 if (!matrix) { in of_numa_parse_distance_map_v1()
88 pr_err("No distance-matrix property in distance-map\n"); in of_numa_parse_distance_map_v1()
92 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
94 pr_err("Invalid distance-matrix\n"); in of_numa_parse_distance_map_v1()
101 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
102 matrix++; in of_numa_parse_distance_map_v1()
103 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
104 matrix++; in of_numa_parse_distance_map_v1()
105 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
106 matrix++; in of_numa_parse_distance_map_v1()