Lines Matching refs:cdb
291 static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_… in twl_scsiop_execute_scsi() argument
317 if (!cdb) in twl_scsiop_execute_scsi()
318 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
320 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
376 char cdb[TW_MAX_CDB_LEN]; in twl_aen_read_queue() local
385 memset(&cdb, 0, TW_MAX_CDB_LEN); in twl_aen_read_queue()
386 cdb[0] = REQUEST_SENSE; /* opcode */ in twl_aen_read_queue()
387 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twl_aen_read_queue()
398 if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twl_aen_read_queue()
560 char cdb[TW_MAX_CDB_LEN]; in twl_aen_drain_queue() local
577 memset(&cdb, 0, TW_MAX_CDB_LEN); in twl_aen_drain_queue()
578 cdb[0] = REQUEST_SENSE; /* opcode */ in twl_aen_drain_queue()
579 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twl_aen_drain_queue()
591 if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twl_aen_drain_queue()