Lines Matching +full:interface +full:- +full:node

3 /*-
4 * SPDX-License-Identifier: (BSD-4-Clause AND BSD-2-Clause)
67 * Prototypes for Open Firmware Interface Routines
82 * Open Firmware interface initialization. OF_install installs the named
83 * interface as the Open Firmware access mechanism, OF_init initializes it.
90 * Known Open Firmware interface names
93 #define OFW_STD_DIRECT "ofw_std" /* Standard OF interface */
94 #define OFW_STD_REAL "ofw_real" /* Real-mode OF interface */
95 #define OFW_STD_32BIT "ofw_32bit" /* 32-bit OF interface */
103 phandle_t OF_peer(phandle_t node);
104 phandle_t OF_child(phandle_t node);
105 phandle_t OF_parent(phandle_t node);
106 ssize_t OF_getproplen(phandle_t node, const char *propname);
107 ssize_t OF_getprop(phandle_t node, const char *propname, void *buf,
109 ssize_t OF_getencprop(phandle_t node, const char *prop, pcell_t *buf,
111 int OF_hasprop(phandle_t node, const char *propname);
112 ssize_t OF_searchprop(phandle_t node, const char *propname, void *buf,
114 ssize_t OF_searchencprop(phandle_t node, const char *propname,
116 ssize_t OF_getprop_alloc(phandle_t node, const char *propname,
118 ssize_t OF_getprop_alloc_multi(phandle_t node, const char *propname,
120 ssize_t OF_getencprop_alloc(phandle_t node, const char *propname,
122 ssize_t OF_getencprop_alloc_multi(phandle_t node, const char *propname,
125 int OF_nextprop(phandle_t node, const char *propname, char *buf,
127 int OF_setprop(phandle_t node, const char *name, const void *buf,
131 ssize_t OF_package_to_path(phandle_t node, char *buf, size_t len);
135 * used for device-tree cross-references. Given one of these, returns the
140 phandle_t OF_xref_from_node(phandle_t node);
145 * instance. These routines allow a driver that provides such an interface to
174 /* User interface functions */
178 * Decode the Nth register property of the given device node and create a bus