Home
last modified time | relevance | path

Searched refs:STp (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dosst.c183 static int osst_int_ioctl(struct osst_tape *STp, struct osst_request ** aSRpnt,
186 static int osst_set_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt, int frame,…
188 static int osst_get_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt);
190 static int osst_flush_write_buffer(struct osst_tape *STp, struct osst_request ** aSRpnt);
192 static int osst_write_error_recovery(struct osst_tape * STp, struct osst_request ** aSRpnt, int pen…
235 static int osst_chk_result(struct osst_tape * STp, struct osst_request * SRpnt) in osst_chk_result() argument
237 char *name = tape_name(STp); in osst_chk_result()
248 cmdstatp = &STp->buffer->cmdstat; in osst_chk_result()
252 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in osst_chk_result()
296 STp->pos_unknown |= STp->device->was_reset; in osst_chk_result()
[all …]
Dst.c238 struct scsi_tape *STp = NULL; in scsi_tape_get() local
244 STp = scsi_tapes[dev]; in scsi_tape_get()
245 if (!STp) goto out; in scsi_tape_get()
247 kref_get(&STp->kref); in scsi_tape_get()
249 if (!STp->device) in scsi_tape_get()
252 if (scsi_device_get(STp->device)) in scsi_tape_get()
258 kref_put(&STp->kref, scsi_tape_release); in scsi_tape_get()
259 STp = NULL; in scsi_tape_get()
263 return STp; in scsi_tape_get()
266 static void scsi_tape_put(struct scsi_tape *STp) in scsi_tape_put() argument
[all …]
D53c700.c1994 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument
1996 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
2006 spi_period(STp) = period; in NCR_700_set_period()
2007 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
2009 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
2013 NCR_700_set_offset(struct scsi_target *STp, int offset) in NCR_700_set_offset() argument
2015 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
2028 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period || in NCR_700_set_offset()
2029 spi_period(STp) > 0xff)) in NCR_700_set_offset()
2030 spi_period(STp) = hostdata->min_period; in NCR_700_set_offset()
[all …]
/linux-3.4.99/Documentation/scsi/
DChangeLog.1992-19971102 * st.c: Initialize STp->device.