Lines Matching refs:cdb
147 unsigned char *cdb, int use_sg,
285 unsigned char cdb[TW_MAX_CDB_LEN]; in twa_aen_drain_queue() local
302 memset(&cdb, 0, TW_MAX_CDB_LEN); in twa_aen_drain_queue()
303 cdb[0] = REQUEST_SENSE; /* opcode */ in twa_aen_drain_queue()
304 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twa_aen_drain_queue()
321 if (twa_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twa_aen_drain_queue()
430 unsigned char cdb[TW_MAX_CDB_LEN]; in twa_aen_read_queue() local
439 memset(&cdb, 0, TW_MAX_CDB_LEN); in twa_aen_read_queue()
440 cdb[0] = REQUEST_SENSE; /* opcode */ in twa_aen_read_queue()
441 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twa_aen_read_queue()
452 if (twa_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twa_aen_read_queue()
1799 unsigned char *cdb, int use_sg, in DEF_SCSI_QCMD()
1824 if (!cdb) in DEF_SCSI_QCMD()
1825 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in DEF_SCSI_QCMD()
1827 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in DEF_SCSI_QCMD()