Lines Matching refs:ofw_t

55 static int ofw_fdt_init(ofw_t, void *);
56 static phandle_t ofw_fdt_peer(ofw_t, phandle_t);
57 static phandle_t ofw_fdt_child(ofw_t, phandle_t);
58 static phandle_t ofw_fdt_parent(ofw_t, phandle_t);
59 static phandle_t ofw_fdt_instance_to_package(ofw_t, ihandle_t);
60 static ssize_t ofw_fdt_getproplen(ofw_t, phandle_t, const char *);
61 static ssize_t ofw_fdt_getprop(ofw_t, phandle_t, const char *, void *, size_t);
62 static int ofw_fdt_nextprop(ofw_t, phandle_t, const char *, char *, size_t);
63 static int ofw_fdt_setprop(ofw_t, phandle_t, const char *, const void *,
65 static ssize_t ofw_fdt_canon(ofw_t, const char *, char *, size_t);
66 static phandle_t ofw_fdt_finddevice(ofw_t, const char *);
67 static ssize_t ofw_fdt_instance_to_path(ofw_t, ihandle_t, char *, size_t);
68 static ssize_t ofw_fdt_package_to_path(ofw_t, phandle_t, char *, size_t);
69 static int ofw_fdt_interpret(ofw_t, const char *, int, cell_t *);
99 ofw_fdt_init(ofw_t ofw, void *data)
142 ofw_fdt_peer(ofw_t ofw, phandle_t node)
171 ofw_fdt_child(ofw_t ofw, phandle_t node)
193 ofw_fdt_parent(ofw_t ofw, phandle_t node)
207 ofw_fdt_instance_to_package(ofw_t ofw, ihandle_t instance)
216 ofw_fdt_getproplen(ofw_t ofw, phandle_t package, const char *propname)
239 ofw_fdt_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
276 ofw_fdt_nextprop(ofw_t ofw, phandle_t package, const char *previous, char *buf,
320 ofw_fdt_setprop(ofw_t ofw, phandle_t package, const char *propname,
334 ofw_fdt_canon(ofw_t ofw, const char *device, char *buf, size_t len)
342 ofw_fdt_finddevice(ofw_t ofw, const char *device)
354 ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
367 ofw_fdt_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
374 ofw_fdt_fixup(ofw_t ofw)
408 ofw_fdt_interpret(ofw_t ofw, const char *cmd, int nret, cell_t *retvals)