/titanic_41/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_pci.c | 72 acpidev_data_handle_t dhdl; in acpidev_pci_update_status() local 74 dhdl = infop->awi_data; in acpidev_pci_update_status() 75 ASSERT((dhdl->aod_iflag & ACPIDEV_ODF_DEVINFO_CREATED) == 0); in acpidev_pci_update_status() 76 ASSERT((dhdl->aod_iflag & ACPIDEV_ODF_DEVINFO_TAGGED) == 0); in acpidev_pci_update_status() 77 if ((dhdl->aod_iflag & ACPIDEV_ODF_STATUS_VALID) == 0) { in acpidev_pci_update_status() 79 dhdl->aod_status = status; in acpidev_pci_update_status() 80 dhdl->aod_iflag |= ACPIDEV_ODF_STATUS_VALID; in acpidev_pci_update_status() 82 status = dhdl->aod_status; in acpidev_pci_update_status() 84 dhdl->aod_level = infop->awi_level; in acpidev_pci_update_status() 85 dhdl->aod_hdl = infop->awi_hdl; in acpidev_pci_update_status() [all …]
|
H A D | acpidev_dr.c | 257 acpidev_dr_check_board_type(acpidev_data_handle_t dhdl, in acpidev_dr_check_board_type() argument 260 if (dhdl->aod_class_id == ACPIDEV_CLASS_ID_MEMORY) { in acpidev_dr_check_board_type() 266 dhdl->aod_bdtype = ACPIDEV_MEMORY_BOARD; in acpidev_dr_check_board_type() 267 } else if (dhdl->aod_class_id == ACPIDEV_CLASS_ID_PCI || in acpidev_dr_check_board_type() 268 dhdl->aod_class_id == ACPIDEV_CLASS_ID_PCIEX) { in acpidev_dr_check_board_type() 274 dhdl->aod_bdtype = ACPIDEV_IO_BOARD; in acpidev_dr_check_board_type() 275 } else if (dhdl->aod_class_id == ACPIDEV_CLASS_ID_CONTAINER) { in acpidev_dr_check_board_type() 277 dhdl->aod_bdtype = ACPIDEV_CPU_BOARD; in acpidev_dr_check_board_type() 279 dhdl->aod_bdtype = ACPIDEV_SYSTEM_BOARD; in acpidev_dr_check_board_type() 300 acpidev_data_handle_t dhdl, pdhdl; in acpidev_dr_check() local [all …]
|
H A D | acpidev_cpu.c | 79 static void acpidev_cpu_fini(ACPI_HANDLE hdl, acpidev_data_handle_t dhdl, 721 acpidev_cpu_fini(ACPI_HANDLE hdl, acpidev_data_handle_t dhdl, in acpidev_cpu_fini() argument 724 _NOTE(ARGUNUSED(clsp, dhdl)); in acpidev_cpu_fini()
|
/titanic_41/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_event.c | 222 acpidev_data_handle_t dhdl; in acpinex_event_handle_check_one() local 229 dhdl = acpidev_data_get_handle(hdl); in acpinex_event_handle_check_one() 230 if (dhdl == NULL) { in acpinex_event_handle_check_one() 235 } else if (!acpidev_data_dr_capable(dhdl)) { in acpinex_event_handle_check_one() 243 psta = acpidev_data_get_status(dhdl); in acpinex_event_handle_check_one() 489 ACPI_DEVICE_INFO *infop, acpidev_data_handle_t dhdl) in acpinex_event_install_handler() argument 495 ASSERT(dhdl != NULL); in acpinex_event_install_handler() 507 if (acpidev_data_get_flag(dhdl, ACPIDEV_DATA_HANDLER_READY)) { in acpinex_event_install_handler() 513 acpidev_data_set_flag(dhdl, ACPIDEV_DATA_HANDLER_READY); in acpinex_event_install_handler() 534 acpidev_data_handle_t dhdl) in acpinex_event_uninstall_handler() argument [all …]
|
/titanic_41/usr/src/uts/common/io/cxgbe/shared/ |
H A D | shared.c | 114 &rxb->dhdl); in rxbuf_ctor() 118 rc = ddi_dma_mem_alloc(rxb->dhdl, p->buf_size, &p->acc_attr_rx, in rxbuf_ctor() 125 rc = ddi_dma_addr_bind_handle(rxb->dhdl, NULL, rxb->va, p->buf_size, in rxbuf_ctor() 150 fail3: (void) ddi_dma_unbind_handle(rxb->dhdl); in rxbuf_ctor() 152 fail1: ddi_dma_free_handle(&rxb->dhdl); in rxbuf_ctor() 162 (void) ddi_dma_unbind_handle(rxb->dhdl); in rxbuf_dtor() 164 ddi_dma_free_handle(&rxb->dhdl); in rxbuf_dtor()
|
H A D | shared.h | 53 ddi_dma_handle_t dhdl; member
|
/titanic_41/usr/src/cmd/ldmad/ |
H A D | ldmad.c | 73 ds_domain_hdl_t dhdl; /* connexion domain handle */ member 122 ldma_connexion_add(ldma_agent_t *agent, ds_hdl_t hdl, ds_domain_hdl_t dhdl, in ldma_connexion_add() argument 151 agent->info->name, availp, hdl, dhdl, verp->major, verp->minor); in ldma_connexion_add() 154 availp->dhdl = dhdl; in ldma_connexion_add() 180 connp->dhdl = 0; in ldma_connexion_delete() 247 ds_domain_hdl_t dhdl) in ldma_reg_cb() argument 252 if (ds_dom_hdl_to_name(dhdl, dname, LDOMS_MAX_NAME_LEN) != 0) { in ldma_reg_cb() 257 agent->info->name, hdl, dhdl, dname, ver->major, ver->minor); in ldma_reg_cb() 263 if (!ldma_connexion_add(agent, hdl, dhdl, ver)) { in ldma_reg_cb() 323 conn_dhdl = connp->dhdl; in ldma_data_cb()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 592 ds_domain_hdl_t dhdl; in vlds_ioctl() local 776 if ((rv = ds_domain_lookup(hdl, &dhdl)) != 0) { in vlds_ioctl() 782 dhdl_arg = dhdl; in vlds_ioctl() 792 "succeeded", __func__, hdl, dhdl); in vlds_ioctl() 931 ds_domain_hdl_t dhdl; in vlds_ioctl() local 954 if ((rv = ds_dom_name_to_hdl(domain_name, &dhdl)) != 0) { in vlds_ioctl() 961 dhdl_arg = dhdl; in vlds_ioctl() 971 "dhdl: 0x%lx", __func__, domain_name, dhdl); in vlds_ioctl() 979 ds_domain_hdl_t dhdl; in vlds_ioctl() local 989 dhdl = vlds_arg.vlds_dhdl; in vlds_ioctl() [all …]
|
H A D | ds_drv.c | 377 ds_set_my_dom_hdl_name(ds_domain_hdl_t dhdl, char *name) in ds_set_my_dom_hdl_name() argument 379 ds_my_domain_hdl = dhdl; in ds_set_my_dom_hdl_name() 773 ds_add_port(uint64_t port_id, uint64_t ldc_id, ds_domain_hdl_t dhdl, in ds_add_port() argument 786 "name: '%s'", __func__, port_id, ldc_id, dhdl, in ds_add_port() 799 newport->domain_hdl = dhdl; in ds_add_port() 810 newport->domain_hdl = dhdl; in ds_add_port() 952 ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char **domain_namep) in ds_dom_hdl_to_name() argument 957 if (dhdl == ds_my_domain_hdl) { in ds_dom_hdl_to_name() 966 port->domain_hdl == dhdl) { in ds_dom_hdl_to_name()
|
H A D | vnex.c | 84 uint64_t dhdl); 592 vnex_alloc_id(dev_info_t *dip, uint32_t ino, uint64_t dhdl) in vnex_alloc_id() argument 598 vid_p->vid_cfg_hdl = dhdl; in vnex_alloc_id()
|
/titanic_41/usr/src/lib/libds/common/ |
H A D | libds.h | 67 ds_domain_hdl_t dhdl); 86 extern int ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char *domain_name,
|
H A D | libds.c | 221 ds_domain_hdl_t dhdl; in ds_recv() local 253 &dhdl) == 0 && in ds_recv() 259 dhdl); in ds_recv() 668 ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char *domain_name, uint_t maxnamlen) in ds_dom_hdl_to_name() argument 676 vlds_arg.vlds_dhdl = dhdl; in ds_dom_hdl_to_name()
|
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 114 static int free_dma_memory(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl); 118 static int free_desc_ring(ddi_dma_handle_t *dhdl, ddi_acc_handle_t *ahdl); 1108 rc = alloc_desc_ring(sc, len, DDI_DMA_READ, &iq->dhdl, &iq->ahdl, in alloc_iq_fl() 1150 rc = alloc_desc_ring(sc, len, DDI_DMA_WRITE, &fl->dhdl, in alloc_iq_fl() 1251 (void) free_desc_ring(&iq->dhdl, &iq->ahdl); in free_iq_fl() 1270 (void) free_desc_ring(&fl->dhdl, &fl->ahdl); in free_iq_fl() 1788 ddi_dma_handle_t dhdl; in alloc_dma_memory() local 1800 rc = ddi_dma_alloc_handle(sc->dip, dma_attr, DDI_DMA_SLEEP, 0, &dhdl); in alloc_dma_memory() 1811 rc = ddi_dma_mem_alloc(dhdl, len, acc_attr, in alloc_dma_memory() 1818 ddi_dma_free_handle(&dhdl); in alloc_dma_memory() [all …]
|
H A D | adapter.h | 167 ddi_dma_handle_t dhdl; member 245 ddi_dma_handle_t dhdl; member
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | cms.c | 286 cmi_hdl_t dhdl = NULL; in cms_search_list() local 291 cmi_hdl_walk(cms_search_list_cb, (void *)hdl, (void *)&match, &dhdl); in cms_search_list() 292 if (dhdl) { in cms_search_list() 293 cms = HDL2CMS(dhdl); in cms_search_list() 294 cmi_hdl_rele(dhdl); /* held in cms_search_list_cb */ in cms_search_list()
|
H A D | cmi.c | 302 cmi_hdl_t dhdl = NULL; in cmi_search_list() local 307 cmi_hdl_walk(cmi_search_list_cb, (void *)hdl, (void *)&match, &dhdl); in cmi_search_list() 308 if (dhdl) { in cmi_search_list() 309 cmi = HDL2CMI(dhdl); in cmi_search_list() 310 cmi_hdl_rele(dhdl); /* held in cmi_search_list_cb */ in cmi_search_list()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | ds_impl.h | 445 void ds_set_my_dom_hdl_name(ds_domain_hdl_t dhdl, char *name); 494 int ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char **domain_namep); 495 int ds_add_port(uint64_t port_id, uint64_t ldc_id, ds_domain_hdl_t dhdl,
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_iosvc.h | 129 ds_domain_hdl_t dhdl; /* ldom handle */ member
|
H A D | etm.c | 2891 ds_domain_hdl_t dhdl) in etm_iosvc_reg_handler() argument 2915 async_ele.dhdl = dhdl; in etm_iosvc_reg_handler() 3115 fmd_hdl, async_e.dhdl, in etm_async_event_handler() 3121 async_e.dhdl); in etm_async_event_handler()
|
/titanic_41/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 81 ds_ver_t *ver, ds_domain_hdl_t dhdl); 565 ds_domain_hdl_t dhdl) in v12n_ldma_register_handler() argument 569 if (dhdl == 0) { in v12n_ldma_register_handler()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kshare.c | 84 smb_kshare_door_fini(door_handle_t dhdl) in smb_kshare_door_fini() argument 86 if (dhdl) in smb_kshare_door_fini() 87 door_ki_rele(dhdl); in smb_kshare_door_fini() 99 smb_kshare_upcall(door_handle_t dhdl, void *arg, boolean_t add_share) in smb_kshare_upcall() argument 155 error = door_ki_upcall_limited(dhdl, &doorarg, NULL, SIZE_MAX, 0); in smb_kshare_upcall()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 2499 devctl_hdl_t dhdl; in disk_leds_thread() local 2647 dhdl = devctl_device_acquire(ddev[i], 0); in disk_leds_thread() 2648 devctl_device_getstate(dhdl, &statep); in disk_leds_thread() 2649 devctl_release(dhdl); in disk_leds_thread()
|
/titanic_41/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 812 acpidev_data_handle_t dhdl; in drmach_hold_rele_devtree() local 819 dhdl = acpidev_data_get_handle(hdl); in drmach_hold_rele_devtree() 820 if (dhdl == NULL) { in drmach_hold_rele_devtree() 825 if (acpidev_data_dr_ready(dhdl)) { in drmach_hold_rele_devtree()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 3912 devctl_hdl_t dhdl; in set_disk_leds() local 3915 dhdl = devctl_device_acquire(disk->d_devices_path, 0); in set_disk_leds() 3916 if (dhdl == NULL) { in set_disk_leds() 3922 devctl_device_getstate(dhdl, &cur_state); in set_disk_leds() 3923 devctl_release(dhdl); in set_disk_leds()
|