Lines Matching refs:cdb
293 unsigned char *cdb, int use_sg, 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 unsigned 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()
558 unsigned char cdb[TW_MAX_CDB_LEN]; in twl_aen_drain_queue() local
575 memset(&cdb, 0, TW_MAX_CDB_LEN); in twl_aen_drain_queue()
576 cdb[0] = REQUEST_SENSE; /* opcode */ in twl_aen_drain_queue()
577 cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ in twl_aen_drain_queue()
589 if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { in twl_aen_drain_queue()