Home
last modified time | relevance | path

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

/linux-4.1.27/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()
264 __scsi_print_sense(STp->device, name, in osst_chk_result()
[all …]
Dst.c243 struct scsi_tape *STp = NULL; in scsi_tape_get() local
248 STp = idr_find(&st_index_idr, dev); in scsi_tape_get()
249 if (!STp) goto out; in scsi_tape_get()
251 kref_get(&STp->kref); in scsi_tape_get()
253 if (!STp->device) in scsi_tape_get()
256 if (scsi_device_get(STp->device)) in scsi_tape_get()
262 kref_put(&STp->kref, scsi_tape_release); in scsi_tape_get()
263 STp = NULL; in scsi_tape_get()
267 return STp; in scsi_tape_get()
270 static void scsi_tape_put(struct scsi_tape *STp) in scsi_tape_put() argument
[all …]
D53c700.c1989 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument
1991 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
2001 spi_period(STp) = period; in NCR_700_set_period()
2002 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
2004 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
2008 NCR_700_set_offset(struct scsi_target *STp, int offset) in NCR_700_set_offset() argument
2010 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
2023 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period || in NCR_700_set_offset()
2024 spi_period(STp) > 0xff)) in NCR_700_set_offset()
2025 spi_period(STp) = hostdata->min_period; in NCR_700_set_offset()
[all …]
/linux-4.1.27/Documentation/scsi/
DChangeLog.1992-19971102 * st.c: Initialize STp->device.