Lines Matching refs:phandle
19 typedef void *phandle;
104 static phandle memory;
117 phandle oprom, chosen;
121 if (oprom == (phandle) -1)
131 if (chosen == (phandle) -1) {
133 if (chosen == (phandle) -1) {
231 return (phandle) call_prom("finddevice", 1, 1, name);
234 static int of_getprop(const void *phandle, const char *name, void *buf,
237 return call_prom("getprop", 4, 1, phandle, name, buf, buflen);
240 static int of_setprop(const void *phandle, const char *name, const void *buf,
243 return call_prom("setprop", 4, 1, phandle, name, buf, buflen);