Home
last modified time | relevance | path

Searched refs:ihandle_t (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-12-stable/stand/libofw/
Dopenfirm.h68 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 …]
Dopenfirm.c70 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 …]
Dofw_console.c43 static ihandle_t stdin;
44 static ihandle_t stdout;
Dlibofw.h34 ihandle_t d_handle;
Dofw_net.c74 static ihandle_t netinstance;
/freebsd-12-stable/sys/dev/ofw/
Dopenfirm.h72 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,
Dofw_standard.c82 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 …]
Dopenfirm.c85 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()
Dofw_if.m88 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;
Dofw_fdt.c71 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()
Dofw_disk.c52 ihandle_t ofwd_instance;
143 ihandle_t ifd; in g_ofwd_init()
/freebsd-12-stable/sys/powerpc/ofw/
Dofw_real.c87 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 …]
Drtas.c77 ihandle_t rtasi; in rtas_setup()
/freebsd-12-stable/sys/dev/fb/
Dcreator_vt.c76 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/
Dofwfb.c58 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/
Dvt_early_fb.c83 ihandle_t ih; in vt_efb_initialize()
138 ihandle_t stdout; in vt_efb_get_fbnode()
/freebsd-12-stable/sys/dev/fdt/
Dfdt_common.h68 ihandle_t iph;
/freebsd-12-stable/sys/powerpc/pseries/
Dplatform_chrp.c369 ihandle_t ibsp; in chrp_cpuref_init()
406 if (OF_getproplen(chosen, "cpu") == sizeof(ihandle_t)) { in chrp_cpuref_init()
Dphyp_console.c196 ihandle_t stdout; in uart_phyp_cnprobe()
/freebsd-12-stable/stand/powerpc/ofw/
Dofwfdt.c100 ihandle_t rtas; in ofwfdt_fixups()
/freebsd-12-stable/sys/dev/dpaa/
Dbman_fdt.c171 ihandle_t cpu; in bman_portals_fdt_attach()
Dqman_fdt.c170 ihandle_t cpu; in qman_portals_fdt_attach()
/freebsd-12-stable/sys/dev/uart/
Duart_cpu_sparc64.c109 ihandle_t inst; in uart_cpu_getdev_console()
/freebsd-12-stable/sys/powerpc/powermac/
Dplatform_powermac.c320 ihandle_t inst; in powermac_smp_get_bsp()
/freebsd-12-stable/sys/dev/cesa/
Dcesa.c944 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()

12