Lines Matching refs:tape_device

110 struct tape_device;
125 struct tape_device *device; /* tape device of this request */
143 typedef int (*tape_mtop_fn)(struct tape_device *, int);
151 int (*setup_device)(struct tape_device *);
152 void (*cleanup_device)(struct tape_device *);
153 int (*irq)(struct tape_device *, struct tape_request *, struct irb *);
154 struct tape_request *(*read_block)(struct tape_device *, size_t);
155 struct tape_request *(*write_block)(struct tape_device *, size_t);
156 void (*process_eov)(struct tape_device*);
158 int (*ioctl_fn)(struct tape_device *, unsigned int, unsigned long);
180 struct tape_device { struct
237 extern int tape_do_io(struct tape_device *, struct tape_request *); argument
238 extern int tape_do_io_async(struct tape_device *, struct tape_request *);
239 extern int tape_do_io_interruptible(struct tape_device *, struct tape_request *);
240 extern int tape_cancel_io(struct tape_device *, struct tape_request *);
243 tape_do_io_free(struct tape_device *device, struct tape_request *request) in tape_do_io_free()
253 tape_do_io_async_free(struct tape_device *device, struct tape_request *request) in tape_do_io_async_free()
260 extern int tape_open(struct tape_device *);
261 extern int tape_release(struct tape_device *);
262 extern int tape_mtop(struct tape_device *, int, int);
263 extern void tape_state_set(struct tape_device *, enum tape_state);
265 extern int tape_generic_online(struct tape_device *, struct tape_discipline *);
272 extern struct tape_device *tape_find_device(int devindex);
273 extern struct tape_device *tape_get_device(struct tape_device *);
274 extern void tape_put_device(struct tape_device *);
279 extern int tapechar_setup_device(struct tape_device *);
280 extern void tapechar_cleanup_device(struct tape_device *);
292 extern void tape_dump_sense_dbf(struct tape_device *, struct tape_request *,
296 extern void tape_med_state_set(struct tape_device *, enum tape_medium_state);