Lines Matching refs:cdb
294 static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_… in twl_scsiop_execute_scsi() argument
320 if (!cdb) in twl_scsiop_execute_scsi()
321 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
323 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
379 char cdb[TW_MAX_CDB_LEN]; in twl_aen_read_queue() local
388 memset(&cdb, 0, TW_MAX_CDB_LEN); in twl_aen_read_queue()
389 cdb[0] = REQUEST_SENSE; /* opcode */ in twl_aen_read_queue()
390 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twl_aen_read_queue()
401 if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twl_aen_read_queue()
563 char cdb[TW_MAX_CDB_LEN]; in twl_aen_drain_queue() local
580 memset(&cdb, 0, TW_MAX_CDB_LEN); in twl_aen_drain_queue()
581 cdb[0] = REQUEST_SENSE; /* opcode */ in twl_aen_drain_queue()
582 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twl_aen_drain_queue()
594 if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twl_aen_drain_queue()