Lines Matching defs:pt_unit
216 struct pt_unit {
230 static int pt_identify(struct pt_unit *tape);
232 static struct pt_unit pt[PT_UNITS];
267 static inline u8 DRIVE(struct pt_unit *tape)
272 static int pt_wait(struct pt_unit *tape, int go, int stop, char *fun, char *msg)
297 static int pt_command(struct pt_unit *tape, char *cmd, int dlen, char *fun)
329 static int pt_completion(struct pt_unit *tape, char *buf, char *fun)
354 static void pt_req_sense(struct pt_unit *tape, int quiet)
375 static int pt_atapi(struct pt_unit *tape, char *cmd, int dlen, char *buf, char *fun)
394 static int pt_poll_dsc(struct pt_unit *tape, int pause, int tmo, char *msg)
425 static void pt_media_access_cmd(struct pt_unit *tape, int tmo, char *cmd, char *fun)
435 static void pt_rewind(struct pt_unit *tape)
442 static void pt_write_fm(struct pt_unit *tape)
451 static int pt_reset(struct pt_unit *tape)
484 static int pt_ready_wait(struct pt_unit *tape, int tmo)
528 static int pt_identify(struct pt_unit *tape)
588 static int pt_probe(struct pt_unit *tape)
603 struct pt_unit *tape;
617 struct pt_unit *tape = &pt[unit];
662 struct pt_unit *tape = pt + unit;
707 struct pt_unit *tape = file->private_data;
745 struct pt_unit *tape = file->private_data;
767 struct pt_unit *tape = filp->private_data;
864 struct pt_unit *tape = filp->private_data;