Lines Matching refs:namep
2040 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2050 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2051 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2053 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2058 if (strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2059 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2064 soff = dt_find_string(namep); in scan_dt_build_strings()
2066 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2067 namep = sstart + soff; in scan_dt_build_strings()
2070 *mem_start = (unsigned long)namep + strlen(namep) + 1; in scan_dt_build_strings()
2073 prev_name = namep; in scan_dt_build_strings()
2088 char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; in scan_dt_build_struct() local
2097 namep = (char *)*mem_start; in scan_dt_build_struct()
2101 l = call_prom("package-to-path", 3, 1, node, namep, room); in scan_dt_build_struct()
2106 namep = make_room(mem_start, mem_end, l+1, 1); in scan_dt_build_struct()
2107 call_prom("package-to-path", 3, 1, node, namep, l); in scan_dt_build_struct()
2109 namep[l] = '\0'; in scan_dt_build_struct()
2115 for (lp = p = namep, ep = namep + l; p < ep; p++) { in scan_dt_build_struct()
2117 lp = namep; in scan_dt_build_struct()
2206 char *namep; in flatten_device_tree() local
2242 namep = make_room(&mem_start, &mem_end, 16, 1); in flatten_device_tree()
2243 strcpy(namep, "linux,phandle"); in flatten_device_tree()
2244 mem_start = (unsigned long)namep + strlen(namep) + 1; in flatten_device_tree()