Lines Matching refs:floppy_state
179 struct floppy_state { struct
221 static struct floppy_state floppy_states[MAX_FLOPPIES]; argument
239 static void seek_track(struct floppy_state *fs, int n);
241 static void act(struct floppy_state *fs);
248 static int grab_drive(struct floppy_state *fs, enum swim_state state,
250 static void release_drive(struct floppy_state *fs);
251 static int fd_eject(struct floppy_state *fs);
260 static bool swim3_end_request(struct floppy_state *fs, int err, unsigned int nr_bytes) in swim3_end_request()
277 static void swim3_select(struct floppy_state *fs, int sel) in swim3_select()
289 static void swim3_action(struct floppy_state *fs, int action) in swim3_action()
301 static int swim3_readbit(struct floppy_state *fs, int bit) in swim3_readbit()
312 static void start_request(struct floppy_state *fs) in start_request()
394 static void set_timeout(struct floppy_state *fs, int nticks, in set_timeout()
406 static inline void scan_track(struct floppy_state *fs) in scan_track()
419 static inline void seek_track(struct floppy_state *fs, int n) in seek_track()
449 static inline void setup_transfer(struct floppy_state *fs) in setup_transfer()
503 static void act(struct floppy_state *fs) in act()
574 struct floppy_state *fs = (struct floppy_state *) data; in scan_timeout()
599 struct floppy_state *fs = (struct floppy_state *) data; in seek_timeout()
619 struct floppy_state *fs = (struct floppy_state *) data; in settle_timeout()
649 struct floppy_state *fs = (struct floppy_state *) data; in xfer_timeout()
677 struct floppy_state *fs = (struct floppy_state *) dev_id; in swim3_interrupt()
834 static int grab_drive(struct floppy_state *fs, enum swim_state state, in grab_drive()
864 static void release_drive(struct floppy_state *fs) in release_drive()
876 static int fd_eject(struct floppy_state *fs) in fd_eject()
907 struct floppy_state *fs = bdev->bd_disk->private_data; in floppy_locked_ioctl()
946 struct floppy_state *fs = bdev->bd_disk->private_data; in floppy_open()
1026 struct floppy_state *fs = disk->private_data; in floppy_release()
1041 struct floppy_state *fs = disk->private_data; in floppy_check_events()
1047 struct floppy_state *fs = disk->private_data; in floppy_revalidate()
1095 struct floppy_state *fs = macio_get_drvdata(mdev); in swim3_mb_event()
1115 struct floppy_state *fs = &floppy_states[index]; in swim3_add_device()