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 *);
241 void tape_hotplug_event(struct tape_device *, int major, int action);
244 tape_do_io_free(struct tape_device *device, struct tape_request *request) in tape_do_io_free()
254 tape_do_io_async_free(struct tape_device *device, struct tape_request *request) in tape_do_io_async_free()
263 extern int tape_open(struct tape_device *);
264 extern int tape_release(struct tape_device *);
265 extern int tape_mtop(struct tape_device *, int, int);
266 extern void tape_state_set(struct tape_device *, enum tape_state);
268 extern int tape_generic_online(struct tape_device *, struct tape_discipline *);
276 extern struct tape_device *tape_find_device(int devindex);
277 extern struct tape_device *tape_get_device(struct tape_device *);
278 extern void tape_put_device(struct tape_device *);
283 extern int tapechar_setup_device(struct tape_device *);
284 extern void tapechar_cleanup_device(struct tape_device *);
296 extern void tape_dump_sense_dbf(struct tape_device *, struct tape_request *,
300 extern void tape_med_state_set(struct tape_device *, enum tape_medium_state);