/illumos-gate/usr/src/uts/sun4v/io/pciex/ |
H A D | pci_cfgacc_4v.c | 69 uint64_t devhdl; in pci_cfgacc_get() local 76 devhdl = bus_p->bus_cfgacc_base; in pci_cfgacc_get() 79 (void) hvio_config_get(devhdl, devaddr, in pci_cfgacc_get() 90 uint64_t devhdl; in pci_cfgacc_set() local 97 devhdl = bus_p->bus_cfgacc_base; in pci_cfgacc_set() 101 (void) hvio_config_put(devhdl, devaddr, offset, size, wdata); in pci_cfgacc_set()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 349 devctl_hdl_t devhdl; in g_offline_drive() local 356 if ((devhdl = devctl_device_acquire(dl->dev_path, in g_offline_drive() 366 if ((devctl_device_offline(devhdl) != 0) && !force_flag) { in g_offline_drive() 367 (void) devctl_release(devhdl); in g_offline_drive() 372 (void) devctl_release(devhdl); in g_offline_drive() 392 devctl_hdl_t devhdl; in g_online_drive() local 396 if ((devhdl = devctl_device_acquire(dl->dev_path, in g_online_drive() 398 (void) devctl_device_online(devhdl); in g_online_drive() 399 (void) devctl_release(devhdl); in g_online_drive()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_raid.c | 483 uint16_t *devhdl; in mptsas_raidphydsk_page_0_cb() local 496 devhdl = va_arg(ap, uint16_t *); in mptsas_raidphydsk_page_0_cb() 499 *devhdl = ddi_get16(accessp, &diskpage->DevHandle); in mptsas_raidphydsk_page_0_cb() 510 uint16_t devhdl; in mptsas_get_physdisk_settings() local 524 mptsas_raidphydsk_page_0_cb, &devhdl, &state); in mptsas_get_physdisk_settings() 535 raidvol->m_devhdl[i] = devhdl; in mptsas_get_physdisk_settings()
|
H A D | mptsas.c | 228 static int mptsas_do_scsi_reset(mptsas_t *mpt, uint16_t devhdl); 268 static int mptsas_free_devhdl(mptsas_t *mpt, uint16_t devhdl); 5770 topo_node->devhdl = ptgt->m_devhdl; in mptsas_check_scsi_io_error() 6218 mptsas_free_devhdl(mptsas_t *mpt, uint16_t devhdl) in mptsas_free_devhdl() argument 6235 req.DevHandle = LE_16(devhdl); in mptsas_free_devhdl() 6592 uint16_t devhdl; in mptsas_handle_topo_change() local 6603 "event 0x%x, flags 0x%x", mpt->m_instance, topo_node->devhdl, in mptsas_handle_topo_change() 6620 mptsas_target_eval_devhdl, &topo_node->devhdl); in mptsas_handle_topo_change() 6640 topo_node->devhdl; in mptsas_handle_topo_change() 6643 &devhdl, &ptgt); in mptsas_handle_topo_change() [all …]
|
H A D | mptsas_impl.c | 1454 uint16_t *devhdl, *bay_num, *enclosure; in mptsas_sasdevpage_0_cb() local 1484 devhdl = va_arg(ap, uint16_t *); in mptsas_sasdevpage_0_cb() 1497 *devhdl = ddi_get16(accessp, &sasdevpage->DevHandle); in mptsas_sasdevpage_0_cb() 1565 uint16_t *devhdl; in mptsas_sasexpdpage_0_cb() local 1595 devhdl = va_arg(ap, uint16_t *); in mptsas_sasexpdpage_0_cb() 1602 *devhdl = ddi_get16(accessp, &expddevpage->DevHandle); in mptsas_sasexpdpage_0_cb()
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | diag.c | 79 devctl_hdl_t devhdl; in d_offline_drive() local 89 if ((devhdl = devctl_device_acquire(dev_path1, in d_offline_drive() 97 if (devctl_device_offline(devhdl) != 0) { in d_offline_drive() 99 (void) devctl_release(devhdl); in d_offline_drive() 106 (void) devctl_release(devhdl); in d_offline_drive()
|
H A D | mon.c | 808 devctl_hdl_t devhdl; in l_dev_pwr_up_down() local 944 if ((devhdl = devctl_device_acquire(dl1->dev_path, in l_dev_pwr_up_down() 953 if (devctl_device_offline(devhdl) != 0) { in l_dev_pwr_up_down() 954 (void) devctl_release(devhdl); in l_dev_pwr_up_down() 961 (void) devctl_release(devhdl); in l_dev_pwr_up_down() 999 devctl_hdl_t devhdl; in l_pho_pwr_up_down() local 1078 if ((devhdl = devctl_device_acquire( in l_pho_pwr_up_down() 1090 if (devctl_device_offline(devhdl) != 0) { in l_pho_pwr_up_down() 1091 (void) devctl_release(devhdl); in l_pho_pwr_up_down() 1101 (void) devctl_release(devhdl); in l_pho_pwr_up_down() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 574 picl_nodehdl_t devhdl; in add_chassis_node() local 600 err = ptree_get_node_by_path(DISK0_DEV_PCIX, &devhdl); in add_chassis_node() 602 err = ptree_get_node_by_path(DISK0_DEV, &devhdl); in add_chassis_node() 612 err = add_prop_ref(devhdl, nodeh, PICL_REFPROP_FRU_PARENT); in add_chassis_node() 615 err = create_table_entry(tblhdl, devhdl, PICL_CLASS_BLOCK); in add_chassis_node() 621 err = ptree_get_node_by_path(DISK1_DEV_PCIX, &devhdl); in add_chassis_node() 623 err = ptree_get_node_by_path(DISK1_DEV, &devhdl); in add_chassis_node() 633 err = add_prop_ref(devhdl, nodeh, PICL_REFPROP_FRU_PARENT); in add_chassis_node() 636 err = create_table_entry(tblhdl, devhdl, PICL_CLASS_BLOCK); in add_chassis_node() 642 err = ptree_get_node_by_path(TAPE_DEV_PCIX, &devhdl); in add_chassis_node() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_nvme.c | 126 di_devlink_handle_t devhdl; in get_logical_disk() local 134 if ((devhdl = di_devlink_init(NULL, 0)) == DI_NODE_NIL) { in get_logical_disk() 142 (void) di_devlink_walk(devhdl, "^dsk/", minorpath, DI_PRIMARY_LINK, in get_logical_disk() 145 (void) di_devlink_fini(&devhdl); in get_logical_disk()
|
H A D | disk_common.c | 1084 di_devlink_handle_t devhdl; in dev_list_gather() local 1093 if ((devhdl = di_devlink_init(NULL, 0)) == DI_NODE_NIL) { in dev_list_gather() 1101 dcb.dcb_devhdl = devhdl; in dev_list_gather() 1107 (void) di_devlink_fini(&devhdl); in dev_list_gather()
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpica.c | 594 ACPI_HANDLE devhdl, in acpica_init_PRW() argument 611 status = AcpiEvaluateObject(devhdl, "_PRW", NULL, &prw_buf); in acpica_init_PRW() 618 (void) AcpiSetupGpeForWake(devhdl, in acpica_init_PRW()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 2317 picl_nodehdl_t devhdl; in update_disk_node() local 2350 err = ptree_get_node_by_path(devpath, &devhdl); in update_disk_node() 2358 err = create_table_entry(tblhdl, devhdl, in update_disk_node() 2362 err = add_prop_ref(devhdl, diskndh, in update_disk_node()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 549 uint16_t devhdl; member 559 _NOTE(DATA_READABLE_WITHOUT_LOCK(mptsas_topo_change_list_t::devhdl))
|