Lines Matching refs:floppy_state
175 struct floppy_state { struct
218 static struct floppy_state floppy_states[MAX_FLOPPIES]; argument
236 static void seek_track(struct floppy_state *fs, int n);
238 static void act(struct floppy_state *fs);
245 static int grab_drive(struct floppy_state *fs, enum swim_state state,
247 static void release_drive(struct floppy_state *fs);
248 static int fd_eject(struct floppy_state *fs);
257 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request()
273 static void swim3_select(struct floppy_state *fs, int sel) in swim3_select()
285 static void swim3_action(struct floppy_state *fs, int action) in swim3_action()
297 static int swim3_readbit(struct floppy_state *fs, int bit) in swim3_readbit()
311 struct floppy_state *fs = hctx->queue->queuedata; in swim3_queue_rq()
362 static void set_timeout(struct floppy_state *fs, int nticks, in set_timeout()
373 static inline void scan_track(struct floppy_state *fs) in scan_track()
386 static inline void seek_track(struct floppy_state *fs, int n) in seek_track()
416 static inline void setup_transfer(struct floppy_state *fs) in setup_transfer()
470 static void act(struct floppy_state *fs) in act()
541 struct floppy_state *fs = from_timer(fs, t, timeout); in scan_timeout()
565 struct floppy_state *fs = from_timer(fs, t, timeout); in seek_timeout()
584 struct floppy_state *fs = from_timer(fs, t, timeout); in settle_timeout()
613 struct floppy_state *fs = from_timer(fs, t, timeout); in xfer_timeout()
640 struct floppy_state *fs = (struct floppy_state *) dev_id; in swim3_interrupt()
793 static int grab_drive(struct floppy_state *fs, enum swim_state state, in grab_drive()
823 static void release_drive(struct floppy_state *fs) in release_drive()
840 static int fd_eject(struct floppy_state *fs) in fd_eject()
871 struct floppy_state *fs = bdev->bd_disk->private_data; in floppy_locked_ioctl()
910 struct floppy_state *fs = bdev->bd_disk->private_data; in floppy_open()
991 struct floppy_state *fs = disk->private_data; in floppy_release()
1010 struct floppy_state *fs = disk->private_data; in floppy_check_events()
1016 struct floppy_state *fs = disk->private_data; in floppy_revalidate()
1067 struct floppy_state *fs = macio_get_drvdata(mdev); in swim3_mb_event()
1087 struct floppy_state *fs = &floppy_states[index]; in swim3_add_device()
1175 struct floppy_state *fs; in swim3_attach()