Searched refs:smcm_va_cmd (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_sata.c | 54 smcm->smcm_va_cmd->Header.LUN.PhysDev = *addr; in smrt_sata_determine_wwn() 55 smcm->smcm_va_cmd->Request.CDBLen = CDB_GROUP0; in smrt_sata_determine_wwn() 56 smcm->smcm_va_cmd->Request.Type.Type = CISS_TYPE_CMD; in smrt_sata_determine_wwn() 57 smcm->smcm_va_cmd->Request.Type.Attribute = CISS_ATTR_SIMPLE; in smrt_sata_determine_wwn() 58 smcm->smcm_va_cmd->Request.Type.Direction = CISS_XFER_READ; in smrt_sata_determine_wwn() 59 smcm->smcm_va_cmd->Request.Timeout = LE_16(timeout); in smrt_sata_determine_wwn() 61 smcm->smcm_va_cmd->Request.CDB[0] = SCMD_INQUIRY; in smrt_sata_determine_wwn() 62 smcm->smcm_va_cmd->Request.CDB[1] = 1; in smrt_sata_determine_wwn() 63 smcm->smcm_va_cmd->Request.CDB[2] = 0x83; in smrt_sata_determine_wwn() 64 smcm->smcm_va_cmd->Request.CDB[3] = (SMRT_SATA_INQ83_LEN & 0xff00) >> 8; in smrt_sata_determine_wwn() [all …]
|
H A D | smrt_ciss.c | 218 smcm->smcm_va_cmd->Request.Type.Type = CISS_TYPE_MSG; in smrt_write_message_common() 219 smcm->smcm_va_cmd->Request.Type.Attribute = CISS_ATTR_HEADOFQUEUE; in smrt_write_message_common() 220 smcm->smcm_va_cmd->Request.Type.Direction = CISS_XFER_NONE; in smrt_write_message_common() 221 smcm->smcm_va_cmd->Request.Timeout = LE_16(timeout_secs); in smrt_write_message_common() 222 smcm->smcm_va_cmd->Request.CDBLen = CISS_CDBLEN; in smrt_write_message_common() 223 smcm->smcm_va_cmd->Request.CDB[0] = type; in smrt_write_message_common() 235 smrt_write_lun_addr_phys(&smcm->smcm_va_cmd->Header.LUN, in smrt_write_message_abort_one() 243 smcm->smcm_va_cmd->Request.CDB[1] = CISS_ABORT_TASK; in smrt_write_message_abort_one() 251 bcopy(&cisstag, &smcm->smcm_va_cmd->Request.CDB[4], in smrt_write_message_abort_one() 263 smcm->smcm_va_cmd->Header.LUN = *addr; in smrt_write_message_abort_all() [all …]
|
H A D | smrt_commands.c | 178 kmflags, (void **)&smcm->smcm_va_cmd, &smcm->smcm_pa_cmd) != in smrt_command_alloc_impl() 184 smcm->smcm_va_err = (void *)((caddr_t)smcm->smcm_va_cmd + in smrt_command_alloc_impl() 197 bzero(smcm->smcm_va_cmd, contig_size); in smrt_command_alloc_impl() 198 smcm->smcm_va_cmd->ErrDesc.Addr = smcm->smcm_pa_err; in smrt_command_alloc_impl() 199 smcm->smcm_va_cmd->ErrDesc.Len = sizeof (ErrorInfo_t); in smrt_command_alloc_impl() 221 smcm->smcm_va_cmd->Header.Tag.tag_value = SMRT_PRE_TAG_NUMBER; in smrt_command_alloc_preinit() 275 smcm->smcm_va_cmd->SG[0].Addr = smcmi->smcmi_pa; in smrt_command_attach_internal() 276 smcm->smcm_va_cmd->SG[0].Len = (uint32_t)len; in smrt_command_attach_internal() 277 smcm->smcm_va_cmd->Header.SGList = 1; in smrt_command_attach_internal() 278 smcm->smcm_va_cmd->Header.SGTotal = 1; in smrt_command_attach_internal() [all …]
|
H A D | smrt_physical.c | 131 smrt_write_controller_lun_addr(&smcm->smcm_va_cmd->Header.LUN); in smrt_phys_identify() 133 smcm->smcm_va_cmd->Request.CDBLen = sizeof (sipdr); in smrt_phys_identify() 134 smcm->smcm_va_cmd->Request.Timeout = LE_16(timeout); in smrt_phys_identify() 135 smcm->smcm_va_cmd->Request.Type.Type = CISS_TYPE_CMD; in smrt_phys_identify() 136 smcm->smcm_va_cmd->Request.Type.Attribute = CISS_ATTR_SIMPLE; in smrt_phys_identify() 137 smcm->smcm_va_cmd->Request.Type.Direction = CISS_XFER_READ; in smrt_phys_identify() 149 bcopy(&sipdr, &smcm->smcm_va_cmd->Request.CDB[0], in smrt_phys_identify() 404 smrt_write_controller_lun_addr(&smcm->smcm_va_cmd->Header.LUN); in smrt_phys_discover() 406 smcm->smcm_va_cmd->Request.CDBLen = sizeof (smrplr); in smrt_phys_discover() 407 smcm->smcm_va_cmd->Request.Timeout = LE_16(timeout); in smrt_phys_discover() [all …]
|
H A D | smrt_logvol.c | 197 smrt_write_controller_lun_addr(&smcm->smcm_va_cmd->Header.LUN); in smrt_logvol_discover() 199 smcm->smcm_va_cmd->Request.CDBLen = sizeof (smrllr); in smrt_logvol_discover() 200 smcm->smcm_va_cmd->Request.Timeout = LE_16(timeout); in smrt_logvol_discover() 201 smcm->smcm_va_cmd->Request.Type.Type = CISS_TYPE_CMD; in smrt_logvol_discover() 202 smcm->smcm_va_cmd->Request.Type.Attribute = CISS_ATTR_SIMPLE; in smrt_logvol_discover() 203 smcm->smcm_va_cmd->Request.Type.Direction = CISS_XFER_READ; in smrt_logvol_discover() 214 bcopy(&smrllr, &smcm->smcm_va_cmd->Request.CDB[0], in smrt_logvol_discover()
|
H A D | smrt_hba.c | 335 pkt->pkt_cdbp = &smcm->smcm_va_cmd->Request.CDB[0]; in smrt_tran_setup_pkt() 336 smcm->smcm_va_cmd->Request.CDBLen = pkt->pkt_cdblen; in smrt_tran_setup_pkt() 544 smcm->smcm_va_cmd->Header.SGList = pkt->pkt_numcookies; in smrt_tran_start() 545 smcm->smcm_va_cmd->Header.SGTotal = pkt->pkt_numcookies; in smrt_tran_start() 547 smcm->smcm_va_cmd->SG[i].Addr = in smrt_tran_start() 549 smcm->smcm_va_cmd->SG[i].Len = in smrt_tran_start() 556 smcm->smcm_va_cmd->Header.LUN = *smcm->smcm_target->smtg_addr; in smrt_tran_start() 561 smcm->smcm_va_cmd->Request.CDBLen = pkt->pkt_cdblen; in smrt_tran_start() 562 smcm->smcm_va_cmd->Request.Type.Type = CISS_TYPE_CMD; in smrt_tran_start() 563 smcm->smcm_va_cmd->Request.Type.Attribute = CISS_ATTR_SIMPLE; in smrt_tran_start() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/smrt/ |
H A D | smrt.h | 594 CommandList_t *smcm_va_cmd; member
|