Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/block/
Dfloppy.c589 static struct floppy_struct *_floppy = floppy_type; variable
2113 _floppy = floppy_type + type; in set_floppy()
2115 _floppy = current_type[drive]; in set_floppy()
2154 raw_cmd->rate = _floppy->rate & 0x43; in setup_format_params()
2156 raw_cmd->cmd[COMMAND] = FM_MODE(_floppy, FD_FORMAT); in setup_format_params()
2157 raw_cmd->cmd[DR_SELECT] = UNIT(current_drive) + PH_HEAD(_floppy, format_req.head); in setup_format_params()
2158 raw_cmd->cmd[F_SIZECODE] = FD_SIZECODE(_floppy); in setup_format_params()
2159 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params()
2160 raw_cmd->cmd[F_GAP] = _floppy->fmt_gap; in setup_format_params()
2181 if (_floppy->fmt_gap < 0x22) in setup_format_params()
[all …]