Searched refs:of_call_prom (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/arch/powerpc/boot/ |
D | oflib.c | 26 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() function 135 memory = (ihandle) of_call_prom("open", 1, 1, "/memory"); in check_of_version() 137 memory = (ihandle) of_call_prom("open", 1, 1, "/memory@0"); in check_of_version() 155 return (void *) of_call_prom("claim", 3, 1, virt, size, align); in of_claim() 164 ret = of_call_prom("call-method", 6, 1, "map", chosen_mmu, in of_claim() 192 of_call_prom("exit", 0, 0); in of_exit() 200 return (phandle) of_call_prom("finddevice", 1, 1, name); in of_finddevice() 206 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop() 212 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
|
D | ofconsole.c | 38 of_call_prom("write", 3, 1, of_stdout_handle, buf, len); in of_console_write()
|
D | of.h | 8 int of_call_prom(const char *service, int nargs, int nret, ...);
|