Home
last modified time | relevance | path

Searched refs:dev_handle (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_memory.c202 map->dev_handle = iomap.drm_handle; in drm_ioremap()
216 if (map->dev_handle == NULL) { in drm_ioremapfree()
220 ddi_regs_map_free(&map->dev_handle); in drm_ioremapfree()
H A DdrmP.h421 ddi_acc_handle_t dev_handle; /* The data access handle */ member
H A Ddrm_bufs.c170 map->dev_handle = dev->sg->dmah_sg->acc_hdl; in drm_addmap()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1534 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0() local
1687 dev_handle = devctl_device_acquire(pcf8591_devpath, 0); in psvc_ps_hotplug_policy_0()
1688 if (dev_handle == NULL) { in psvc_ps_hotplug_policy_0()
1691 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
1693 } else if ((devctl_device_remove(dev_handle)) && in psvc_ps_hotplug_policy_0()
1697 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
1700 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
1704 dev_handle = devctl_device_acquire(pcf8574_devpath, 0); in psvc_ps_hotplug_policy_0()
1705 if (dev_handle == NULL) { in psvc_ps_hotplug_policy_0()
1708 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dfabric_conf.c285 devctl_hdl_t bus_handle, dev_handle; in create_ap_instance() local
322 devctl_bus_dev_create(bus_handle, ddef_handle, 0, &dev_handle)) { in create_ap_instance()
331 devctl_release(dev_handle); in create_ap_instance()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c547 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0() local
658 dev_handle = devctl_device_acquire(devpath, 0); in psvc_ps_hotplug_policy_0()
660 if (devctl_device_remove(dev_handle)) { in psvc_ps_hotplug_policy_0()
665 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
686 if (devctl_bus_dev_create(bus_handle, ddef_hdl, 0, &dev_handle)) { in psvc_ps_hotplug_policy_0()
690 devctl_release(dev_handle); in psvc_ps_hotplug_policy_0()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h208 (uint8_t)ddi_get8(ha->dev_handle, (uint8_t *)(addr))
210 (uint16_t)ddi_get16(ha->dev_handle, (uint16_t *)(addr))
212 (uint32_t)ddi_get32(ha->dev_handle, (uint32_t *)(addr))
214 (uint64_t)ddi_get64(ha->dev_handle, (uint64_t *)(addr))
217 ddi_put8(ha->dev_handle, (uint8_t *)(addr), (uint8_t)(data))
219 ddi_put16(ha->dev_handle, (uint16_t *)(addr), (uint16_t)(data))
221 ddi_put32(ha->dev_handle, (uint32_t *)(addr), (uint32_t)(data))
223 ddi_put64(ha->dev_handle, (uint64_t *)(addr), (uint64_t)(data))
1512 ddi_acc_handle_t dev_handle; member
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge_hw.h1303 ddi_get8(qlge->dev_handle, (uint8_t *)addr)
1305 ddi_get32(qlge->dev_handle, (uint32_t *)addr)
1307 ddi_put8(qlge->dev_handle, (uint8_t *)addr, data)
1309 ddi_put16(qlge->dev_handle, (uint16_t *)addr, data)
1311 ddi_put32(qlge->dev_handle, (uint32_t *)addr, data)
H A Dqlge.h612 ddi_acc_handle_t dev_handle; member
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_dbg.c48 ret = (uint8_t)ddi_get8(qlge->dev_handle, in ql_get8()
61 ret = (uint16_t)ddi_get16(qlge->dev_handle, in ql_get16()
74 ret = ddi_get32(qlge->dev_handle, in ql_get32()
85 ddi_put8(qlge->dev_handle, in ql_put8()
95 ddi_put16(qlge->dev_handle, in ql_put16()
105 ddi_put32(qlge->dev_handle, in ql_put32()
H A Dqlge.c4523 ddi_regs_map_free(&qlge->dev_handle); in ql_free_resources()
7445 &qlge->dev_handle) != DDI_SUCCESS) { in ql_attach()
/titanic_41/usr/src/uts/common/io/skd/
H A Dskd.h402 ddi_acc_handle_t dev_handle; member
H A Dskd.c310 ddi_put64(skdev->dev_handle, addr, val); in skd_reg_write64()
331 return (ddi_get32(skdev->dev_handle, addr)); in skd_reg_read32()
353 ddi_put32(skdev->dev_handle, addr, val); in skd_reg_write32()
4377 ddi_regs_map_free(&skdev->dev_handle); in skd_dealloc_resources()
4787 &dev_acc_attr, &skdev->dev_handle) != DDI_SUCCESS) { in skd_attach()
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c5756 uint16_t dev_handle; in mptsas_check_task_mgt() local
5762 dev_handle = ddi_get16(mpt->m_acc_reply_frame_hdl, &reply->DevHandle); in mptsas_check_task_mgt()
5767 task_type, ioc_status, log_info, dev_handle); in mptsas_check_task_mgt()
5787 if (dev_handle == 0) { in mptsas_check_task_mgt()
5791 mptsas_flush_target(mpt, dev_handle, Lun(cmd), in mptsas_check_task_mgt()
6952 uint16_t dev_handle, reason_code; in mptsas_handle_event_sync() local
7051 dev_handle = ddi_get16(mpt->m_acc_reply_frame_hdl, in mptsas_handle_event_sync()
7073 physport, dev_handle)); in mptsas_handle_event_sync()
7144 topo_node->devhdl = dev_handle; in mptsas_handle_event_sync()
7159 phy, physport, dev_handle)); in mptsas_handle_event_sync()
[all …]
H A Dmptsas_impl.c1088 mptsas_ioc_task_management(mptsas_t *mpt, int task_type, uint16_t dev_handle, in mptsas_ioc_task_management() argument
1126 pkt->pkt_address.a_target = dev_handle; in mptsas_ioc_task_management()
1146 mptsas_init_std_hdr(mpt->m_acc_req_frame_hdl, task, dev_handle, lun, 0, in mptsas_ioc_task_management()
1509 uint16_t *dev_handle, uint64_t *sas_wwn, uint32_t *dev_info, in mptsas_get_sas_device_page0() argument
1524 mptsas_sasdevpage_0_cb, page_address, dev_handle, sas_wwn, in mptsas_get_sas_device_page0()
/titanic_41/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1330 uint16_t dev_handle, int lun, uint8_t *reply, uint32_t reply_size,
1352 uint16_t *dev_handle, uint64_t *sas_wwn, uint32_t *dev_info,
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_main.c1964 ddi_acc_handle_t dev_handle; in nxge_test_map_regs() local
1972 dev_handle = nxgep->dev_regs->nxge_regh; in nxge_test_map_regs()
2011 NXGE_PIO_READ64(dev_handle, in nxge_test_map_regs()
2013 NXGE_PIO_READ64(dev_handle, in nxge_test_map_regs()
2015 NXGE_PIO_READ64(dev_handle, in nxge_test_map_regs()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c928 0x100, 0x300, &ql_dev_acc_attr, &ha->dev_handle) != in ql_attach()
1002 0, regsize, &ql_dev_acc_attr, &ha->dev_handle) != in ql_attach()
1018 ha->iomap_dev_handle = ha->dev_handle; in ql_attach()
1605 ddi_regs_map_free(&ha->dev_handle); in ql_attach()
1915 if (ha->iomap_dev_handle != ha->dev_handle) { in ql_detach()
1932 ddi_regs_map_free(&ha->dev_handle); in ql_detach()