Lines Matching defs:package

81 static ssize_t ofw_std_getproplen(ofw_t ofw, phandle_t package,
83 static ssize_t ofw_std_getprop(ofw_t ofw, phandle_t package,
85 static int ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous,
87 static int ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
94 static ssize_t ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf,
281 /* Return the package handle that corresponds to an instance handle. */
290 cell_t package;
292 (cell_t)"instance-to-package",
300 return (args.package);
303 /* Get the length of a property of a package. */
305 ofw_std_getproplen(ofw_t ofw, phandle_t package, const char *propname)
311 cell_t package;
320 args.package = package;
327 /* Get the value of a property of a package. */
329 ofw_std_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
336 cell_t package;
347 args.package = package;
356 /* Get the next property of a package. */
358 ofw_std_nextprop(ofw_t ofw, phandle_t package, const char *previous, char *buf,
365 cell_t package;
375 args.package = package;
383 /* Set the value of a property of a package. */
386 ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname,
393 cell_t package;
404 args.package = package;
439 /* Return a package handle for the specified device. */
448 cell_t package;
458 return (args.package);
487 /* Return the fully qualified pathname corresponding to a package. */
489 ofw_std_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
495 cell_t package;
500 (cell_t)"package-to-path",
505 args.package = package;