Lines Matching +defs:fs +defs:err
256 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request()
272 static void swim3_select(struct floppy_state *fs, int sel) in swim3_select()
284 static void swim3_action(struct floppy_state *fs, int action) in swim3_action()
296 static int swim3_readbit(struct floppy_state *fs, int bit) in swim3_readbit()
310 struct floppy_state *fs = hctx->queue->queuedata; in swim3_queue_rq() local
361 static void set_timeout(struct floppy_state *fs, int nticks, in set_timeout()
372 static inline void scan_track(struct floppy_state *fs) in scan_track()
385 static inline void seek_track(struct floppy_state *fs, int n) in seek_track()
431 static inline void setup_transfer(struct floppy_state *fs) in setup_transfer()
487 static void act(struct floppy_state *fs) in act()
558 struct floppy_state *fs = from_timer(fs, t, timeout); in scan_timeout() local
582 struct floppy_state *fs = from_timer(fs, t, timeout); in seek_timeout() local
601 struct floppy_state *fs = from_timer(fs, t, timeout); in settle_timeout() local
630 struct floppy_state *fs = from_timer(fs, t, timeout); in xfer_timeout() local
657 struct floppy_state *fs = (struct floppy_state *) dev_id; in swim3_interrupt() local
659 int intr, err, n; in swim3_interrupt() local
810 static int grab_drive(struct floppy_state *fs, enum swim_state state, in grab_drive()
840 static void release_drive(struct floppy_state *fs) in release_drive()
858 static int fd_eject(struct floppy_state *fs) in fd_eject()
860 int err, n; in fd_eject() local
889 struct floppy_state *fs = bdev->bd_disk->private_data; in floppy_locked_ioctl() local
890 int err; in floppy_locked_ioctl() local
928 struct floppy_state *fs = disk->private_data; in floppy_open() local
930 int n, err = 0; in floppy_open() local
1009 struct floppy_state *fs = disk->private_data; in floppy_release() local
1028 struct floppy_state *fs = disk->private_data; in floppy_check_events() local
1034 struct floppy_state *fs = disk->private_data; in floppy_revalidate() local
1085 struct floppy_state *fs = macio_get_drvdata(mdev); in swim3_mb_event() local
1105 struct floppy_state *fs = &floppy_states[index]; in swim3_add_device() local
1196 struct floppy_state *fs; in swim3_attach() local