Lines Matching refs:pname
501 static inline int prom_getprop(phandle node, const char *pname, in prom_getprop() argument
504 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
508 static inline int prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
510 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
540 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
545 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
554 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
555 add_string(&p, tohex(strlen(pname))); in prom_setprop()
2401 static char pname[MAX_PROPERTY_NAME]; in scan_dt_build_struct() local
2445 pname) != 1) in scan_dt_build_struct()
2449 if (strcmp(pname, "name") == 0) { in scan_dt_build_struct()
2455 soff = dt_find_string(pname); in scan_dt_build_struct()
2458 " <%s>, node %s\n", pname, path); in scan_dt_build_struct()
2464 l = call_prom("getproplen", 2, 1, node, pname); in scan_dt_build_struct()
2477 call_prom("getprop", 4, 1, node, pname, valp, l); in scan_dt_build_struct()
2480 if (!strcmp(pname, "phandle")) in scan_dt_build_struct()