Searched defs:floppy (Results 1 – 2 of 2) sorted by relevance
167 static inline int get_parameters(int fd, struct generic_floppy_struct *floppy) in get_parameters()177 #define TRACKS(floppy) floppy.fg.tracks argument178 #define HEADS(floppy) floppy.fg.heads argument179 #define SECTORS(floppy) floppy.fg.sectors argument180 #define FD_SECTSIZE(floppy) floppy.fg.sector_size argument181 #define FD_SET_SECTSIZE(floppy,v) { floppy.fg.sector_size = v; } argument183 static inline int set_parameters(int fd, struct generic_floppy_struct *floppy, in set_parameters()263 static int get_parameters(int fd, struct generic_floppy_struct *floppy) in get_parameters()284 #define TRACKS(floppy) (floppy).dp_cyls argument285 #define HEADS(floppy) (floppy).dp_heads argument[all …]
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) argument35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) argument36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ argument