Lines Matching refs:instance

78 static phandle_t ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance);
90 static ssize_t ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance,
94 static int ofw_std_call_method(ofw_t ofw, ihandle_t instance,
97 static void ofw_std_close(ofw_t ofw, ihandle_t instance);
98 static ssize_t ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr,
100 static ssize_t ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr,
102 static int ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos);
280 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_std_instance_to_package() argument
286 cell_t instance; in ofw_std_instance_to_package() member
294 args.instance = instance; in ofw_std_instance_to_package()
460 ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_std_instance_to_path() argument
466 cell_t instance; in ofw_std_instance_to_path() member
476 args.instance = instance; in ofw_std_instance_to_path()
512 ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method, in ofw_std_call_method() argument
520 cell_t instance; in ofw_std_call_method() member
535 args.instance = instance; in ofw_std_call_method()
562 cell_t instance; in ofw_std_open() member
570 if (openfirmware(&args) == -1 || args.instance == 0) in ofw_std_open()
572 return (args.instance); in ofw_std_open()
577 ofw_std_close(ofw_t ofw, ihandle_t instance) in ofw_std_close() argument
583 cell_t instance; in ofw_std_close() member
590 args.instance = instance; in ofw_std_close()
596 ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len) in ofw_std_read() argument
602 cell_t instance; in ofw_std_read() member
612 args.instance = instance; in ofw_std_read()
623 ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len) in ofw_std_write() argument
629 cell_t instance; in ofw_std_write() member
639 args.instance = instance; in ofw_std_write()
649 ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos) in ofw_std_seek() argument
655 cell_t instance; in ofw_std_seek() member
665 args.instance = instance; in ofw_std_seek()