Lines Matching refs:ofw_t

81 static int ofw_real_init(ofw_t, void *openfirm);
82 static int ofw_real_test(ofw_t, const char *name);
83 static phandle_t ofw_real_peer(ofw_t, phandle_t node);
84 static phandle_t ofw_real_child(ofw_t, phandle_t node);
85 static phandle_t ofw_real_parent(ofw_t, phandle_t node);
86 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance);
87 static ssize_t ofw_real_getproplen(ofw_t, phandle_t package,
89 static ssize_t ofw_real_getprop(ofw_t, phandle_t package, const char *propname,
91 static int ofw_real_nextprop(ofw_t, phandle_t package, const char *previous,
93 static int ofw_real_setprop(ofw_t, phandle_t package, const char *propname,
95 static ssize_t ofw_real_canon(ofw_t, const char *device, char *buf, size_t len);
96 static phandle_t ofw_real_finddevice(ofw_t, const char *device);
97 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf,
99 static ssize_t ofw_real_package_to_path(ofw_t, phandle_t package, char *buf,
101 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method,
103 static int ofw_real_interpret(ofw_t ofw, const char *cmd, int nreturns,
105 static ihandle_t ofw_real_open(ofw_t, const char *device);
106 static void ofw_real_close(ofw_t, ihandle_t instance);
107 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len);
108 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr,
110 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos);
111 static caddr_t ofw_real_claim(ofw_t, void *virt, size_t size, u_int align);
112 static void ofw_real_release(ofw_t, void *virt, size_t size);
113 static void ofw_real_enter(ofw_t);
114 static void ofw_real_exit(ofw_t);
299 ofw_real_init(ofw_t ofw, void *openfirm)
314 ofw_real_test(ofw_t ofw, const char *name)
348 ofw_real_peer(ofw_t ofw, phandle_t node)
377 ofw_real_child(ofw_t ofw, phandle_t node)
406 ofw_real_parent(ofw_t ofw, phandle_t node)
435 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance)
464 ofw_real_getproplen(ofw_t ofw, phandle_t package, const char *propname)
496 ofw_real_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
536 ofw_real_nextprop(ofw_t ofw, phandle_t package, const char *previous,
574 ofw_real_setprop(ofw_t ofw, phandle_t package, const char *propname,
612 ofw_real_canon(ofw_t ofw, const char *device, char *buf, size_t len)
649 ofw_real_finddevice(ofw_t ofw, const char *device)
680 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
717 ofw_real_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
754 ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method,
801 ofw_real_interpret(ofw_t ofw, const char *cmd, int nreturns, cell_t *returns)
838 ofw_real_open(ofw_t ofw, const char *device)
869 ofw_real_close(ofw_t ofw, ihandle_t instance)
891 ofw_real_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
927 ofw_real_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
961 ofw_real_seek(ofw_t ofw, ihandle_t instance, u_int64_t pos)
998 ofw_real_claim(ofw_t ofw, void *virt, size_t size, u_int align)
1031 ofw_real_release(ofw_t ofw, void *virt, size_t size)
1060 ofw_real_enter(ofw_t ofw)
1082 ofw_real_exit(ofw_t ofw)