Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/
Dfd.h35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) macro
37 512 : 128 << FD_SIZECODE(floppy) )
/Linux-v6.6/drivers/block/
Dfloppy.c2158 raw_cmd->cmd[F_SIZECODE] = FD_SIZECODE(_floppy); in setup_format_params()
2237 (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) || in do_format()
2594 raw_cmd->cmd[SIZECODE] = FD_SIZECODE(_floppy); in make_raw_rw_request()
3234 (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 || in set_geometry()