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