Home
last modified time | relevance | path

Searched refs:ihandle (Results 1 – 25 of 48) sorted by relevance

12

/netbsd/sys/arch/arm/ofw/
H A Dopenfirm.c158 int ihandle; in OF_instance_to_package() member
166 args.ihandle = ihandle; in OF_instance_to_package()
307 int ihandle; in OF_instance_to_path() member
317 args.ihandle = ihandle; in OF_instance_to_path()
356 int ihandle;
368 int ihandle; member
382 args.ihandle = ihandle;
421 int ihandle;
432 int ihandle; member
445 args.ihandle = ihandle;
[all …]
/netbsd/external/gpl3/gdb/dist/sim/ppc/
H A Demul_chirp.c139 if (ihandle == NULL) in ihandle_name()
410 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_instance_to_package()
768 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_instance_to_path()
877 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_call_method()
940 if (ihandle == NULL) in chirp_emul_open()
941 args.ihandle = -1; in chirp_emul_open()
943 args.ihandle = device_instance_to_external(ihandle); in chirp_emul_open()
970 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_close()
1010 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_read()
1102 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_write()
[all …]
H A Ddevice.c890 device_instance *ihandle; in device_init_runtime_properties() local
895 ihandle = tree_instance(me, spec.full_path); in device_init_runtime_properties()
1035 ihandle->full_path, strlen(ihandle->full_path) + 1, in device_add_ihandle_runtime_property()
1044 ihandle_runtime_property_spec *ihandle) in device_find_ihandle_runtime_property() argument
1056 ihandle->full_path = entry->init_array; in device_find_ihandle_runtime_property()
1065 device_instance *ihandle) in device_set_ihandle_property() argument
1080 unsigned_cell ihandle; in device_find_ihandle_property() local
1089 ASSERT(sizeof(ihandle) == node->sizeof_array); in device_find_ihandle_property()
1090 memcpy(&ihandle, node->array, sizeof(ihandle)); in device_find_ihandle_property()
1873 unsigned_cell ihandle) in external_to_device_instance() argument
[all …]
/netbsd/external/gpl3/gdb.old/dist/sim/ppc/
H A Demul_chirp.c139 if (ihandle == NULL) in ihandle_name()
410 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_instance_to_package()
768 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_instance_to_path()
877 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_call_method()
940 if (ihandle == NULL) in chirp_emul_open()
941 args.ihandle = -1; in chirp_emul_open()
943 args.ihandle = device_instance_to_external(ihandle); in chirp_emul_open()
970 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_close()
1010 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_read()
1102 ihandle = external_to_device_instance(data->root, args.ihandle); in chirp_emul_write()
[all …]
H A Ddevice.c890 device_instance *ihandle; in device_init_runtime_properties() local
895 ihandle = tree_instance(me, spec.full_path); in device_init_runtime_properties()
1035 ihandle->full_path, strlen(ihandle->full_path) + 1, in device_add_ihandle_runtime_property()
1044 ihandle_runtime_property_spec *ihandle) in device_find_ihandle_runtime_property() argument
1056 ihandle->full_path = entry->init_array; in device_find_ihandle_runtime_property()
1065 device_instance *ihandle) in device_set_ihandle_property() argument
1080 unsigned_cell ihandle; in device_find_ihandle_property() local
1089 ASSERT(sizeof(ihandle) == node->sizeof_array); in device_find_ihandle_property()
1090 memcpy(&ihandle, node->array, sizeof(ihandle)); in device_find_ihandle_property()
1873 unsigned_cell ihandle) in external_to_device_instance() argument
[all …]
/netbsd/sys/arch/sparc/stand/ofwboot/
H A DLocore.c120 cell_t ihandle; in OF_instance_to_package() member
127 args.ihandle = HDL2CELL(ihandle); in OF_instance_to_package()
140 cell_t ihandle; in OF_instance_to_path() member
149 args.ihandle = HDL2CELL(ihandle); in OF_instance_to_path()
336 cell_t ihandle; in OF_write() member
360 cell_t ihandle; in OF_read() member
512 cell_t ihandle; in OF_claim_virt() member
553 cell_t ihandle; in OF_alloc_virt() member
592 cell_t ihandle; in OF_free_virt() member
627 cell_t ihandle; in OF_unmap_virt() member
[all …]
/netbsd/sys/arch/powerpc/powerpc/
H A Dopenfirm.c176 int ihandle; in OF_instance_to_package() member
187 args.ihandle = ihandle; in OF_instance_to_package()
380 int ihandle; in OF_instance_to_path() member
396 args.ihandle = ihandle; in OF_instance_to_path()
461 int ihandle; in OF_call_method() member
481 args.ihandle = ihandle; in OF_call_method()
515 int ihandle; in OF_call_method_1() member
534 args.ihandle = ihandle; in OF_call_method_1()
618 int ihandle; in OF_read() member
632 args.ihandle = handle; in OF_read()
[all …]
/netbsd/sys/arch/sparc/sparc/
H A Dopenfirm.c143 cell_t ihandle; in OF_instance_to_package() member
150 args.ihandle = HDL2CELL(ihandle); in OF_instance_to_package()
288 cell_t ihandle; in OF_instance_to_path() member
299 args.ihandle = HDL2CELL(ihandle); in OF_instance_to_path()
345 cell_t ihandle; in OF_call_method() member
356 args.ihandle = HDL2CELL(ihandle); in OF_call_method()
383 cell_t ihandle; in OF_call_method_1() member
394 args.ihandle = HDL2CELL(ihandle); in OF_call_method_1()
499 cell_t ihandle; in OF_read() member
518 args.ihandle = HDL2CELL(handle); in OF_read()
[all …]
/netbsd/sys/arch/macppc/stand/ofwboot/
H A DLocore.c299 OF_instance_to_package(int ihandle) in OF_instance_to_package() argument
305 int ihandle; in OF_instance_to_package() member
313 args.ihandle = ihandle; in OF_instance_to_package()
435 int ihandle; in OF_write() member
449 args.ihandle = handle; in OF_write()
472 int ihandle; in OF_read() member
486 args.ihandle = handle; in OF_read()
654 OF_call_method(const char *method, int ihandle, int nargs, int nreturns, in OF_call_method() argument
662 int ihandle; in OF_call_method() member
677 args.ihandle = ihandle; in OF_call_method()
/netbsd/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c154 cell_t ihandle; in prom_vtop() member
171 args.ihandle = HDL2CELL(mmuh); in prom_vtop()
197 cell_t ihandle; in prom_claim_virt() member
235 cell_t ihandle; in prom_alloc_virt() member
271 cell_t ihandle; in prom_free_virt() member
304 cell_t ihandle; in prom_unmap_virt() member
336 cell_t ihandle; in prom_map_phys() member
378 cell_t ihandle; in prom_alloc_phys() member
415 cell_t ihandle; in prom_claim_phys() member
456 cell_t ihandle; in prom_free_phys() member
[all …]
/netbsd/sys/dev/fdt/
H A Dfdt_intr.c199 int ihandle; in fdtbus_intr_establish_xname() local
201 specifier = get_specifier_by_index(phandle, index, &ihandle); in fdtbus_intr_establish_xname()
205 return fdtbus_intr_establish_raw(ihandle, specifier, ipl, in fdtbus_intr_establish_xname()
225 fdtbus_intr_establish_raw(int ihandle, const u_int *specifier, int ipl, in fdtbus_intr_establish_raw() argument
232 ic = fdtbus_get_interrupt_controller(ihandle); in fdtbus_intr_establish_raw()
234 printf("%s: ihandle %d is not a controller\n",__func__,ihandle); in fdtbus_intr_establish_raw()
339 int ihandle; in fdtbus_intr_str() local
341 specifier = get_specifier_by_index(phandle, index, &ihandle); in fdtbus_intr_str()
345 return fdtbus_intr_str_raw(ihandle, specifier, buf, buflen); in fdtbus_intr_str()
349 fdtbus_intr_str_raw(int ihandle, const u_int *specifier, char *buf, size_t buflen) in fdtbus_intr_str_raw() argument
[all …]
/netbsd/sys/arch/shark/stand/ofwboot/
H A DLocore.c160 OF_instance_to_package(int ihandle) in OF_instance_to_package() argument
166 int ihandle; in OF_instance_to_package() member
174 args.ihandle = ihandle; in OF_instance_to_package()
296 int ihandle; in OF_write() member
310 args.ihandle = handle; in OF_write()
333 int ihandle; in OF_read() member
347 args.ihandle = handle; in OF_read()
/netbsd/external/gpl3/gdb/dist/sim/common/
H A Dhw-properties.c259 struct hw_instance *ihandle;
264 ihandle = tree_instance (me, spec.full_path);
403 const ihandle_runtime_property_spec *ihandle)
407 ihandle->full_path, strlen (ihandle->full_path) + 1,
417 ihandle_runtime_property_spec *ihandle)
427 ihandle->full_path = entry->init_array;
437 hw_instance *ihandle)
440 cells = H2BE_cell (hw_instance_to_external (ihandle));
453 unsigned_cell ihandle;
464 ASSERT (sizeof (ihandle) == node->sizeof_array);
[all …]
H A Dhw-handles.c34 struct hw_instance *ihandle; member
103 return current_map->ihandle; in hw_handle_ihandle2()
134 if (current_map->ihandle == internal) in hw_handle_2ihandle()
172 new_map->ihandle = internal; in hw_handle_add_ihandle()
210 if ((*current_map)->ihandle == internal) in hw_handle_remove_ihandle()
H A Dhw-properties.h142 const ihandle_runtime_property_spec *ihandle);
147 ihandle_runtime_property_spec *ihandle);
152 hw_instance *ihandle);
/netbsd/external/gpl3/gdb.old/dist/sim/common/
H A Dhw-properties.c259 struct hw_instance *ihandle;
264 ihandle = tree_instance (me, spec.full_path);
403 const ihandle_runtime_property_spec *ihandle)
407 ihandle->full_path, strlen (ihandle->full_path) + 1,
417 ihandle_runtime_property_spec *ihandle)
427 ihandle->full_path = entry->init_array;
437 hw_instance *ihandle)
440 cells = H2BE_cell (hw_instance_to_external (ihandle));
453 unsigned_cell ihandle;
464 ASSERT (sizeof (ihandle) == node->sizeof_array);
[all …]
H A Dhw-handles.c34 struct hw_instance *ihandle; member
103 return current_map->ihandle; in hw_handle_ihandle2()
134 if (current_map->ihandle == internal) in hw_handle_2ihandle()
172 new_map->ihandle = internal; in hw_handle_add_ihandle()
210 if ((*current_map)->ihandle == internal) in hw_handle_remove_ihandle()
H A Dhw-properties.h142 const ihandle_runtime_property_spec *ihandle);
147 ihandle_runtime_property_spec *ihandle);
152 hw_instance *ihandle);
/netbsd/sys/arch/sparc64/dev/
H A Debus_mainbus.c272 ebus_mainbus_intr_establish(bus_space_tag_t t, int ihandle, int level, in ebus_mainbus_intr_establish() argument
284 u_int64_t devhandle, devino = INTINO(ihandle); in ebus_mainbus_intr_establish()
290 if (sc->sc_intmap[i].cintr == ihandle) { in ebus_mainbus_intr_establish()
332 ino = INTINO(ihandle); in ebus_mainbus_intr_establish()
340 if (psc && psc->sc_ign == INTIGN(ihandle)) { in ebus_mainbus_intr_establish()
351 ino |= INTVEC(ihandle); in ebus_mainbus_intr_establish()
359 ih->ih_ivec = ihandle; in ebus_mainbus_intr_establish()
H A Dvpci.c565 vpci_intr_establish(bus_space_tag_t t, int ihandle, int level, in vpci_intr_establish() argument
571 ino = INTINO(ihandle); in vpci_intr_establish()
572 DPRINTF(VDB_INTR, ("%s: ih %lx; level %d ino %#x\n", __func__, (u_long)ihandle, level, ino)); in vpci_intr_establish()
575 level = INTLEV(ihandle); in vpci_intr_establish()
583 ino |= INTVEC(ihandle); in vpci_intr_establish()
584 DPRINTF(VDB_INTR, ("%s: ih %lx; level %d ino %#x\n", __func__, (u_long)ihandle, level, ino)); in vpci_intr_establish()
588 ih->ih_ivec = ihandle; in vpci_intr_establish()
597 uint64_t sysino = INTVEC(ihandle); in vpci_intr_establish()
H A Dvbus.c207 vbus_intr_establish(bus_space_tag_t t, int ihandle, int level, in vbus_intr_establish() argument
210 uint64_t sysino = INTVEC(ihandle); in vbus_intr_establish()
217 ino = INTINO(ihandle); in vbus_intr_establish()
221 ih->ih_ivec = ihandle; in vbus_intr_establish()
/netbsd/sys/arch/ofppc/stand/ofwboot/
H A DLocore.c133 OF_instance_to_package(int ihandle) in OF_instance_to_package() argument
139 int ihandle; in OF_instance_to_package() member
147 args.ihandle = ihandle; in OF_instance_to_package()
269 int ihandle; in OF_write() member
283 args.ihandle = handle; in OF_write()
306 int ihandle; in OF_read() member
320 args.ihandle = handle; in OF_read()
/netbsd/sys/arch/macppc/stand/bootxx/
H A Dbootxx.c232 int ihandle; in OF_read() member
242 args.ihandle = handle; in OF_read()
282 int ihandle; in OF_write() member
292 args.ihandle = handle; in OF_write()
/netbsd/sys/arch/arm/sunxi/
H A Dsunxi_nmi.c212 const int ihandle = fdtbus_intr_parent(sc->sc_phandle); in sunxi_nmi_fdt_establish() local
213 if (ihandle == -1) { in sunxi_nmi_fdt_establish()
219 return fdtbus_intr_establish_raw(ihandle, specifier, ipl, in sunxi_nmi_fdt_establish()
337 const int ihandle = fdtbus_intr_parent(sc->sc_phandle); in sunxi_nmi_fdt_intrstr() local
338 if (ihandle == -1) { in sunxi_nmi_fdt_intrstr()
341 return fdtbus_intr_str_raw(ihandle, specifier, buf, in sunxi_nmi_fdt_intrstr()
/netbsd/sys/arch/powerpc/oea/
H A Dofw_consinit.c77 int ihandle; member
301 ukbds != NULL && ukbds->ihandle != 0 && in ofwoea_cnprobe_keyboard()
302 OF_instance_to_package(ukbds->ihandle) != -1) { in ofwoea_cnprobe_keyboard()

12