Lines Matching defs:drive
142 ide_drive_t *drive; member
257 ide_drive_t *drive = tape->drive; in ide_tape_put() local
269 static void idetape_analyze_error(ide_drive_t *drive) in idetape_analyze_error()
327 static int ide_tape_callback(ide_drive_t *drive, int dsc) in ide_tape_callback()
379 static void ide_tape_stall_queue(ide_drive_t *drive) in ide_tape_stall_queue()
391 static void ide_tape_handle_dsc(ide_drive_t *drive) in ide_tape_handle_dsc()
440 static ide_startstop_t ide_tape_issue_pc(ide_drive_t *drive, in ide_tape_issue_pc()
516 static ide_startstop_t idetape_media_access_finished(ide_drive_t *drive) in idetape_media_access_finished()
567 static ide_startstop_t idetape_do_request(ide_drive_t *drive, in idetape_do_request()
675 static void idetape_create_write_filemark_cmd(ide_drive_t *drive, in idetape_create_write_filemark_cmd()
684 static int idetape_wait_ready(ide_drive_t *drive, unsigned long timeout) in idetape_wait_ready()
712 static int idetape_flush_tape_buffers(ide_drive_t *drive) in idetape_flush_tape_buffers()
726 static int ide_tape_read_position(ide_drive_t *drive) in ide_tape_read_position()
768 static void idetape_create_locate_cmd(ide_drive_t *drive, in idetape_create_locate_cmd()
780 static void __ide_tape_discard_merge_buffer(ide_drive_t *drive) in __ide_tape_discard_merge_buffer()
803 static int idetape_position_tape(ide_drive_t *drive, unsigned int block, in idetape_position_tape()
825 static void ide_tape_discard_merge_buffer(ide_drive_t *drive, in ide_tape_discard_merge_buffer()
847 static int idetape_queue_rw_tail(ide_drive_t *drive, int cmd, int size) in idetape_queue_rw_tail()
897 static void idetape_create_rewind_cmd(ide_drive_t *drive, in idetape_create_rewind_cmd()
922 static void ide_tape_flush_merge_buffer(ide_drive_t *drive) in ide_tape_flush_merge_buffer()
942 static int idetape_init_rw(ide_drive_t *drive, int dir) in idetape_init_rw()
992 static void idetape_pad_zeros(ide_drive_t *drive, int bcount) in idetape_pad_zeros()
1010 static int idetape_rewind_tape(ide_drive_t *drive) in idetape_rewind_tape()
1031 static int idetape_blkdev_ioctl(ide_drive_t *drive, unsigned int cmd, in idetape_blkdev_ioctl()
1064 static int idetape_space_over_filemarks(ide_drive_t *drive, short mt_op, in idetape_space_over_filemarks()
1134 ide_drive_t *drive = tape->drive; in idetape_chrdev_read() local
1189 ide_drive_t *drive = tape->drive; in idetape_chrdev_write() local
1228 static int idetape_write_filemark(ide_drive_t *drive) in idetape_write_filemark()
1255 static int idetape_mtioctop(ide_drive_t *drive, short mt_op, int mt_count) in idetape_mtioctop()
1375 ide_drive_t *drive = tape->drive; in do_idetape_chrdev_ioctl() local
1452 static void ide_tape_get_bsize_from_bdesc(ide_drive_t *drive) in ide_tape_get_bsize_from_bdesc()
1480 ide_drive_t *drive; in idetape_chrdev_open() local
1562 static void idetape_write_release(ide_drive_t *drive, unsigned int minor) in idetape_write_release()
1582 ide_drive_t *drive = tape->drive; in idetape_chrdev_release() local
1616 static void idetape_get_inquiry_results(ide_drive_t *drive) in idetape_get_inquiry_results()
1645 static void idetape_get_mode_sense_results(ide_drive_t *drive) in idetape_get_mode_sense_results()
1721 static int mulf_tdsc(ide_drive_t *drive) { return 1000; } in mulf_tdsc()
1722 static int divf_tdsc(ide_drive_t *drive) { return HZ; } in divf_tdsc()
1723 static int divf_buffer(ide_drive_t *drive) { return 2; } in divf_buffer()
1724 static int divf_buffer_size(ide_drive_t *drive) { return 1024; } in divf_buffer_size()
1758 static void idetape_setup(ide_drive_t *drive, idetape_tape_t *tape, int minor) in idetape_setup()
1819 static void ide_tape_remove(ide_drive_t *drive) in ide_tape_remove()
1835 ide_drive_t *drive = tape->drive; in ide_tape_release() local
1854 ide_drive_t *drive = (ide_drive_t *) m->private; in idetape_name_proc_show() local
1867 static ide_proc_entry_t *ide_tape_proc_entries(ide_drive_t *drive) in ide_tape_proc_entries()
1872 static const struct ide_proc_devset *ide_tape_proc_devsets(ide_drive_t *drive) in ide_tape_proc_devsets()
1936 ide_drive_t *drive = tape->drive; in idetape_ioctl() local
1966 static int ide_tape_probe(ide_drive_t *drive) in ide_tape_probe()