Lines Matching refs:pname
462 static int inline prom_getprop(phandle node, const char *pname, in prom_getprop() argument
465 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
469 static int inline prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
471 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
501 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
506 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
515 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
516 add_string(&p, tohex(strlen(pname))); in prom_setprop()
2119 static char pname[MAX_PROPERTY_NAME]; in scan_dt_build_struct() local
2163 pname) != 1) in scan_dt_build_struct()
2167 if (strcmp(pname, "name") == 0) { in scan_dt_build_struct()
2173 soff = dt_find_string(pname); in scan_dt_build_struct()
2176 " <%s>, node %s\n", pname, path); in scan_dt_build_struct()
2182 l = call_prom("getproplen", 2, 1, node, pname); in scan_dt_build_struct()
2195 call_prom("getprop", 4, 1, node, pname, valp, l); in scan_dt_build_struct()
2198 if (!strcmp(pname, "phandle")) in scan_dt_build_struct()