Lines Matching refs:package

83 static ssize_t ofw_std_getproplen(ofw_t ofw, phandle_t package,
85 static ssize_t ofw_std_getprop(ofw_t ofw, phandle_t package,
87 static int ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous,
89 static int ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
96 static ssize_t ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf,
282 /* Return the package handle that corresponds to an instance handle. */
291 cell_t package;
293 (cell_t)"instance-to-package",
301 return (args.package);
304 /* Get the length of a property of a package. */
306 ofw_std_getproplen(ofw_t ofw, phandle_t package, const char *propname)
312 cell_t package;
321 args.package = package;
328 /* Get the value of a property of a package. */
330 ofw_std_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
337 cell_t package;
348 args.package = package;
357 /* Get the next property of a package. */
359 ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous, char *buf,
366 cell_t package;
376 args.package = package;
384 /* Set the value of a property of a package. */
387 ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
394 cell_t package;
405 args.package = package;
440 /* Return a package handle for the specified device. */
449 cell_t package;
459 return (args.package);
488 /* Return the fully qualified pathname corresponding to a package. */
490 ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
496 cell_t package;
501 (cell_t)"package-to-path",
506 args.package = package;