Searched refs:STp (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A 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, int skip);
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 pending);
236 static int osst_chk_result(struct osst_tape * STp, struct osst_request * SRpnt)
238 char *name = tape_name(STp);
249 cmdstatp = &STp->buffer->cmdstat;
253 scode = STp->buffer->cmdstat.sense_hdr.sense_key;
297 STp
235 osst_chk_result(struct osst_tape * STp, struct osst_request * SRpnt) argument
324 struct osst_tape *STp = SRpnt->stp; local
424 osst_do_scsi(struct osst_request *SRpnt, struct osst_tape *STp, unsigned char *cmd, int bytes, int direction, int timeout, int retries, int do_wait) argument
508 osst_write_behind_check(struct osst_tape *STp) argument
549 osst_init_aux(struct osst_tape * STp, int frame_type, int frame_seq_number, int logical_blk_num, int blk_sz, int blk_cnt) argument
611 osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int quiet) argument
747 osst_wait_ready(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned timeout, int initial_delay) argument
812 osst_wait_for_medium(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned timeout) argument
867 osst_position_tape_and_confirm(struct osst_tape * STp, struct osst_request ** aSRpnt, int frame) argument
881 osst_flush_drive_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
915 osst_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int curr, int minlast, int to) argument
970 osst_recover_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int writing) argument
1028 osst_read_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int timeout) argument
1099 osst_initiate_read(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
1136 osst_get_logical_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int frame_seq_number, int quiet) argument
1265 osst_seek_logical_blk(struct osst_tape * STp, struct osst_request ** aSRpnt, int logical_blk_num) argument
1374 osst_get_sector(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
1404 osst_seek_sector(struct osst_tape * STp, struct osst_request ** aSRpnt, int sector) argument
1467 osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned int frame, unsigned int skip, int pending) argument
1665 osst_reposition_and_retry(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned int frame, unsigned int skip, int pending) argument
1768 osst_write_error_recovery(struct osst_tape * STp, struct osst_request ** aSRpnt, int pending) argument
1847 osst_space_over_filemarks_backward(struct osst_tape * STp, struct osst_request ** aSRpnt, int mt_op, int mt_count) argument
1946 osst_space_over_filemarks_forward_slow(struct osst_tape * STp, struct osst_request ** aSRpnt, int mt_op, int mt_count) argument
2000 osst_space_over_filemarks_forward_fast(struct osst_tape * STp, struct osst_request ** aSRpnt, int mt_op, int mt_count) argument
2151 osst_set_retries(struct osst_tape * STp, struct osst_request ** aSRpnt, int retries) argument
2183 osst_write_filemark(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
2211 osst_write_eod(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
2234 osst_write_filler(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, int count) argument
2259 __osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int where, int count) argument
2286 osst_write_header(struct osst_tape * STp, struct osst_request ** aSRpnt, int locate_eod) argument
2360 osst_reset_header(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
2373 __osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt, int ppos) argument
2550 osst_analyze_headers(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
2605 osst_verify_position(struct osst_tape * STp, struct osst_request ** aSRpnt) argument
2681 osst_configure_onstream(struct osst_tape *STp, struct osst_request ** aSRpnt) argument
2852 cross_eof(struct osst_tape *STp, struct osst_request ** aSRpnt, int forward) argument
2881 osst_get_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt) argument
2965 osst_set_frame_position(struct osst_tape *STp, struct osst_request ** aSRpnt, int ppos, int skip) argument
3023 osst_write_trailer(struct osst_tape *STp, struct osst_request ** aSRpnt, int leave_at_EOT) argument
3050 osst_flush_write_buffer(struct osst_tape *STp, struct osst_request ** aSRpnt) argument
3180 osst_flush_buffer(struct osst_tape * STp, struct osst_request ** aSRpnt, int seek_next) argument
3242 osst_write_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int synchronous) argument
3326 do_door_lock(struct osst_tape * STp, int do_lock) argument
3345 reset_state(struct osst_tape *STp) argument
3376 struct osst_tape * STp = filp->private_data; local
3697 struct osst_tape * STp = filp->private_data; local
3873 osst_log_options(struct osst_tape *STp, struct st_modedef *STm, char *name) argument
3896 osst_set_options(struct osst_tape *STp, long options) argument
4052 osst_int_ioctl(struct osst_tape * STp, struct osst_request ** aSRpnt, unsigned int cmd_in, unsigned long arg) argument
4444 struct osst_tape * STp; local
4821 struct osst_tape * STp = filp->private_data; local
4914 struct osst_tape * STp = filp->private_data; local
4941 struct osst_tape * STp = file->private_data; local
5277 struct osst_tape *STp = file->private_data; local
5683 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5697 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5710 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5724 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5738 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5751 struct osst_tape * STp = (struct osst_tape *) dev_get_drvdata (dev); local
5779 osst_sysfs_add(dev_t dev, struct device *device, struct osst_tape * STp, char * name) argument
6065 struct osst_tape * STp; local
[all...]
H A Dst.c240 struct scsi_tape *STp = NULL;
246 STp = scsi_tapes[dev];
247 if (!STp) goto out;
249 kref_get(&STp->kref);
251 if (!STp->device)
254 if (scsi_device_get(STp->device))
260 kref_put(&STp->kref, scsi_tape_release);
261 STp = NULL;
265 return STp;
268 static void scsi_tape_put(struct scsi_tape *STp)
239 struct scsi_tape *STp = NULL; local
267 scsi_tape_put(struct scsi_tape *STp) argument
346 st_chk_result(struct scsi_tape *STp, struct st_request * SRpnt) argument
463 struct scsi_tape *STp = SRpnt->stp; local
521 st_do_scsi(struct st_request * SRpnt, struct scsi_tape * STp, unsigned char *cmd, int bytes, int direction, int timeout, int retries, int do_wait) argument
590 write_behind_check(struct scsi_tape * STp) argument
653 cross_eof(struct scsi_tape * STp, int forward) argument
688 st_flush_write_buffer(struct scsi_tape * STp) argument
757 flush_buffer(struct scsi_tape *STp, int seek_next) argument
812 set_mode_densblk(struct scsi_tape * STp, struct st_modedef * STm) argument
846 do_door_lock(struct scsi_tape * STp, int do_lock) argument
867 reset_state(struct scsi_tape *STp) argument
899 test_ready(struct scsi_tape *STp, int do_wait) argument
973 check_tape(struct scsi_tape *STp, struct file *filp) argument
1177 struct scsi_tape *STp; local
1270 struct scsi_tape *STp = filp->private_data; local
1382 struct scsi_tape *STp = filp->private_data; local
1397 rw_checks(struct scsi_tape *STp, struct file *filp, size_t count) argument
1464 setup_buffering(struct scsi_tape *STp, const char __user *buf, size_t count, int is_read) argument
1525 release_buffering(struct scsi_tape *STp, int is_read) argument
1550 struct scsi_tape *STp = filp->private_data; local
1820 read_tape(struct scsi_tape *STp, long count, struct st_request ** aSRpnt) argument
2015 struct scsi_tape *STp = filp->private_data; local
2181 st_set_options(struct scsi_tape *STp, long options) argument
2374 read_mode_page(struct scsi_tape *STp, int page, int omit_block_descs) argument
2399 write_mode_page(struct scsi_tape *STp, int page, int slow) argument
2448 st_compression(struct scsi_tape * STp, int state) argument
2502 do_load_unload(struct scsi_tape *STp, struct file *filp, int load_code) argument
2592 st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned long arg) argument
2989 get_location(struct scsi_tape *STp, unsigned int *block, int *partition, int logical) argument
3050 set_location(struct scsi_tape *STp, unsigned int block, int partition, int logical) argument
3153 find_partition(struct scsi_tape *STp) argument
3167 switch_partition(struct scsi_tape *STp) argument
3195 nbr_partitions(struct scsi_tape *STp) argument
3238 partition_tape(struct scsi_tape *STp, int size) argument
3305 struct scsi_tape *STp = file->private_data; local
3656 struct scsi_tape *STp = file->private_data; local
4434 struct scsi_tape *STp; local
4471 do_create_class_files(struct scsi_tape *STp, int dev_num, int mode) argument
[all...]
H A D53c700.c1962 NCR_700_set_period(struct scsi_target *STp, int period) argument
1964 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent);
1974 spi_period(STp) = period;
1975 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC |
1977 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION;
1981 NCR_700_set_offset(struct scsi_target *STp, int offset) argument
1983 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent);
1996 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period ||
1997 spi_period(STp) >
[all...]

Completed in 132 milliseconds