Lines Matching defs:package

87 static ssize_t ofw_real_getproplen(ofw_t, phandle_t package, 
89 static ssize_t ofw_real_getprop(ofw_t, phandle_t package, const char *propname,
91 static int ofw_real_nextprop(ofw_t, phandle_t package, const char *previous,
93 static int ofw_real_setprop(ofw_t, phandle_t package, const char *propname,
99 static ssize_t ofw_real_package_to_path(ofw_t, phandle_t package, char *buf,
519 /* Return the package handle that corresponds to an instance handle. */
529 cell_t package;
532 args.name = IN((cell_t)(uintptr_t)"instance-to-package");
545 return (OUT(args.package));
548 /* Get the length of a property of a package. */
550 ofw_real_getproplen(ofw_t ofw, phandle_t package, const char *propname)
557 cell_t package;
568 args.package = IN(package);
580 /* Get the value of a property of a package. */
582 ofw_real_getprop(ofw_t ofw, phandle_t package, const char *propname, void *buf,
590 cell_t package;
603 args.package = IN(package);
620 /* Get the next property of a package. */
622 ofw_real_nextprop(ofw_t ofw, phandle_t package, const char *previous,
630 cell_t package;
642 args.package = IN(package);
657 /* Set the value of a property of a package. */
660 ofw_real_setprop(ofw_t ofw, phandle_t package, const char *propname,
668 cell_t package;
681 args.package = IN(package);
733 /* Return a package handle for the specified device. */
743 cell_t package;
761 return (OUT(args.package));
801 /* Return the fully qualified pathname corresponding to a package. */
803 ofw_real_package_to_path(ofw_t ofw, phandle_t package, char *buf, size_t len)
810 cell_t package;
816 args.name = IN((cell_t)(uintptr_t)"package-to-path");
822 args.package = IN(package);