Lines Matching defs:mscp
178 struct mscp { struct
179 unsigned char opcode: 3; /* type of command */
180 unsigned char xdir: 2; /* data transfer direction */
181 unsigned char dcn: 1; /* disable disconnect */
182 unsigned char ca: 1; /* use cache (if available) */
183 unsigned char sg: 1; /* scatter/gather operation */
184 unsigned char target_id: 3; /* target SCSI id */
185 unsigned char ch_no: 2; /* SCSI channel (always 0 for 14f) */
186 unsigned char lun: 3; /* logical unit number */
187 unsigned int transfer_data PACKED; /* transfer data pointer */
188 unsigned int transfer_data_length PACKED; /* length in bytes */
189 unsigned int command_link PACKED; /* for linking command chains */
190 unsigned char scsi_command_link_id; /* identifies command in chain */
191 unsigned char number_of_sg_list; /* (if sg is set) 8 bytes per list */
192 unsigned char length_of_sense_byte;
193 unsigned char length_of_scsi_cdbs; /* 6, 10, or 12 */
194 unsigned char scsi_cdbs[12]; /* SCSI commands */
195 unsigned char adapter_status; /* non-zero indicates HA error */
196 unsigned char target_status; /* non-zero indicates target error */
197 u32 sense_data PACKED;
200 void (*done) (struct scsi_cmnd *);
201 struct scsi_cmnd *SCint;
202 ultrastor_sg_list sglist[ULTRASTOR_24F_MAX_SG]; /* use larger size for 24F */
259 struct mscp mscp[ULTRASTOR_MAX_CMDS]; member
684 static inline void build_sg_list(struct mscp *mscp, struct scsi_cmnd *SCpnt) in build_sg_list()
1057 struct mscp *mscp; in ultrastor_interrupt() local