Lines Matching refs:pname
659 static inline int __init prom_getprop(phandle node, const char *pname, in prom_getprop() argument
662 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
666 static inline int __init prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
668 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
698 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
703 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
712 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
713 add_string(&p, tohex(prom_strlen(pname))); in prom_setprop()
2594 static char pname[MAX_PROPERTY_NAME] __prombss; in scan_dt_build_struct() local
2638 pname) != 1) in scan_dt_build_struct()
2642 if (prom_strcmp(pname, "name") == 0) { in scan_dt_build_struct()
2648 soff = dt_find_string(pname); in scan_dt_build_struct()
2651 " <%s>, node %s\n", pname, path); in scan_dt_build_struct()
2657 l = call_prom("getproplen", 2, 1, node, pname); in scan_dt_build_struct()
2670 call_prom("getprop", 4, 1, node, pname, valp, l); in scan_dt_build_struct()
2673 if (!prom_strcmp(pname, "phandle")) in scan_dt_build_struct()