Searched refs:FD_SIZECODE (Results 1 – 2 of 2) sorted by relevance
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) macro37 512 : 128 << FD_SIZECODE(floppy) )
2161 raw_cmd->cmd[F_SIZECODE] = FD_SIZECODE(_floppy); in setup_format_params()2240 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format()2597 raw_cmd->cmd[SIZECODE] = FD_SIZECODE(_floppy); in make_raw_rw_request()3238 (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 || in set_geometry()