Lines Matching defs:scsi

53 #include	<sys/scsi/impl/inquiry.h>
1004 * with EIO and any scsi pass thru with appropriate sense
1291 struct skd_scsi_request *scsi;
1298 scsi = (struct skd_scsi_request *)&skspcl->msg_buf64[8];
1299 bzero(scsi, sizeof (*scsi));
1301 scsi->hdr.sg_list_dma_address = cpu_to_be64(dma_address);
1328 struct skd_scsi_request *scsi;
1343 scsi = (struct skd_scsi_request *)&skspcl->msg_buf64[8];
1344 scsi->hdr.tag = skspcl->req.id;
1351 scsi->cdb[0] = TEST_UNIT_READY;
1352 scsi->cdb[1] = 0x00;
1353 scsi->cdb[2] = 0x00;
1354 scsi->cdb[3] = 0x00;
1355 scsi->cdb[4] = 0x00;
1356 scsi->cdb[5] = 0x00;
1358 scsi->hdr.sg_list_len_bytes = 0;
1361 scsi->cdb[0] = READ_CAPACITY_EXT;
1362 scsi->cdb[1] = 0x10;
1363 scsi->cdb[2] = 0x00;
1364 scsi->cdb[3] = 0x00;
1365 scsi->cdb[4] = 0x00;
1366 scsi->cdb[5] = 0x00;
1367 scsi->cdb[6] = 0x00;
1368 scsi->cdb[7] = 0x00;
1369 scsi->cdb[8] = 0x00;
1370 scsi->cdb[9] = 0x00;
1371 scsi->cdb[10] = 0x00;
1372 scsi->cdb[11] = 0x00;
1373 scsi->cdb[12] = 0x00;
1374 scsi->cdb[13] = 0x20;
1375 scsi->cdb[14] = 0x00;
1376 scsi->cdb[15] = 0x00;
1378 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count);
1383 scsi->cdb[0] = 0x28;
1384 scsi->cdb[1] = 0x00;
1385 scsi->cdb[2] = 0x00;
1386 scsi->cdb[3] = 0x00;
1387 scsi->cdb[4] = 0x00;
1388 scsi->cdb[5] = 0x00;
1389 scsi->cdb[6] = 0x00;
1390 scsi->cdb[7] = 0x00;
1391 scsi->cdb[8] = 0x01;
1392 scsi->cdb[9] = 0x00;
1394 scsi->hdr.sg_list_len_bytes = cpu_to_be32(SKD_N_INTERNAL_BYTES);
1397 scsi->cdb[0] = INQUIRY;
1398 scsi->cdb[1] = 0x01; /* evpd */
1399 scsi->cdb[2] = 0x80; /* serial number page */
1400 scsi->cdb[3] = 0x00;
1401 scsi->cdb[4] = 0x10;
1402 scsi->cdb[5] = 0x00;
1404 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count);
1407 scsi->cdb[0] = INQUIRY;
1408 scsi->cdb[1] = 0x00;
1409 scsi->cdb[2] = 0x00; /* serial number page */
1410 scsi->cdb[3] = 0x00;
1411 scsi->cdb[4] = 0x24;
1412 scsi->cdb[5] = 0x00;
1414 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count);
1417 scsi->cdb[0] = SYNCHRONIZE_CACHE;
1418 scsi->cdb[1] = 0x00;
1419 scsi->cdb[2] = 0x00;
1420 scsi->cdb[3] = 0x00;
1421 scsi->cdb[4] = 0x00;
1422 scsi->cdb[5] = 0x00;
1423 scsi->cdb[6] = 0x00;
1424 scsi->cdb[7] = 0x00;
1425 scsi->cdb[8] = 0x00;
1426 scsi->cdb[9] = 0x00;
1428 scsi->hdr.sg_list_len_bytes = 0;
1481 struct skd_scsi_request *scsi =
1491 Dcmn_err(CE_NOTE, "complete internal %x", scsi->cdb[0]);
1499 Dcmn_err(CE_NOTE, "<<<<====== complete_internal: opc=%x", *scsi->cdb);
1501 switch (scsi->cdb[0]) {
1560 if (scsi->cdb[1] == 0x1) {
4475 "max-scsi-reqs", -1);
4480 "max-scsi-reqs-per-msg", -1);
4893 Dcmn_err(CE_NOTE, "%s: max-scsi-reqs: %d",
4897 Dcmn_err(CE_NOTE, "%s: max-scsi-req-per-msg: %d",