Searched defs:cdb (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasScsiReportLUNs.c38 union scsi_cdb cdb; local
40 bzero(&cdb, sizeof (cdb));
44 cdb.scc_cmd = SCMD_REPORT_LUNS;
45 FORMG5COUNT(&cdb, *responseSize);
47 ucmd_buf.uscsi_cdb = (char *)&cdb;
H A DSun_sasScsiInquiry.c38 union scsi_cdb cdb; local
40 bzero(&cdb, sizeof (cdb));
45 cdb.scc_cmd = SCMD_INQUIRY;
46 cdb.g0_addr1 = cdb2;
47 cdb.g0_addr2 = cdb1;
48 cdb.g0_count0 = *responseSize;
50 ucmd_buf.uscsi_cdb = (char *)&cdb;
H A DSun_sasScsiReadCapacity.c38 union scsi_cdb cdb; local
40 bzero(&cdb, sizeof (cdb));
45 cdb.scc_cmd = SCMD_READ_CAPACITY;
47 ucmd_buf.uscsi_cdb = (char *)&cdb;
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c220 union scsi_cdb cdb; local
227 (void) memset((void *) &cdb, 0, sizeof (union scsi_cdb));
228 cdb.scc_cmd = SCMD_INQUIRY;
229 FORMG0COUNT(&cdb, sizeof (inq));
230 ucmd.uscsi_cdb = (caddr_t) & cdb;
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dio.c93 my_cdb_g1 cdb = {SCMD_PERS_RESERV_IN, 0, 0, 0, 0, 0, 0, 0, 0, 0}; local
102 cdb.byte1 = action & ACTION_MASK;
103 cdb.byte7 = (buf_len>>8) & 0xff;
104 cdb.byte8 = buf_len & 0xff;
105 ucmd.uscsi_cdb = (caddr_t)&cdb;
128 uchar_t cdb[] = {SCMD_SDIAG, SCSI_ESI_PF, 0, 0, 0, 0}; local
137 cdb[3] = (buf_len>>8) & 0xff;
138 cdb[4] = buf_len & 0xff;
139 ucmd.uscsi_cdb = (caddr_t)cdb;
158 * Internal routine to allow manipulation of the cdb[
166 uchar_t cdb[] = {SCMD_GDIAG, 0, 0, 0, 0, 0}; local
230 my_cdb_g1 cdb = {SCMD_WRITE_BUFFER, 0x4, 0, 0, 0, 0, 0, 0, 0, 0}; local
266 my_cdb_g1 cdb = {SCMD_READ_BUFFER, 0x5, 0, 0, 0, 0, 0, 0, 0, 0}; local
295 my_cdb_g0 cdb = {SCMD_INQUIRY, 0, 0, 0, 0, 0}; local
338 my_cdb_g1 cdb = {SCMD_LOG_SENSE, 0, 0x40, 0, 0, 0, 0, 0, 0, 0}; local
374 my_cdb_g1 cdb = {SCMD_MODE_SELECT_G1, 0, 0, 0, 0, 0, 0, 0, 0, 0}; local
414 my_cdb_g1 cdb = {SCMD_MODE_SENSE_G1, 0, 0, 0, 0, 0, 0, 0, 0, 0}; local
459 my_cdb_g1 cdb = {SCMD_READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; local
485 my_cdb_g1 cdb = {SCMD_READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; local
529 union scsi_cdb cdb; local
576 const my_cdb_g0 cdb = {SCMD_RELEASE, 0, 0, 0, 0, 0}; local
599 const my_cdb_g0 cdb = {SCMD_RESERVE, 0, 0, 0, 0, 0}; local
626 const my_cdb_g0 cdb = {SCMD_START_STOP, 0, 0, 0, 1, 0}; local
648 my_cdb_g0 cdb = {SCMD_START_STOP, 0, 0, 0, 0, 0}; local
673 const my_cdb_g0 cdb = {SCMD_TEST_UNIT_READY, 0, 0, 0, 0, 0}; local
[all...]
H A Dmap.c4029 my_cdb_g0 cdb = {SCMD_INQUIRY, 0x1, 0x80, 0, 0x10, 0}; local
4034 cdb.count = (uchar_t)buf_len;
4035 ucmd.uscsi_cdb = (caddr_t)&cdb;
4052 my_cdb_g0 cdb = {SCMD_INQUIRY, 0x1, 0, 0, 0xff, 0}; local
4060 cdb.count = (uchar_t)(sizeof (L_inquiry00));
4061 ucmd.uscsi_cdb = (caddr_t)&cdb;
/osnet-11/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c294 { 0x24, 0x00, "invalid field in cdb" },
295 { 0x24, 0x01, "cdb decryption error" },
710 ddump("cdb:", (caddr_t)ucmd->uscsi_cdb,
1166 union scsi_cdb cdb; local
1171 (void) memset(&cdb, 0, sizeof (union scsi_cdb));
1172 cdb.scc_cmd = SCMD_REQUEST_SENSE;
1173 FORMG0COUNT(&cdb, (uchar_t)buflen);
1174 ucmd.uscsi_cdb = (caddr_t)&cdb;
1203 union scsi_cdb cdb; local
1221 (void) memset(&cdb,
1340 union scsi_cdb cdb; local
1476 union scsi_cdb cdb; local
1545 union scsi_cdb cdb; local
1613 union scsi_cdb cdb; local
[all...]
/osnet-11/usr/src/lib/fm/libseslog/common/
H A Dlibseslog.c77 * set control cdb of scsi structure
80 set_scsi_pt_cdb(struct uscsi_cmd *uscsi, const unsigned char *cdb, argument
83 uscsi->uscsi_cdb = (char *)cdb;
137 * SG_LIB_CAT_ILLEGAL_REQ -> bad field in cdb,
458 * SG_LIB_CAT_ILLEGAL_REQ -> bad field in cdb
496 * SG_LIB_CAT_ILLEGAL_REQ -> bad field in cdb,
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/sun4v/common/
H A Dcfga_led_ctl.c60 static char cdb[CDB_GROUP0] = {SCMD_GDIAG, 0x1, 0xa, (SCSZ)>>8, variable
161 uscsicmdp->uscsi_cdb = cdb;
/osnet-11/usr/src/cmd/hal/utils/
H A Dcdutils.c44 uscsi_cmd_init(struct uscsi_cmd *scmd, char *cdb, int cdblen) argument
47 bzero(cdb, cdblen);
48 scmd->uscsi_cdb = cdb;
137 char cdb[16]; local
139 uscsi_cmd_init(&scmd, cdb, sizeof (cdb));
192 char cdb[16]; local
194 uscsi_cmd_init(&scmd, cdb, sizeof (cdb));
367 char cdb[1 local
413 char cdb[16]; local
484 char cdb[16]; local
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddrive.c340 union scsi_cdb *cdb, caddr_t buff, int blen);
341 static void fill_general_page_cdb_g1(union scsi_cdb *cdb,
343 static void fill_mode_page_cdb(union scsi_cdb *cdb, int page);
1265 union scsi_cdb cdb; local
1269 fill_general_page_cdb_g1(&cdb, SCMD_GET_CONFIGURATION, 0,
1271 fill_command_g1(&cmd, &cdb, (caddr_t)buff, sizeof (buff));
1332 union scsi_cdb cdb; local
1336 fill_mode_page_cdb(&cdb, ATAPI_CAPABILITIES);
1337 fill_command_g1(&cmd, &cdb, (caddr_t)buff, sizeof (buff));
1394 fill_command_g1(struct uscsi_cmd *cmd, union scsi_cdb *cdb, argument
1410 fill_general_page_cdb_g1(union scsi_cdb *cdb, int command, int lun, uchar_t c0, uchar_t c1) argument
1421 fill_mode_page_cdb(union scsi_cdb *cdb, int page) argument
1440 union scsi_cdb cdb; local
[all...]

Completed in 52 milliseconds