Lines Matching refs:namep
2068 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2078 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2079 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2081 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2086 if (strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2087 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2092 soff = dt_find_string(namep); in scan_dt_build_strings()
2094 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2095 namep = sstart + soff; in scan_dt_build_strings()
2098 *mem_start = (unsigned long)namep + strlen(namep) + 1; in scan_dt_build_strings()
2101 prev_name = namep; in scan_dt_build_strings()
2116 char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; in scan_dt_build_struct() local
2125 namep = (char *)*mem_start; in scan_dt_build_struct()
2129 l = call_prom("package-to-path", 3, 1, node, namep, room); in scan_dt_build_struct()
2134 namep = make_room(mem_start, mem_end, l+1, 1); in scan_dt_build_struct()
2135 call_prom("package-to-path", 3, 1, node, namep, l); in scan_dt_build_struct()
2137 namep[l] = '\0'; in scan_dt_build_struct()
2143 for (lp = p = namep, ep = namep + l; p < ep; p++) { in scan_dt_build_struct()
2145 lp = namep; in scan_dt_build_struct()
2234 char *namep; in flatten_device_tree() local
2270 namep = make_room(&mem_start, &mem_end, 16, 1); in flatten_device_tree()
2271 strcpy(namep, "linux,phandle"); in flatten_device_tree()
2272 mem_start = (unsigned long)namep + strlen(namep) + 1; in flatten_device_tree()