Lines Matching refs:instance
82 static phandle_t ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance);
94 static ssize_t ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance,
98 static int ofw_std_call_method(ofw_t ofw, ihandle_t instance,
101 static void ofw_std_close(ofw_t ofw, ihandle_t instance);
102 static ssize_t ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr,
104 static ssize_t ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr,
106 static int ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos);
285 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_std_instance_to_package() argument
291 cell_t instance; in ofw_std_instance_to_package() member
299 args.instance = instance; in ofw_std_instance_to_package()
465 ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_std_instance_to_path() argument
471 cell_t instance; in ofw_std_instance_to_path() member
481 args.instance = instance; in ofw_std_instance_to_path()
517 ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method, in ofw_std_call_method() argument
525 cell_t instance; in ofw_std_call_method() member
540 args.instance = instance; in ofw_std_call_method()
567 cell_t instance; in ofw_std_open() member
575 if (openfirmware(&args) == -1 || args.instance == 0) in ofw_std_open()
577 return (args.instance); in ofw_std_open()
582 ofw_std_close(ofw_t ofw, ihandle_t instance) in ofw_std_close() argument
588 cell_t instance; in ofw_std_close() member
595 args.instance = instance; in ofw_std_close()
601 ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len) in ofw_std_read() argument
607 cell_t instance; in ofw_std_read() member
617 args.instance = instance; in ofw_std_read()
628 ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len) in ofw_std_write() argument
634 cell_t instance; in ofw_std_write() member
644 args.instance = instance; in ofw_std_write()
654 ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos) in ofw_std_seek() argument
660 cell_t instance; in ofw_std_seek() member
670 args.instance = instance; in ofw_std_seek()