Searched defs:smp_sd (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsmp.h48 struct smp_device *smp_sd; /* pointer to smp_device */ member in struct:smp_state
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dsmp_transport.c30 smp_device_prop_update_inqstring(struct smp_device *smp_sd, argument
47 smp_sd->smp_sd_dev, name, data_string);
56 smp_probe(struct smp_device *smp_sd) argument
75 smp_pkt->smp_pkt_address = &smp_sd->smp_sd_address;
101 if (smp_sd->smp_sd_dev == NULL)
129 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd->smp_sd_dev,
133 smp_sd->smp_sd_dev, "component", component);
138 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd->smp_sd_dev,
140 (void) smp_device_prop_update_inqstring(smp_sd,
144 if (ddi_prop_exists(DDI_DEV_T_NONE, smp_sd
[all...]
H A Dscsi_hba.c1554 struct smp_device *smp_sd; local
1591 smp_sd = kmem_zalloc(sizeof (struct smp_device), KM_SLEEP);
1592 smp_sd->smp_sd_dev = child;
1593 smp_sd->smp_sd_address.smp_a_hba_tran = tran;
1594 bcopy(&wwn, smp_sd->smp_sd_address.smp_a_wwn, SAS_WWN_BYTE_SIZE);
1596 ddi_set_driver_private(child, smp_sd);
1599 tran, smp_sd) != DDI_SUCCESS)) {
1600 kmem_free(smp_sd, sizeof (struct smp_device));
1615 struct smp_device *smp_sd = ddi_get_driver_private(child); local
1619 ASSERT(smp_sd
4525 smp_device_prop_get_int(struct smp_device *smp_sd, char *name, int defval) argument
4540 smp_device_prop_get_int64(struct smp_device *smp_sd, char *name, int64_t defval) argument
4554 smp_device_prop_lookup_byte_array(struct smp_device *smp_sd, char *name, uchar_t **data, uint_t *nelements) argument
4570 smp_device_prop_lookup_int_array(struct smp_device *smp_sd, char *name, int **data, uint_t *nelements) argument
4587 smp_device_prop_lookup_string(struct smp_device *smp_sd, char *name, char **data) argument
4603 smp_device_prop_lookup_string_array(struct smp_device *smp_sd, char *name, char ***data, uint_t *nelements) argument
4619 smp_device_prop_update_byte_array(struct smp_device *smp_sd, char *name, uchar_t *data, uint_t nelements) argument
4634 smp_device_prop_update_int(struct smp_device *smp_sd, char *name, int data) argument
4648 smp_device_prop_update_int64(struct smp_device *smp_sd, char *name, int64_t data) argument
4663 smp_device_prop_update_int_array(struct smp_device *smp_sd, char *name, int *data, uint_t nelements) argument
4678 smp_device_prop_update_string(struct smp_device *smp_sd, char *name, char *data) argument
4692 smp_device_prop_update_string_array(struct smp_device *smp_sd, char *name, char **data, uint_t nelements) argument
4707 smp_device_prop_remove(struct smp_device *smp_sd, char *name) argument
4720 smp_device_prop_free(struct smp_device *smp_sd, void *data) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsmp.c190 struct smp_device *smp_sd; local
197 smp_sd = ddi_get_driver_private(dip);
198 ASSERT(smp_sd != NULL);
204 if (smp_probe(smp_sd) != DDI_PROBE_SUCCESS) {
244 smp_state->smp_sd = smp_sd;
458 smp_pkt->smp_pkt_address = &smp_state->smp_sd->smp_sd_address;
588 dip = smp_state->smp_sd->smp_sd_dev;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c1208 smp_hba_tran_t *tran, smp_device_t *smp_sd)
1210 _NOTE(ARGUNUSED(tran, smp_sd));
1324 tgt->smpd = smp_sd;
1336 if (smp_device_prop_update_string(smp_sd, SCSI_ADDR_PROP_ATTACHED_PORT,
1207 pmcs_smp_init(dev_info_t *self, dev_info_t *child, smp_hba_tran_t *tran, smp_device_t *smp_sd) argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c15723 struct smp_device smp_sd; local
15726 bzero(&smp_sd, sizeof (struct smp_device));
15727 smp_sd.smp_sd_address.smp_a_hba_tran = mpt->m_smptran;
15728 bcopy(&wwn, smp_sd.smp_sd_address.smp_a_wwn, SAS_WWN_BYTE_SIZE);
15730 if (smp_probe(&smp_sd) != DDI_PROBE_SUCCESS)

Completed in 101 milliseconds