floppy_state
struct floppy_state unit[FD_MAX_UNIT];
static inline int swim_track(struct floppy_state *fs, int track)
static int floppy_eject(struct floppy_state *fs)
static inline int swim_read_sector(struct floppy_state *fs,
static blk_status_t floppy_read_sectors(struct floppy_state *fs,
struct floppy_state *fs = hctx->queue->queuedata;
static int get_floppy_geometry(struct floppy_state *fs, int type,
static void setup_medium(struct floppy_state *fs)
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = bdev->bd_disk->private_data;
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = &swd->unit[swd->floppy_count];
static void swim_cleanup_floppy_disk(struct floppy_state *fs)
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = disk->private_data;
struct floppy_state *fs = macio_get_drvdata(mdev);
struct floppy_state *fs = &floppy_states[index];
struct floppy_state *fs;
static struct floppy_state floppy_states[MAX_FLOPPIES];
static void seek_track(struct floppy_state *fs, int n);
static void act(struct floppy_state *fs);
static int grab_drive(struct floppy_state *fs, enum swim_state state,
static void release_drive(struct floppy_state *fs);
static int fd_eject(struct floppy_state *fs);
static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes)
static void swim3_select(struct floppy_state *fs, int sel)
static void swim3_action(struct floppy_state *fs, int action)
static int swim3_readbit(struct floppy_state *fs, int bit)
struct floppy_state *fs = hctx->queue->queuedata;
static void set_timeout(struct floppy_state *fs, int nticks,
static inline void scan_track(struct floppy_state *fs)
static inline void seek_track(struct floppy_state *fs, int n)
static inline void setup_transfer(struct floppy_state *fs)
static void act(struct floppy_state *fs)
struct floppy_state *fs = timer_container_of(fs, t, timeout);
struct floppy_state *fs = timer_container_of(fs, t, timeout);
struct floppy_state *fs = timer_container_of(fs, t, timeout);
struct floppy_state *fs = timer_container_of(fs, t, timeout);
struct floppy_state *fs = (struct floppy_state *) dev_id;
static int grab_drive(struct floppy_state *fs, enum swim_state state,
static void release_drive(struct floppy_state *fs)
static int fd_eject(struct floppy_state *fs)
struct floppy_state *fs = bdev->bd_disk->private_data;
struct floppy_state *fs = disk->private_data;