Home
last modified time | relevance | path

Searched refs:pname (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/prom/
Dtree_64.c329 prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument
335 if ((pname == 0) || (value == 0)) in prom_setprop()
340 ldom_set_var(pname, value); in prom_setprop()
348 args[4] = (unsigned long) pname; in prom_setprop()
Dtree_32.c281 int prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument
288 if ((pname == NULL) || (value == NULL)) in prom_setprop()
291 ret = prom_nodeops->no_setprop(node, pname, value, size); in prom_setprop()
/arch/powerpc/kernel/
Dprom_init.c642 static inline int __init prom_getprop(phandle node, const char *pname, in prom_getprop() argument
645 return call_prom("getprop", 4, 1, node, ADDR(pname), in prom_getprop()
649 static inline int __init prom_getproplen(phandle node, const char *pname) in prom_getproplen() argument
651 return call_prom("getproplen", 2, 1, node, ADDR(pname)); in prom_getproplen()
681 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
686 return call_prom("setprop", 4, 1, node, ADDR(pname), in prom_setprop()
695 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
696 add_string(&p, tohex(prom_strlen(pname))); in prom_setprop()
2556 static char pname[MAX_PROPERTY_NAME] __prombss; in scan_dt_build_struct() local
2600 pname) != 1) in scan_dt_build_struct()
[all …]