Home
last modified time | relevance | path

Searched refs:smp_sd (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/uts/common/sys/scsi/impl/
H A Dsmp_transport.h115 int smp_device_prop_get_int(struct smp_device *smp_sd, char *name,
120 int smp_device_prop_lookup_byte_array(struct smp_device *smp_sd, char *name,
122 int smp_device_prop_lookup_int_array(struct smp_device *smp_sd, char *name,
124 int smp_device_prop_lookup_string(struct smp_device *smp_sd, char *name,
126 int smp_device_prop_lookup_string_array(struct smp_device *smp_sd,
129 int smp_device_prop_update_byte_array(struct smp_device *smp_sd, char *name,
131 int smp_device_prop_update_int(struct smp_device *smp_sd, char *name, int);
132 int smp_device_prop_update_int64(struct smp_device *smp_sd, char *name,
134 int smp_device_prop_update_int_array(struct smp_device *smp_sd, char *name,
136 int smp_device_prop_update_string(struct smp_device *smp_sd, char *name,
[all …]
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dsmp_transport.c30 smp_device_prop_update_inqstring(struct smp_device *smp_sd, in smp_device_prop_update_inqstring() argument
47 smp_sd->smp_sd_dev, name, data_string); in smp_device_prop_update_inqstring()
56 smp_probe(struct smp_device *smp_sd) in smp_probe() argument
75 smp_pkt->smp_pkt_address = &smp_sd->smp_sd_address; in smp_probe()
101 if (smp_sd->smp_sd_dev == NULL) in smp_probe()
129 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd->smp_sd_dev, in smp_probe()
133 smp_sd->smp_sd_dev, "component", component); in smp_probe()
138 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd->smp_sd_dev, in smp_probe()
140 (void) smp_device_prop_update_inqstring(smp_sd, in smp_probe()
144 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd->smp_sd_dev, in smp_probe()
[all …]
H A Dscsi_hba.c1554 struct smp_device *smp_sd; in smp_busctl_initchild() local
1591 smp_sd = kmem_zalloc(sizeof (struct smp_device), KM_SLEEP); in smp_busctl_initchild()
1592 smp_sd->smp_sd_dev = child; in smp_busctl_initchild()
1593 smp_sd->smp_sd_address.smp_a_hba_tran = tran; in smp_busctl_initchild()
1594 bcopy(&wwn, smp_sd->smp_sd_address.smp_a_wwn, SAS_WWN_BYTE_SIZE); in smp_busctl_initchild()
1596 ddi_set_driver_private(child, smp_sd); in smp_busctl_initchild()
1599 tran, smp_sd) != DDI_SUCCESS)) { in smp_busctl_initchild()
1600 kmem_free(smp_sd, sizeof (struct smp_device)); in smp_busctl_initchild()
1615 struct smp_device *smp_sd = ddi_get_driver_private(child); in smp_busctl_uninitchild() local
1619 ASSERT(smp_sd && tran); in smp_busctl_uninitchild()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsmp.c190 struct smp_device *smp_sd; in smp_do_attach() local
197 smp_sd = ddi_get_driver_private(dip); in smp_do_attach()
198 ASSERT(smp_sd != NULL); in smp_do_attach()
204 if (smp_probe(smp_sd) != DDI_PROBE_SUCCESS) { in smp_do_attach()
244 smp_state->smp_sd = smp_sd; in smp_do_attach()
458 smp_pkt->smp_pkt_address = &smp_state->smp_sd->smp_sd_address; in smp_handle_func()
588 dip = smp_state->smp_sd->smp_sd_dev; in smp_log()
/titanic_50/usr/src/uts/common/sys/scsi/targets/
H A Dsmp.h48 struct smp_device *smp_sd; /* pointer to smp_device */ member
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c1208 smp_hba_tran_t *tran, smp_device_t *smp_sd) in pmcs_smp_init() argument
1210 _NOTE(ARGUNUSED(tran, smp_sd)); in pmcs_smp_init()
1324 tgt->smpd = smp_sd; in pmcs_smp_init()
1336 if (smp_device_prop_update_string(smp_sd, SCSI_ADDR_PROP_ATTACHED_PORT, in pmcs_smp_init()
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c16138 struct smp_device smp_sd; in mptsas_probe_smp() local
16141 bzero(&smp_sd, sizeof (struct smp_device)); in mptsas_probe_smp()
16142 smp_sd.smp_sd_address.smp_a_hba_tran = mpt->m_smptran; in mptsas_probe_smp()
16143 bcopy(&wwn, smp_sd.smp_sd_address.smp_a_wwn, SAS_WWN_BYTE_SIZE); in mptsas_probe_smp()
16145 if (smp_probe(&smp_sd) != DDI_PROBE_SUCCESS) in mptsas_probe_smp()