/freebsd-13-stable/stand/libofw/ |
H A D | openfirm.h | 68 typedef unsigned int ihandle_t; typedef 74 extern ihandle_t memory, mmu; 91 phandle_t OF_instance_to_package(ihandle_t); 98 int OF_instance_to_path(ihandle_t, char *, int); 100 int OF_call_method(char *, ihandle_t, int, int, ...); 103 ihandle_t OF_open(char *); 104 void OF_close(ihandle_t); 105 int OF_read(ihandle_t, void *, int); 106 int OF_write(ihandle_t, void *, int); 107 int OF_seek(ihandle_t, u_quad_ [all...] |
H A D | ofw_console.c | 43 static ihandle_t stdin; 44 static ihandle_t stdout;
|
H A D | libofw.h | 35 ihandle_t d_handle;
|
H A D | openfirm.c | 70 ihandle_t mmu; 71 ihandle_t memory; 223 OF_instance_to_package(ihandle_t instance) 400 OF_instance_to_path(ihandle_t instance, char *buf, int len) 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) 495 ihandle_t 519 OF_close(ihandle_t instance) 537 OF_read(ihandle_t instance, void *addr, int len) 575 OF_write(ihandle_t instance, void *addr, int len) 601 OF_seek(ihandle_t instanc [all...] |
H A D | ofw_net.c | 74 static ihandle_t netinstance;
|
/freebsd-13-stable/sys/dev/ofw/ |
H A D | openfirm.h | 72 typedef uint32_t ihandle_t; typedef 156 ihandle_t OF_open(const char *path); 157 void OF_close(ihandle_t instance); 158 ssize_t OF_read(ihandle_t instance, void *buf, size_t len); 159 ssize_t OF_write(ihandle_t instance, const void *buf, size_t len); 160 int OF_seek(ihandle_t instance, uint64_t where); 162 phandle_t OF_instance_to_package(ihandle_t instance); 163 ssize_t OF_instance_to_path(ihandle_t instance, char *buf, size_t len); 164 int OF_call_method(const char *method, ihandle_t instance,
|
H A D | ofw_standard.c | 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, 100 static ihandle_t ofw_std_open(ofw_t ofw, const char *device); 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); 284 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) 464 ofw_std_instance_to_path(ofw_t ofw, ihandle_t instanc [all...] |
H A D | openfirm.c | 85 static ihandle_t stdout; 357 OF_instance_to_package(ihandle_t instance) 576 OF_instance_to_path(ihandle_t instance, char *buf, size_t len) 711 OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns, 740 ihandle_t 752 OF_close(ihandle_t instance) 763 OF_read(ihandle_t instance, void *addr, size_t len) 774 OF_write(ihandle_t instance, const void *addr, size_t len) 785 OF_seek(ihandle_t instance, uint64_t pos)
|
H A D | ofw_disk.c | 52 ihandle_t ofwd_instance; 143 ihandle_t ifd;
|
H A D | ofw_fdt.c | 71 static phandle_t ofw_fdt_instance_to_package(ofw_t, ihandle_t); 79 static ssize_t ofw_fdt_instance_to_path(ofw_t, ihandle_t, char *, size_t); 222 ofw_fdt_instance_to_package(ofw_t ofw, ihandle_t instance) 391 ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len)
|
/freebsd-13-stable/sys/dev/fdt/ |
H A D | fdt_common.h | 68 ihandle_t iph;
|
/freebsd-13-stable/sys/powerpc/ofw/ |
H A D | ofw_real.c | 88 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance); 99 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf, 103 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method, 107 static ihandle_t ofw_real_open(ofw_t, const char *device); 108 static void ofw_real_close(ofw_t, ihandle_t instance); 109 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len); 110 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr, 112 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos); 523 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) 768 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instanc [all...] |
H A D | rtas.c | 78 ihandle_t rtasi;
|
H A D | ofw_syscons.c | 229 ihandle_t stdout; 451 ihandle_t ih;
|
/freebsd-13-stable/stand/powerpc/ofw/ |
H A D | cas.c | 197 ihandle_t ihandle;
|
H A D | ofwfdt.c | 100 ihandle_t rtas;
|
/freebsd-13-stable/sys/dev/vt/hw/fb/ |
H A D | vt_early_fb.c | 83 ihandle_t ih; 138 ihandle_t stdout;
|
/freebsd-13-stable/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 56 ihandle_t sc_handle; 98 ihandle_t stdout; 403 sizeof(ihandle_t)) == sizeof(ihandle_t))
|
/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 400 ihandle_t ibsp; 437 if (OF_getproplen(chosen, "cpu") == sizeof(ihandle_t)) {
|
H A D | phyp_console.c | 197 ihandle_t stdout;
|
/freebsd-13-stable/sys/dev/dpaa/ |
H A D | bman_fdt.c | 172 ihandle_t cpu;
|
H A D | qman_fdt.c | 171 ihandle_t cpu;
|
/freebsd-13-stable/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 322 ihandle_t inst;
|
/freebsd-13-stable/sys/mips/nlm/ |
H A D | xlp_machdep.c | 275 ihandle_t mask;
|
/freebsd-13-stable/sys/dev/cesa/ |
H A D | cesa.c | 936 ihandle_t sram_ihandle; 946 sram_ihandle = (ihandle_t)sram_handle; 1019 ihandle_t sram_ihandle; 1038 sram_ihandle = (ihandle_t)sram_handle[sc->sc_cesa_engine_id];
|