Lines Matching defs:cdb

93 my_cdb_g1	cdb = {SCMD_PERS_RESERV_IN, 0, 0, 0, 0, 0, 0, 0, 0, 0};
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};
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[1] byte
166 uchar_t cdb[] = {SCMD_GDIAG, 0, 0, 0, 0, 0};
175 cdb[1] = cdb_one;
176 cdb[2] = page_code;
177 cdb[3] = (buf_len>>8) & 0xff;
178 cdb[4] = buf_len & 0xff;
179 ucmd.uscsi_cdb = (caddr_t)cdb;
209 * 0x10 to be present in cdb[1].
230 my_cdb_g1 cdb = {SCMD_WRITE_BUFFER, 0x4, 0, 0, 0, 0, 0, 0, 0, 0};
238 cdb.byte1 |= sp; /* set the save bit */
239 cdb.byte2 = (char)(bid & 0xff);
240 cdb.byte3 = off>>16; /* bytes 3-5 contain file offset */
241 cdb.byte4 = (off>>8) & 0xff;
242 cdb.byte5 = off & 0xff;
243 cdb.byte6 = buf_len>>16; /* bytes 6-8 contain file length */
244 cdb.byte7 = (buf_len>>8) & 0xff;
245 cdb.byte8 = buf_len & 0xff;
246 ucmd.uscsi_cdb = (caddr_t)&cdb;
266 my_cdb_g1 cdb = {SCMD_READ_BUFFER, 0x5, 0, 0, 0, 0, 0, 0, 0, 0};
274 cdb.byte3 = (code_off >> 16) & 0xff;
275 cdb.byte4 = (code_off >> 8) & 0xff;
276 cdb.byte5 = code_off & 0xff;
277 cdb.byte6 = buf_len>>16; /* bytes 6-8 contain file length */
278 cdb.byte7 = (buf_len>>8) & 0xff;
279 cdb.byte8 = buf_len & 0xff;
280 ucmd.uscsi_cdb = (caddr_t)&cdb;
295 my_cdb_g0 cdb = {SCMD_INQUIRY, 0, 0, 0, 0, 0};
305 cdb.count = (uchar_t)buf_len;
306 ucmd.uscsi_cdb = (caddr_t)&cdb;
338 my_cdb_g1 cdb = {SCMD_LOG_SENSE, 0, 0x40, 0, 0, 0, 0, 0, 0, 0};
348 cdb.byte2 |= page_code; /* requested page */
349 cdb.byte7 = buf_len>>8;
350 cdb.byte8 = buf_len & 0xff;
351 ucmd.uscsi_cdb = (caddr_t)&cdb;
374 my_cdb_g1 cdb = {SCMD_MODE_SELECT_G1, 0, 0, 0, 0, 0, 0, 0, 0, 0};
382 cdb.byte1 = (sp & 1) | 0x10; /* 0x10 is the PF bit */
383 cdb.byte7 = buf_len>>8;
384 cdb.byte8 = buf_len & 0xff;
386 ucmd.uscsi_cdb = (caddr_t)&cdb;
414 my_cdb_g1 cdb = {SCMD_MODE_SENSE_G1, 0, 0, 0, 0, 0, 0, 0, 0, 0};
430 cdb.byte2 = (pc << 6) + page_code;
431 cdb.byte7 = buf_len>>8;
432 cdb.byte8 = buf_len & 0xff;
433 ucmd.uscsi_cdb = (caddr_t)&cdb;
459 my_cdb_g1 cdb = {SCMD_READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
470 ucmd.uscsi_cdb = (caddr_t)&cdb;
485 my_cdb_g1 cdb = {SCMD_READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
499 ucmd.uscsi_cdb = (caddr_t)&cdb;
529 union scsi_cdb cdb;
539 (void) memset((char *)&cdb, 0, sizeof (union scsi_cdb));
541 ucmd.uscsi_cdb = (caddr_t)&cdb;
554 cdb.scc_cmd = SCMD_SVC_ACTION_IN_G4;
555 cdb.cdb_opaque[1] = SSVC_ACTION_READ_CAPACITY_G4;
560 cdb.cdb_opaque[10] =
562 cdb.cdb_opaque[11] =
564 cdb.cdb_opaque[12] =
566 cdb.cdb_opaque[13] =
576 const my_cdb_g0 cdb = {SCMD_RELEASE, 0, 0, 0, 0, 0};
585 ucmd.uscsi_cdb = (caddr_t)&cdb;
599 const my_cdb_g0 cdb = {SCMD_RESERVE, 0, 0, 0, 0, 0};
608 ucmd.uscsi_cdb = (caddr_t)&cdb;
624 * const my_cdb_g0 cdb = {SCMD_START_STOP, 0, 0xff, 0, 1, 0};
626 const my_cdb_g0 cdb = {SCMD_START_STOP, 0, 0, 0, 1, 0};
634 ucmd.uscsi_cdb = (caddr_t)&cdb;
648 my_cdb_g0 cdb = {SCMD_START_STOP, 0, 0, 0, 0, 0};
657 cdb.lba_msb = IMMED;
659 ucmd.uscsi_cdb = (caddr_t)&cdb;
673 const my_cdb_g0 cdb = {SCMD_TEST_UNIT_READY, 0, 0, 0, 0, 0};
682 ucmd.uscsi_cdb = (caddr_t)&cdb;