Lines Matching refs:pname
455 static int inline prom_getprop(phandle node, const char *pname, in prom_getprop() argument
458 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
462 static int inline prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
464 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
494 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
499 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
508 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
509 add_string(&p, tohex(strlen(RELOC(pname)))); in prom_setprop()
1898 static char pname[MAX_PROPERTY_NAME]; in scan_dt_build_struct() local
1942 RELOC(pname)) != 1) in scan_dt_build_struct()
1946 if (strcmp(RELOC(pname), RELOC("name")) == 0) { in scan_dt_build_struct()
1952 soff = dt_find_string(RELOC(pname)); in scan_dt_build_struct()
1955 " <%s>, node %s\n", RELOC(pname), path); in scan_dt_build_struct()
1961 l = call_prom("getproplen", 2, 1, node, RELOC(pname)); in scan_dt_build_struct()
1970 prom_printf("%s length 0x%x\n", RELOC(pname), l); in scan_dt_build_struct()
1981 call_prom("getprop", 4, 1, node, RELOC(pname), valp, l); in scan_dt_build_struct()