/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_cpu.c | 53 di_prom_handle_t phdl; local 74 phdl = di_prom_init (); 75 if (phdl == DI_PROM_HANDLE_NIL) { 81 if (di_prom_prop_lookup_strings (phdl, node, 83 di_prom_fini (phdl); 87 di_prom_fini (phdl); 93 if (di_prom_prop_lookup_ints (phdl, node, 104 di_prom_fini (phdl);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | isadma.c | 414 ddi_acc_handle_t phdl = hdlp->ahi_common.ah_platform_private; local 423 return (ddi_get8(phdl, addr)); 439 ret = ddi_get8(phdl, addr); /* Pass to parent */ 455 ddi_acc_handle_t phdl = hdlp->ahi_common.ah_platform_private; local 464 return (ddi_get16(phdl, addr)); 477 ddi_put8(phdl, (uint8_t *)HDL_TO_SEQREG_ADDR(hdlp, offset), 0); 480 ret = ddi_get8(phdl, (uint8_t *)addr); 481 ret = (ddi_get8(phdl, (uint8_t *)addr) << 8) | ret; 514 ddi_acc_handle_t phdl = hdlp->ahi_common.ah_platform_private; local 522 ddi_put8(phdl, add 572 ddi_acc_handle_t phdl = hdlp->ahi_common.ah_platform_private; local [all...] |
/illumos-gate/usr/src/lib/libwanboot/common/ |
H A D | bootinfo_aux.c | 64 static di_prom_handle_t phdl = DI_PROM_HANDLE_NIL; variable 165 if (phdl != DI_PROM_HANDLE_NIL) { 166 di_prom_fini(phdl); 168 phdl = DI_PROM_HANDLE_NIL; 189 (phdl = di_prom_init()) == DI_PROM_HANDLE_NIL) { 225 for (pp = di_prom_prop_next(phdl, node, DI_PROM_PROP_NIL); 227 pp = di_prom_prop_next(phdl, node, pp)) { 338 return (di_prom_prop_lookup_strings(phdl, node,
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 277 di_prom_handle_t phdl = DI_PROM_HANDLE_NIL; local 288 (phdl = di_prom_init()) == DI_PROM_HANDLE_NIL) { 315 for (pp = di_prom_prop_next(phdl, node, DI_PROM_PROP_NIL); 317 pp = di_prom_prop_next(phdl, node, pp)) { 387 if (phdl != DI_PROM_HANDLE_NIL) { 388 di_prom_fini(phdl);
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 617 cardbus_phdl_t *phdl; local 654 phdl = cardbus_find_phdl(dip); 655 ASSERT(phdl); 657 if (phdl == NULL) { 661 phdl->error = PCICFG_SUCCESS; 664 cardbus_topbridge_assign(dip, phdl); 666 if (phdl->error != PCICFG_SUCCESS) { 669 return (phdl->error); 1097 isa_phdl_t *phdl; local 1100 phdl 1173 cardbus_phdl_t *phdl; local [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 1131 pcicfg_phdl_t *phdl; local 1136 phdl = pcicfg_find_phdl(dip); 1137 ASSERT(phdl); 1139 mem_request = &phdl->mem_req; 1140 io_request = &phdl->io_req; 1142 phdl->error = PCICFG_SUCCESS; 1149 phdl->memory_len = 0; 1164 phdl->memory_base = phdl->memory_last = boundbase; 1165 phdl 1808 pcicfg_phdl_t *phdl; local 2371 pcicfg_phdl_t *phdl; local 4904 pcicfg_phdl_t phdl; local [all...] |
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 993 pcicfg_phdl_t *phdl; local 999 phdl = pcicfg_find_phdl(dip); 1000 ASSERT(phdl); 1002 mem_request = &phdl->mem_req; 1003 pf_mem_request = &phdl->pf_mem_req; 1004 io_request = &phdl->io_req; 1006 phdl->error = PCICFG_SUCCESS; 1013 phdl->memory_len = 0; 1028 phdl->memory_base = phdl 4052 pcicfg_phdl_t phdl; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_dr.c | 299 ACPI_HANDLE phdl; local 348 phdl = infop->awi_hdl; 349 while (ACPI_SUCCESS(AcpiGetParent(phdl, &phdl)) && 350 phdl != ACPI_ROOT_OBJECT) { 351 pdhdl = acpidev_data_get_handle(phdl); 1404 ACPI_HANDLE phdl; local 1415 for (rlvl = 0, phdl = hdl; 1416 ACPI_SUCCESS(AcpiGetParent(phdl, &phdl)); 1645 ACPI_HANDLE phdl = NULL; local 1864 ACPI_HANDLE phdl, thdl; local [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 556 picl_nodehdl_t phdl; local 580 err = fill_device_from_id(fans[i], "PSVC_PARENT", &phdl); 583 err = picl_get_propval_by_name(phdl, PICL_PROP_NAME, parent,
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc_shm.c | 253 ldc_mhdl_t *mhdl, *phdl; local 278 phdl = ldcp->mhdl_list; 281 if (phdl == mhdl) { 291 while (phdl != NULL) { 292 if (phdl->next == mhdl) { 293 phdl->next = mhdl->next; 301 phdl = phdl->next; 305 if (phdl == NULL) {
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor.c | 2649 ddi_acc_handle_t hdl = state->ts_pci_cfghdl, phdl; local 2693 status = pci_config_setup(pdip, &phdl); 2710 pci_config_get32(phdl, i << 2); 2735 while (pci_config_get32(phdl, 0) == TAVOR_SW_RESET_NOTDONE) { 2746 pci_config_put32(phdl, i << 2, 2754 pci_config_teardown(&phdl);
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 1793 picl_prophdl_t phdl; local 1837 err = ptree_create_prop(&propinfo, (const void *)name, &phdl); 1842 err = ptree_add_prop(pobj->ptree_hdl, phdl); 1844 (void) ptree_destroy_prop(phdl);
|