Searched refs:F_SECT_PER_TRACK (Results 1 – 1 of 1) sorted by relevance
324 #define F_SECT_PER_TRACK 3 macro2159 raw_cmd->cmd[F_SECT_PER_TRACK] = _floppy->sect << 2 >> raw_cmd->cmd[F_SIZECODE]; in setup_format_params()2164 raw_cmd->length = 4 * raw_cmd->cmd[F_SECT_PER_TRACK]; in setup_format_params()2166 if (!raw_cmd->cmd[F_SECT_PER_TRACK]) in setup_format_params()2170 head_shift = (raw_cmd->cmd[F_SECT_PER_TRACK] + 5) / 6; in setup_format_params()2177 % raw_cmd->cmd[F_SECT_PER_TRACK]; in setup_format_params()2185 for (count = 0; count < raw_cmd->cmd[F_SECT_PER_TRACK]; ++count) { in setup_format_params()2192 for (count = 1; count <= raw_cmd->cmd[F_SECT_PER_TRACK]; ++count) { in setup_format_params()2194 n = (n + il) % raw_cmd->cmd[F_SECT_PER_TRACK]; in setup_format_params()2197 if (n >= raw_cmd->cmd[F_SECT_PER_TRACK]) { in setup_format_params()[all …]