Lines Matching refs:floppy_state
176 struct floppy_state { struct
206 static struct floppy_state floppy_states[MAX_FLOPPIES]; argument
223 static void swim3_select(struct floppy_state *fs, int sel);
224 static void swim3_action(struct floppy_state *fs, int action);
225 static int swim3_readbit(struct floppy_state *fs, int bit);
227 static void start_request(struct floppy_state *fs);
228 static void set_timeout(struct floppy_state *fs, int nticks,
230 static void scan_track(struct floppy_state *fs);
231 static void seek_track(struct floppy_state *fs, int n);
233 static void setup_transfer(struct floppy_state *fs);
234 static void act(struct floppy_state *fs);
241 static int grab_drive(struct floppy_state *fs, enum swim_state state,
243 static void release_drive(struct floppy_state *fs);
244 static int fd_eject(struct floppy_state *fs);
258 static void swim3_select(struct floppy_state *fs, int sel) in swim3_select()
270 static void swim3_action(struct floppy_state *fs, int action) in swim3_action()
282 static int swim3_readbit(struct floppy_state *fs, int bit) in swim3_readbit()
306 static void start_request(struct floppy_state *fs) in start_request()
361 static void set_timeout(struct floppy_state *fs, int nticks, in set_timeout()
377 static inline void scan_track(struct floppy_state *fs) in scan_track()
390 static inline void seek_track(struct floppy_state *fs, int n) in seek_track()
420 static inline void setup_transfer(struct floppy_state *fs) in setup_transfer()
469 static void act(struct floppy_state *fs) in act()
534 struct floppy_state *fs = (struct floppy_state *) data; in scan_timeout()
554 struct floppy_state *fs = (struct floppy_state *) data; in seek_timeout()
569 struct floppy_state *fs = (struct floppy_state *) data; in settle_timeout()
593 struct floppy_state *fs = (struct floppy_state *) data; in xfer_timeout()
625 struct floppy_state *fs = (struct floppy_state *) dev_id; in swim3_interrupt()
780 static int grab_drive(struct floppy_state *fs, enum swim_state state, in grab_drive()
804 static void release_drive(struct floppy_state *fs) in release_drive()
815 static int fd_eject(struct floppy_state *fs) in fd_eject()
847 struct floppy_state *fs; in floppy_ioctl()
879 struct floppy_state *fs; in floppy_open()
957 struct floppy_state *fs; in floppy_release()
976 struct floppy_state *fs; in floppy_check_change()
988 struct floppy_state *fs; in floppy_revalidate()
1084 struct floppy_state *fs = &floppy_states[floppy_count]; in swim3_add_device()