Home
last modified time | relevance | path

Searched refs:sd_dev (Results 1 – 25 of 34) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_fm.c52 dev_info_t *dip = sd->sd_dev; in scsi_fm_init()
83 dev_info_t *dip = sd->sd_dev; in scsi_fm_fini()
99 dev_info_t *dip = sd->sd_dev; in scsi_fm_ereport_post()
H A Dscsi_hba.c1950 sd->sd_dev = child; in scsi_busctl_initchild()
2153 "'%s' is corrupting a_hba_tran", sd->sd_dev ? in scsi_busctl_uninitchild()
2154 ddi_driver_name(sd->sd_dev) : "unknown_driver")); in scsi_busctl_uninitchild()
4201 ASSERT(sd && sd->sd_dev); in scsi_device_unit_address()
4202 if ((sd == NULL) || (sd->sd_dev == NULL)) in scsi_device_unit_address()
4209 return (ddi_get_name_addr(sd->sd_dev)); in scsi_device_unit_address()
4230 ASSERT(sd && name && sd->sd_dev && _TYPE_DEFINED(flags)); in scsi_device_prop_get_int()
4231 if ((sd == NULL) || (name == NULL) || (sd->sd_dev == NULL) || in scsi_device_prop_get_int()
4241 v = ddi_prop_get_int(DDI_DEV_T_ANY, sd->sd_dev, in scsi_device_prop_get_int()
4256 ASSERT(sd && name && sd->sd_dev && _TYPE_DEFINED(flags)); in scsi_device_prop_get_int64()
[all …]
H A Dscsi_subr.c1105 dev_info_t *dev = devp->sd_dev; in scsi_generic_errmsg()
1461 if ((sd == NULL) || (sd->sd_dev == NULL)) in scsi_get_scsi_options()
1464 parent = ddi_get_parent(sd->sd_dev); in scsi_get_scsi_options()
1466 if ((tgt = ddi_prop_get_int(DDI_DEV_T_ANY, sd->sd_dev, in scsi_get_scsi_options()
/titanic_41/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c636 probe = sd->sd_dev; in scsi_test_ereport_post()
950 probe = sd->sd_dev; in scsi_test()
1522 (void) ndi_prop_update_int(DDI_DEV_T_NONE, sd->sd_dev, in create_inquiry_props()
1542 if (ddi_prop_exists(DDI_DEV_T_NONE, sd->sd_dev, in create_inquiry_props()
1548 if (ddi_prop_exists(DDI_DEV_T_NONE, sd->sd_dev, in create_inquiry_props()
1554 if (ddi_prop_exists(DDI_DEV_T_NONE, sd->sd_dev, in create_inquiry_props()
1583 sd->sd_dev, name, data_string); in scsi_device_prop_update_inqstring()
1633 (dev_info_t *)DEVI(sd->sd_dev)->devi_parent; in scsi_check_ss2_LUN_limit()
1712 dev_info_t *devi = sd->sd_dev; in scsi_establish_LUN_limit()
2008 dev_info_t *devi = sd->sd_dev; in scsi_device_identity()
/titanic_41/usr/src/uts/common/sys/scsi/conf/
H A Ddevice.h78 dev_info_t *sd_dev; member
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtape.c122 (mdi_set_lb_policy(sd->sd_dev, LOAD_BALANCE_NONE) != in tape_device_probe()
H A Dtpgs_tape.c155 (mdi_set_lb_policy(sd->sd_dev, LOAD_BALANCE_NONE) != in tpgs_tape_device_probe()
/titanic_41/usr/src/uts/common/sys/scsi/targets/
H A Dsgendef.h91 #define sgen_devinfo sgen_scsidev->sd_dev
H A Dses.h56 #define SES_DEVINFO(softc) (SES_DEVP(softc)->sd_dev)
H A Dstdef.h1343 #define ST_DEVINFO (ST_SCSI_DEVP->sd_dev)
H A Dsddef.h731 #define SD_DEVINFO(un) ((un)->un_sd->sd_dev)
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Dgda.c251 dev_info_t *dev = devp->sd_dev; in gda_errmsg()
H A Ddadk.c415 gda_log(devp->sd_dev, dadk_name, CE_NOTE, "!<%s>\n", name); in dadk_probe()
1055 if (i_ddi_mem_alloc((dadkp->dad_sd)->sd_dev, &dadk_alloc_attr, in dadk_iob_alloc()
1269 gda_log(dadkp->dad_sd->sd_dev, dadk_name, in dadk_ioretry()
1272 gda_log(dadkp->dad_sd->sd_dev, in dadk_ioretry()
/titanic_41/usr/src/uts/common/sys/
H A Dsoftmac_impl.h83 dev_t sd_dev; member
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c94 _lun = ddi_prop_get_int(DDI_DEV_T_ANY, (devp)->sd_dev, \
606 scsidevp->sd_dev = dip; in sgen_do_attach()
978 *result = (void *) sg_state->sgen_scsidev->sd_dev; in sgen_getinfo()
H A Dses.c404 devp->sd_dev = dip; in ses_doattach()
642 *result = (void *) ssc->ses_devp->sd_dev; in ses_info()
H A Dst.c67 _lun = ddi_prop_get_int(DDI_DEV_T_ANY, (devp)->sd_dev, \
1609 ST_FUNC(devp->sd_dev, st_doattach); in st_doattach()
1615 ST_DEBUG(devp->sd_dev, st_label, SCSI_DEBUG, in st_doattach()
1629 ST_DEBUG(devp->sd_dev, st_label, SCSI_DEBUG, in st_doattach()
1638 ST_DEBUG(devp->sd_dev, st_label, SCSI_DEBUG, in st_doattach()
1649 instance = ddi_get_instance(devp->sd_dev); in st_doattach()
1695 (void) i_ddi_mem_alloc(devp->sd_dev, &st_alloc_attr, in st_doattach()
1699 (void) i_ddi_mem_alloc(devp->sd_dev, &st_alloc_attr, in st_doattach()
1704 ST_DEBUG6(devp->sd_dev, st_label, SCSI_DEBUG, in st_doattach()
1724 un->un_recov_taskq = ddi_taskq_create(devp->sd_dev, in st_doattach()
[all …]
/titanic_41/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h110 #define ADDR2DIP(ap) ((dev_info_t *)(scsi_address_device(ap)->sd_dev))
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_hba.c135 VERIFY(sd->sd_dev == tgt_dip); in smrt_logvol_tran_tgt_init()
247 VERIFY(sd->sd_dev == tgt_dip); in smrt_phys_tran_tgt_init()
/titanic_41/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c441 softmac_dev->sd_dev = dev; in softmac_create()
724 softmac->smac_dev = dev = softmac_dev->sd_dev; in softmac_mac_register()
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_disk.c826 if ((devp == NULL) || (devp->sd_dev != NULL)) { in ata_disk_bus_ctl()
829 devp->sd_dev = cdip; in ata_disk_bus_ctl()
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c1321 lun_dip = sd->sd_dev; in iscsi_tran_get_name()
1333 target = ddi_prop_get_int(DDI_DEV_T_ANY, sd->sd_dev, in iscsi_tran_get_name()
1337 lun = ddi_prop_get_int(DDI_DEV_T_ANY, sd->sd_dev, in iscsi_tran_get_name()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c2153 cdip = sd->sd_dev; in vhci_scsi_get_name_bus_addr()
4149 psd->sd_dev = tgt_dip; in vhci_pathinfo_init()
5174 tgt_dip = psd->sd_dev; in vhci_pathinfo_online()
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1040 dev_info_t *dip = ddi_get_parent(sd->sd_dev); in scsa1394_scsi_tgt_probe()
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c323 tgt->dip = sd->sd_dev; in pmcs_scsa_tran_tgt_init()

12