Home
last modified time | relevance | path

Searched defs:floppy (Results 1 – 2 of 2) sorted by relevance

/external/mtools/
Ddevices.c167 static inline int get_parameters(int fd, struct generic_floppy_struct *floppy) in get_parameters()
177 #define TRACKS(floppy) floppy.fg.tracks argument
178 #define HEADS(floppy) floppy.fg.heads argument
179 #define SECTORS(floppy) floppy.fg.sectors argument
180 #define FD_SECTSIZE(floppy) floppy.fg.sector_size argument
181 #define FD_SET_SECTSIZE(floppy,v) { floppy.fg.sector_size = v; } argument
183 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 argument
285 #define HEADS(floppy) (floppy).dp_heads argument
[all …]
/external/kernel-headers/original/uapi/linux/
Dfd.h28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) argument
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) argument
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ argument