Searched refs:STp (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | osst.c | 176 static int osst_int_ioctl(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, unsigned int cmd_in,unsigned l… 178 static int osst_set_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt, int frame, int skip); 180 static int osst_get_frame_position(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt); 182 static int osst_flush_write_buffer(OS_Scsi_Tape *STp, Scsi_Request ** aSRpnt); 184 static int osst_write_error_recovery(OS_Scsi_Tape * STp, Scsi_Request ** aSRpnt, int pending); 190 static int osst_chk_result(OS_Scsi_Tape * STp, Scsi_Request * SRpnt) in osst_chk_result() argument 192 int dev = TAPE_NR(STp->devt); in osst_chk_result() 253 STp->recover_count++; in osst_chk_result() 254 STp->recover_erreg++; in osst_chk_result() 278 OS_Scsi_Tape * STp; in osst_sleep_done() local [all …]
|
D | st.c | 234 static int st_chk_result(Scsi_Tape *STp, Scsi_Request * SRpnt) in st_chk_result() argument 283 if (STp->cln_mode >= EXTENDED_SENSE_START) { in st_chk_result() 284 if (STp->cln_sense_value) in st_chk_result() 285 STp->cleaning_req |= ((SRpnt->sr_sense_buffer[STp->cln_mode] & in st_chk_result() 286 STp->cln_sense_mask) == STp->cln_sense_value); in st_chk_result() 288 STp->cleaning_req |= ((SRpnt->sr_sense_buffer[STp->cln_mode] & in st_chk_result() 289 STp->cln_sense_mask) != 0); in st_chk_result() 292 STp->cleaning_req = 1; in st_chk_result() 301 STp->recover_count++; in st_chk_result() 302 STp->recover_reg++; in st_chk_result() [all …]
|
D | ChangeLog | 1102 * st.c: Initialize STp->device.
|