| /freebsd-12-stable/stand/libofw/ |
| 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_t); [all …]
|
| D | openfirm.c | 70 ihandle_t mmu; 71 ihandle_t memory; 223 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() 400 OF_instance_to_path(ihandle_t instance, char *buf, int len) in OF_instance_to_path() 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) in OF_call_method() 495 ihandle_t 519 OF_close(ihandle_t instance) in OF_close() 537 OF_read(ihandle_t instance, void *addr, int len) in OF_read() 575 OF_write(ihandle_t instance, void *addr, int len) in OF_write() 601 OF_seek(ihandle_t instance, uint64_t pos) in OF_seek() [all …]
|
| D | ofw_console.c | 43 static ihandle_t stdin; 44 static ihandle_t stdout;
|
| D | libofw.h | 34 ihandle_t d_handle;
|
| D | ofw_net.c | 74 static ihandle_t netinstance;
|
| /freebsd-12-stable/sys/dev/ofw/ |
| 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,
|
| 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); 285 ofw_std_instance_to_package(ofw_t ofw, ihandle_t 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() [all …]
|
| D | openfirm.c | 85 static ihandle_t stdout; 357 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() 576 OF_instance_to_path(ihandle_t instance, char *buf, size_t len) in OF_instance_to_path() 711 OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns, in OF_call_method() 740 ihandle_t 752 OF_close(ihandle_t instance) in OF_close() 763 OF_read(ihandle_t instance, void *addr, size_t len) in OF_read() 774 OF_write(ihandle_t instance, const void *addr, size_t len) in OF_write() 785 OF_seek(ihandle_t instance, uint64_t pos) in OF_seek()
|
| D | ofw_if.m | 88 ihandle_t _handle; 184 ihandle_t _handle; 227 ihandle_t _instance; 257 METHOD ihandle_t open { 269 ihandle_t _instance; 281 ihandle_t _instance; 295 ihandle_t _instance; 308 ihandle_t _instance;
|
| 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) in ofw_fdt_instance_to_package() 391 ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_fdt_instance_to_path()
|
| D | ofw_disk.c | 52 ihandle_t ofwd_instance; 143 ihandle_t ifd; in g_ofwd_init()
|
| /freebsd-12-stable/sys/powerpc/ofw/ |
| D | ofw_real.c | 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, 106 static ihandle_t ofw_real_open(ofw_t, const char *device); 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); 443 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_real_instance_to_package() 688 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_real_instance_to_path() [all …]
|
| D | rtas.c | 77 ihandle_t rtasi; in rtas_setup()
|
| /freebsd-12-stable/sys/dev/fb/ |
| D | creator_vt.c | 76 ihandle_t stdout; in creatorfb_probe() 107 ihandle_t handle; in creatorfb_init() 117 OF_getprop(chosen, "stdout", &handle, sizeof(ihandle_t)); in creatorfb_init()
|
| /freebsd-12-stable/sys/dev/vt/hw/ofwfb/ |
| D | ofwfb.c | 58 ihandle_t sc_handle; 94 ihandle_t stdout; in ofwfb_probe() 375 sizeof(ihandle_t)) == sizeof(ihandle_t)) in ofwfb_init()
|
| /freebsd-12-stable/sys/dev/vt/hw/fb/ |
| D | vt_early_fb.c | 83 ihandle_t ih; in vt_efb_initialize() 138 ihandle_t stdout; in vt_efb_get_fbnode()
|
| /freebsd-12-stable/sys/dev/fdt/ |
| D | fdt_common.h | 68 ihandle_t iph;
|
| /freebsd-12-stable/sys/powerpc/pseries/ |
| D | platform_chrp.c | 369 ihandle_t ibsp; in chrp_cpuref_init() 406 if (OF_getproplen(chosen, "cpu") == sizeof(ihandle_t)) { in chrp_cpuref_init()
|
| D | phyp_console.c | 196 ihandle_t stdout; in uart_phyp_cnprobe()
|
| /freebsd-12-stable/stand/powerpc/ofw/ |
| D | ofwfdt.c | 100 ihandle_t rtas; in ofwfdt_fixups()
|
| /freebsd-12-stable/sys/dev/dpaa/ |
| D | bman_fdt.c | 171 ihandle_t cpu; in bman_portals_fdt_attach()
|
| D | qman_fdt.c | 170 ihandle_t cpu; in qman_portals_fdt_attach()
|
| /freebsd-12-stable/sys/dev/uart/ |
| D | uart_cpu_sparc64.c | 109 ihandle_t inst; in uart_cpu_getdev_console()
|
| /freebsd-12-stable/sys/powerpc/powermac/ |
| D | platform_powermac.c | 320 ihandle_t inst; in powermac_smp_get_bsp()
|
| /freebsd-12-stable/sys/dev/cesa/ |
| D | cesa.c | 944 ihandle_t sram_ihandle; in cesa_setup_sram() 954 sram_ihandle = (ihandle_t)sram_handle; in cesa_setup_sram() 1027 ihandle_t sram_ihandle; in cesa_setup_sram_armada() 1046 sram_ihandle = (ihandle_t)sram_handle[sc->sc_cesa_engine_id]; in cesa_setup_sram_armada()
|