Lines Matching refs:tape_device

109 struct tape_device;
124 struct tape_device *device; /* tape device of this request */
141 typedef int (*tape_mtop_fn)(struct tape_device *, int);
149 int (*setup_device)(struct tape_device *);
150 void (*cleanup_device)(struct tape_device *);
151 int (*irq)(struct tape_device *, struct tape_request *, struct irb *);
152 struct tape_request *(*read_block)(struct tape_device *, size_t);
153 struct tape_request *(*write_block)(struct tape_device *, size_t);
154 void (*process_eov)(struct tape_device*);
156 int (*ioctl_fn)(struct tape_device *, unsigned int, unsigned long);
178 struct tape_device { struct
235 extern int tape_do_io(struct tape_device *, struct tape_request *); argument
236 extern int tape_do_io_async(struct tape_device *, struct tape_request *);
237 extern int tape_do_io_interruptible(struct tape_device *, struct tape_request *);
238 extern int tape_cancel_io(struct tape_device *, struct tape_request *);
239 void tape_hotplug_event(struct tape_device *, int major, int action);
242 tape_do_io_free(struct tape_device *device, struct tape_request *request) in tape_do_io_free()
252 tape_do_io_async_free(struct tape_device *device, struct tape_request *request) in tape_do_io_async_free()
261 extern int tape_open(struct tape_device *);
262 extern int tape_release(struct tape_device *);
263 extern int tape_mtop(struct tape_device *, int, int);
264 extern void tape_state_set(struct tape_device *, enum tape_state);
266 extern int tape_generic_online(struct tape_device *, struct tape_discipline *);
274 extern struct tape_device *tape_find_device(int devindex);
275 extern struct tape_device *tape_get_device(struct tape_device *);
276 extern void tape_put_device(struct tape_device *);
281 extern int tapechar_setup_device(struct tape_device *);
282 extern void tapechar_cleanup_device(struct tape_device *);
294 extern void tape_dump_sense_dbf(struct tape_device *, struct tape_request *,
298 extern void tape_med_state_set(struct tape_device *, enum tape_medium_state);