Lines Matching +full:firmware +full:- +full:phandle

1 /* SPDX-License-Identifier: GPL-2.0 */
28 /* Revision, and firmware revision. */
34 extern phandle prom_root_node;
37 * and usage utility functions. Only prom-lib should use these,
65 /* Enter the prom, with no chance of continuation for the stand-alone
74 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
91 /* Get the prom firmware revision. */
115 phandle prom_getchild(phandle parent_node);
120 phandle prom_getsibling(phandle node);
123 * Returns -1 on error (ie. no such property at this node).
125 int prom_getproplen(phandle thisnode, const char *property);
128 * the number of bytes the prom put into your buffer or -1 on error.
130 int __must_check prom_getproperty(phandle thisnode, const char *property,
134 int prom_getint(phandle node, char *property);
137 int prom_getintdefault(phandle node, char *property, int defval);
140 int prom_getbool(phandle node, char *prop);
143 void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
148 phandle prom_searchsiblings(phandle node_start, char *name);
153 char *prom_nextprop(phandle node, char *prev_property, char *buffer);
155 /* Returns phandle of the path specified */
156 phandle prom_finddevice(char *name);
161 int prom_setprop(phandle node, const char *prop_name, char *prop_value,
164 phandle prom_inst2pkg(int);
172 void prom_apply_generic_ranges(phandle node, phandle parent,
178 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid);
179 int cpu_find_by_mid(int mid, phandle *prom_node);
180 int cpu_get_hwmid(phandle prom_node);