Home
last modified time | relevance | path

Searched refs:FD_SIZECODE (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Dfd.h35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) macro
37 512 : 128 << FD_SIZECODE(floppy) )
/linux/drivers/block/
H A Dfloppy.c2161 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()