Lines Matching defs:package

80 static ssize_t ofw_std_getproplen(ofw_t ofw, phandle_t package,
82 static ssize_t ofw_std_getprop(ofw_t ofw, phandle_t package,
84 static int ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous,
86 static int ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
93 static ssize_t ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf,
279 /* Return the package handle that corresponds to an instance handle. */
288 cell_t package;
290 (cell_t)"instance-to-package",
298 return (args.package);
301 /* Get the length of a property of a package. */
303 ofw_std_getproplen(ofw_t ofw, phandle_t package, const char *propname)
309 cell_t package;
318 args.package = package;
325 /* Get the value of a property of a package. */
327 ofw_std_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
334 cell_t package;
345 args.package = package;
354 /* Get the next property of a package. */
356 ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous, char *buf,
363 cell_t package;
373 args.package = package;
381 /* Set the value of a property of a package. */
384 ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
391 cell_t package;
402 args.package = package;
437 /* Return a package handle for the specified device. */
446 cell_t package;
456 return (args.package);
485 /* Return the fully qualified pathname corresponding to a package. */
487 ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
493 cell_t package;
498 (cell_t)"package-to-path",
503 args.package = package;