Searched refs:phdl (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c53 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 Disadma.c414 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 Dbootinfo_aux.c64 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 Dadopt.c277 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 Dcardbus_cfg.c617 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 Dpcicfg.c1131 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 Dpcicfg.c993 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 Dacpidev_dr.c299 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 Dcherrystone.c556 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 Dldc_shm.c253 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 Dtavor.c2649 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 Dpicltree.c1793 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);

Completed in 106 milliseconds