/freebsd/stand/libofw/ |
H A D | openfirm.h | 65 typedef uint32_t ihandle_t; typedef 71 extern ihandle_t memory, mmu; 88 phandle_t OF_instance_to_package(ihandle_t); 96 int OF_instance_to_path(ihandle_t, char *, int); 98 int OF_call_method(char *, ihandle_t, int, int, ...); 101 ihandle_t OF_open(char *); 102 void OF_close(ihandle_t); 103 int OF_read(ihandle_t, void *, int); 104 int OF_write(ihandle_t, void *, int); 105 int OF_seek(ihandle_t, u_quad_t); [all …]
|
H A D | openfirm.c | 69 ihandle_t mmu; 70 ihandle_t memory; 214 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() 385 OF_instance_to_path(ihandle_t instance, char *buf, int len) in OF_instance_to_path() 431 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) in OF_call_method() 470 ihandle_t 491 OF_close(ihandle_t instance) in OF_close() 507 OF_read(ihandle_t instance, void *addr, int len) in OF_read() 542 OF_write(ihandle_t instance, void *addr, int len) in OF_write() 565 OF_seek(ihandle_t instance, uint64_t pos) in OF_seek() [all …]
|
H A D | ofw_console.c | 40 static ihandle_t stdin; 41 static ihandle_t stdout;
|
H A D | libofw.h | 35 ihandle_t d_handle;
|
H A D | ofw_net.c | 76 static ihandle_t netinstance;
|
/freebsd/sys/dev/ofw/ |
H A D | openfirm.h | 70 typedef uint32_t ihandle_t; typedef 154 ihandle_t OF_open(const char *path); 155 void OF_close(ihandle_t instance); 156 ssize_t OF_read(ihandle_t instance, void *buf, size_t len); 157 ssize_t OF_write(ihandle_t instance, const void *buf, size_t len); 158 int OF_seek(ihandle_t instance, uint64_t where); 160 phandle_t OF_instance_to_package(ihandle_t instance); 161 ssize_t OF_instance_to_path(ihandle_t instance, char *buf, size_t len); 162 int OF_call_method(const char *method, ihandle_t instance,
|
H A D | ofw_standard.c | 79 static phandle_t ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance); 91 static ssize_t ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, 95 static int ofw_std_call_method(ofw_t ofw, ihandle_t instance, 97 static ihandle_t ofw_std_open(ofw_t ofw, const char *device); 98 static void ofw_std_close(ofw_t ofw, ihandle_t instance); 99 static ssize_t ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, 101 static ssize_t ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, 103 static int ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos); 281 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_std_instance_to_package() 461 ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_std_instance_to_path() [all …]
|
H A D | openfirm.c | 83 static ihandle_t stdout; 355 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() 574 OF_instance_to_path(ihandle_t instance, char *buf, size_t len) in OF_instance_to_path() 709 OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns, in OF_call_method() 738 ihandle_t 750 OF_close(ihandle_t instance) in OF_close() 761 OF_read(ihandle_t instance, void *addr, size_t len) in OF_read() 772 OF_write(ihandle_t instance, const void *addr, size_t len) in OF_write() 783 OF_seek(ihandle_t instance, uint64_t pos) in OF_seek()
|
H A D | ofw_if.m | 87 ihandle_t _handle; 183 ihandle_t _handle; 226 ihandle_t _instance; 256 METHOD ihandle_t open { 268 ihandle_t _instance; 280 ihandle_t _instance; 294 ihandle_t _instance; 307 ihandle_t _instance;
|
H A D | ofw_fdt.c | 68 static phandle_t ofw_fdt_instance_to_package(ofw_t, ihandle_t); 76 static ssize_t ofw_fdt_instance_to_path(ofw_t, ihandle_t, char *, size_t); 287 ofw_fdt_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_fdt_instance_to_package() 456 ofw_fdt_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_fdt_instance_to_path()
|
H A D | ofw_disk.c | 49 ihandle_t ofwd_instance; 140 ihandle_t ifd; in g_ofwd_init()
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_real.c | 86 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance); 97 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf, 101 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method, 105 static ihandle_t ofw_real_open(ofw_t, const char *device); 106 static void ofw_real_close(ofw_t, ihandle_t instance); 107 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len); 108 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr, 110 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos); 521 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_real_instance_to_package() 766 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) in ofw_real_instance_to_path() [all …]
|
H A D | rtas.c | 76 ihandle_t rtasi; in rtas_setup()
|
H A D | ofw_syscons.c | 226 ihandle_t stdout; in ofwfb_configure() 448 ihandle_t ih; in ofwfb_set_mode()
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_early_fb.c | 80 ihandle_t ih; in vt_efb_initialize() 135 ihandle_t stdout; in vt_efb_get_fbnode()
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 53 ihandle_t sc_handle; 98 ihandle_t stdout; in ofwfb_probe() 509 sizeof(ihandle_t)) == sizeof(ihandle_t)) in ofwfb_init()
|
/freebsd/sys/dev/fdt/ |
H A D | fdt_common.h | 65 ihandle_t iph;
|
/freebsd/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 399 ihandle_t ibsp; in chrp_cpuref_init() 436 if (OF_getproplen(chosen, "cpu") == sizeof(ihandle_t)) { in chrp_cpuref_init()
|
H A D | phyp_console.c | 195 ihandle_t stdout; in uart_phyp_cnprobe()
|
/freebsd/stand/powerpc/ofw/ |
H A D | cas.c | 193 ihandle_t inst; in ppc64_cas()
|
H A D | ofwfdt.c | 97 ihandle_t rtas; in ofwfdt_fixups()
|
/freebsd/sys/dev/dpaa/ |
H A D | bman_fdt.c | 167 ihandle_t cpu; in bman_portals_fdt_attach()
|
H A D | qman_fdt.c | 166 ihandle_t cpu; in qman_portals_fdt_attach()
|
/freebsd/sys/dev/cesa/ |
H A D | cesa.c | 932 ihandle_t sram_ihandle; in cesa_setup_sram() 942 sram_ihandle = (ihandle_t)sram_handle; in cesa_setup_sram() 1015 ihandle_t sram_ihandle; in cesa_setup_sram_armada() 1034 sram_ihandle = (ihandle_t)sram_handle[sc->sc_cesa_engine_id]; in cesa_setup_sram_armada()
|
/freebsd/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 325 ihandle_t inst; in powermac_smp_get_bsp()
|