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

/illumos-gate/usr/src/uts/sun4v/io/pciex/
H A Dpci_cfgacc_4v.c69 uint64_t devhdl; local
76 devhdl = bus_p->bus_cfgacc_base;
79 (void) hvio_config_get(devhdl, devaddr,
90 uint64_t devhdl; local
97 devhdl = bus_p->bus_cfgacc_base;
101 (void) hvio_config_put(devhdl, devaddr, offset, size, wdata);
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c349 devctl_hdl_t devhdl; local
356 if ((devhdl = devctl_device_acquire(dl->dev_path,
366 if ((devctl_device_offline(devhdl) != 0) && !force_flag) {
367 (void) devctl_release(devhdl);
372 (void) devctl_release(devhdl);
392 devctl_hdl_t devhdl; local
396 if ((devhdl = devctl_device_acquire(dl->dev_path,
398 (void) devctl_device_online(devhdl);
399 (void) devctl_release(devhdl);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_raid.c482 uint16_t *devhdl; local
495 devhdl = va_arg(ap, uint16_t *);
498 *devhdl = ddi_get16(accessp, &diskpage->DevHandle);
509 uint16_t devhdl; local
523 mptsas_raidphydsk_page_0_cb, &devhdl, &state);
534 raidvol->m_devhdl[i] = devhdl;
H A Dmptsas.c213 static int mptsas_do_scsi_reset(mptsas_t *mpt, uint16_t devhdl);
253 static int mptsas_free_devhdl(mptsas_t *mpt, uint16_t devhdl);
3440 * devhdl since devhdl is set after path offline, target
3444 NDBG3(("rejecting command, it might because invalid devhdl "
5579 topo_node->devhdl = ptgt->m_devhdl;
6027 mptsas_free_devhdl(mptsas_t *mpt, uint16_t devhdl) argument
6044 req.DevHandle = LE_16(devhdl);
6324 uint16_t devhdl; local
6335 NDBG20(("mptsas%d handle_topo_change enter, devhdl
7701 uint16_t devhdl; local
8953 mptsas_do_scsi_reset(mptsas_t *mpt, uint16_t devhdl) argument
10018 uint16_t devhdl; local
16299 mptsas_tgt_alloc(refhash_t *refhash, uint16_t devhdl, uint64_t wwid, uint32_t devinfo, mptsas_phymask_t phymask, uint8_t phynum) argument
[all...]
H A Dmptsas_impl.c1432 uint16_t *devhdl, *bay_num, *enclosure; local
1462 devhdl = va_arg(ap, uint16_t *);
1475 *devhdl = ddi_get16(accessp, &sasdevpage->DevHandle);
1543 uint16_t *devhdl; local
1573 devhdl = va_arg(ap, uint16_t *);
1580 *devhdl = ddi_get16(accessp, &expddevpage->DevHandle);
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Ddiag.c79 devctl_hdl_t devhdl; local
89 if ((devhdl = devctl_device_acquire(dev_path1,
97 if (devctl_device_offline(devhdl) != 0) {
99 (void) devctl_release(devhdl);
106 (void) devctl_release(devhdl);
H A Dmon.c808 devctl_hdl_t devhdl; local
944 if ((devhdl = devctl_device_acquire(dl1->dev_path,
953 if (devctl_device_offline(devhdl) != 0) {
954 (void) devctl_release(devhdl);
961 (void) devctl_release(devhdl);
999 devctl_hdl_t devhdl; local
1078 if ((devhdl = devctl_device_acquire(
1090 if (devctl_device_offline(devhdl) != 0) {
1091 (void) devctl_release(devhdl);
1101 (void) devctl_release(devhdl);
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c576 picl_nodehdl_t devhdl; local
602 err = ptree_get_node_by_path(DISK0_DEV_PCIX, &devhdl);
604 err = ptree_get_node_by_path(DISK0_DEV, &devhdl);
614 err = add_prop_ref(devhdl, nodeh, PICL_REFPROP_FRU_PARENT);
617 err = create_table_entry(tblhdl, devhdl, PICL_CLASS_BLOCK);
623 err = ptree_get_node_by_path(DISK1_DEV_PCIX, &devhdl);
625 err = ptree_get_node_by_path(DISK1_DEV, &devhdl);
635 err = add_prop_ref(devhdl, nodeh, PICL_REFPROP_FRU_PARENT);
638 err = create_table_entry(tblhdl, devhdl, PICL_CLASS_BLOCK);
644 err = ptree_get_node_by_path(TAPE_DEV_PCIX, &devhdl);
1168 picl_nodehdl_t devhdl; local
3853 picl_nodehdl_t devhdl; local
[all...]
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpica.c594 ACPI_HANDLE devhdl,
611 status = AcpiEvaluateObject(devhdl, "_PRW", NULL, &prw_buf);
618 (void) AcpiSetupGpeForWake(devhdl,
593 acpica_init_PRW( ACPI_HANDLE devhdl, UINT32 depth, void *ctxp, void **rvpp) argument
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c887 di_devlink_handle_t devhdl; local
896 if ((devhdl = di_devlink_init(NULL, 0)) == DI_NODE_NIL) {
904 dcb.dcb_devhdl = devhdl;
910 (void) di_devlink_fini(&devhdl);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c2317 picl_nodehdl_t devhdl; local
2350 err = ptree_get_node_by_path(devpath, &devhdl);
2358 err = create_table_entry(tblhdl, devhdl,
2362 err = add_prop_ref(devhdl, diskndh,
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h539 uint16_t devhdl; member in struct:mptsas_topo_change_list
549 _NOTE(DATA_READABLE_WITHOUT_LOCK(mptsas_topo_change_list_t::devhdl))

Completed in 120 milliseconds