• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/powerpc/ofw/

Lines Matching refs:instance

87 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance);
98 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf,
102 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method,
107 static void ofw_real_close(ofw_t, ihandle_t instance);
108 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len);
109 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr,
111 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos);
441 /* Return the package handle that corresponds to an instance handle. */
443 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance)
450 cell_t instance;
454 args.name = (cell_t)(uintptr_t)"instance-to-package";
458 args.instance = instance;
686 /* Return the fully qualified pathname corresponding to an instance. */
688 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
695 cell_t instance;
701 args.name = (cell_t)(uintptr_t)"instance-to-path";
707 args.instance = instance;
760 /* Call the method in the scope of a given instance. */
762 ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method,
771 cell_t instance;
788 args.instance = instance;
844 /* Open an instance for a device. */
854 cell_t instance;
866 || args.instance == 0) {
872 return (args.instance);
875 /* Close an instance. */
877 ofw_real_close(ofw_t ofw, ihandle_t instance)
884 cell_t instance;
890 args.instance = instance;
897 /* Read from an instance. */
899 ofw_real_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len)
906 cell_t instance;
918 args.instance = instance;
933 /* Write to an instance. */
935 ofw_real_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len)
942 cell_t instance;
954 args.instance = instance;
969 ofw_real_seek(ofw_t ofw, ihandle_t instance, u_int64_t pos)
976 cell_t instance;
986 args.instance = instance;