Searched refs:of_call_prom (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/boot/ |
H A D | oflib.c | 41 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() function 140 memory = of_call_prom("open", 1, 1, "/memory"); in check_of_version() 142 memory = of_call_prom("open", 1, 1, "/memory@0"); in check_of_version() 161 return of_call_prom("claim", 3, 1, virt, size, align); in of_claim() 170 ret = of_call_prom("call-method", 6, 1, "map", chosen_mmu, in of_claim() 198 of_call_prom("exit", 0, 0); in of_exit() 206 return (void *) (unsigned long) of_call_prom("finddevice", 1, 1, name); in of_finddevice() 212 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop() 218 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
|
H A D | ofconsole.c | 36 of_call_prom("write", 3, 1, of_stdout_handle, buf, len); in of_console_write()
|
H A D | of.h | 11 int of_call_prom(const char *service, int nargs, int nret, ...);
|