_floppy           600 drivers/block/floppy.c static struct floppy_struct *_floppy = floppy_type;
_floppy          2073 drivers/block/floppy.c 		_floppy = floppy_type + type;
_floppy          2075 drivers/block/floppy.c 		_floppy = current_type[drive];
_floppy          2114 drivers/block/floppy.c 	raw_cmd->rate = _floppy->rate & 0x43;
_floppy          2116 drivers/block/floppy.c 	COMMAND = FM_MODE(_floppy, FD_FORMAT);
_floppy          2117 drivers/block/floppy.c 	DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, format_req.head);
_floppy          2118 drivers/block/floppy.c 	F_SIZECODE = FD_SIZECODE(_floppy);
_floppy          2119 drivers/block/floppy.c 	F_SECT_PER_TRACK = _floppy->sect << 2 >> F_SIZECODE;
_floppy          2120 drivers/block/floppy.c 	F_GAP = _floppy->fmt_gap;
_floppy          2141 drivers/block/floppy.c 	if (_floppy->fmt_gap < 0x22)
_floppy          2164 drivers/block/floppy.c 	if (_floppy->stretch & FD_SECTBASEMASK) {
_floppy          2166 drivers/block/floppy.c 			here[count].sect += FD_SECTBASE(_floppy) - 1;
_floppy          2173 drivers/block/floppy.c 	setup_format_params(format_req.track << STRETCH(_floppy));
_floppy          2193 drivers/block/floppy.c 	if (!_floppy ||
_floppy          2194 drivers/block/floppy.c 	    _floppy->track > DP->tracks ||
_floppy          2195 drivers/block/floppy.c 	    tmp_format_req->track >= _floppy->track ||
_floppy          2196 drivers/block/floppy.c 	    tmp_format_req->head >= _floppy->head ||
_floppy          2197 drivers/block/floppy.c 	    (_floppy->sect << 2) % (1 << FD_SIZECODE(_floppy)) ||
_floppy          2198 drivers/block/floppy.c 	    !_floppy->fmt_gap) {
_floppy          2257 drivers/block/floppy.c 		if (block > _floppy->sect)
_floppy          2344 drivers/block/floppy.c 		current_type[current_drive] = _floppy;
_floppy          2345 drivers/block/floppy.c 		floppy_sizes[TOMINOR(current_drive)] = _floppy->size;
_floppy          2352 drivers/block/floppy.c 			       _floppy->name, current_drive);
_floppy          2353 drivers/block/floppy.c 		current_type[current_drive] = _floppy;
_floppy          2354 drivers/block/floppy.c 		floppy_sizes[TOMINOR(current_drive)] = _floppy->size;
_floppy          2397 drivers/block/floppy.c 	max_sector -= (max_sector % _floppy->sect) % ssize;
_floppy          2542 drivers/block/floppy.c 		COMMAND = FM_MODE(_floppy, FD_READ);
_floppy          2545 drivers/block/floppy.c 		COMMAND = FM_MODE(_floppy, FD_WRITE);
_floppy          2551 drivers/block/floppy.c 	max_sector = _floppy->sect * _floppy->head;
_floppy          2555 drivers/block/floppy.c 	if (_floppy->track && TRACK >= _floppy->track) {
_floppy          2562 drivers/block/floppy.c 	HEAD = fsector_t / _floppy->sect;
_floppy          2564 drivers/block/floppy.c 	if (((_floppy->stretch & (FD_SWAPSIDES | FD_SECTBASEMASK)) ||
_floppy          2566 drivers/block/floppy.c 	    fsector_t < _floppy->sect)
_floppy          2567 drivers/block/floppy.c 		max_sector = _floppy->sect;
_floppy          2570 drivers/block/floppy.c 	if ((_floppy->rate & FD_2M) && (!TRACK) && (!HEAD)) {
_floppy          2571 drivers/block/floppy.c 		max_sector = 2 * _floppy->sect / 3;
_floppy          2574 drivers/block/floppy.c 			    min_t(int, _floppy->sect - fsector_t,
_floppy          2580 drivers/block/floppy.c 		SIZECODE = FD_SIZECODE(_floppy);
_floppy          2581 drivers/block/floppy.c 	raw_cmd->rate = _floppy->rate & 0x43;
_floppy          2582 drivers/block/floppy.c 	if ((_floppy->rate & FD_2M) && (TRACK || HEAD) && raw_cmd->rate == 2)
_floppy          2589 drivers/block/floppy.c 	raw_cmd->track = TRACK << STRETCH(_floppy);
_floppy          2590 drivers/block/floppy.c 	DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, HEAD);
_floppy          2591 drivers/block/floppy.c 	GAP = _floppy->gap;
_floppy          2593 drivers/block/floppy.c 	SECT_PER_TRACK = _floppy->sect << 2 >> SIZECODE;
_floppy          2594 drivers/block/floppy.c 	SECTOR = ((fsector_t % _floppy->sect) << 2 >> SIZECODE) +
_floppy          2595 drivers/block/floppy.c 	    FD_SECTBASE(_floppy);
_floppy          2600 drivers/block/floppy.c 	tracksize = _floppy->sect - _floppy->sect % ssize;
_floppy          2601 drivers/block/floppy.c 	if (tracksize < _floppy->sect) {
_floppy          2603 drivers/block/floppy.c 		if (tracksize <= fsector_t % _floppy->sect)
_floppy          2607 drivers/block/floppy.c 		while (tracksize <= fsector_t % _floppy->sect) {
_floppy          2608 drivers/block/floppy.c 			while (tracksize + ssize > _floppy->sect) {
_floppy          2616 drivers/block/floppy.c 		max_sector = HEAD * _floppy->sect + tracksize;
_floppy          2617 drivers/block/floppy.c 	} else if (!TRACK && !HEAD && !(_floppy->rate & FD_2M) && probing) {
_floppy          2618 drivers/block/floppy.c 		max_sector = _floppy->sect;
_floppy          2621 drivers/block/floppy.c 		max_sector = _floppy->sect;
_floppy          2624 drivers/block/floppy.c 	in_sector_offset = (fsector_t % _floppy->sect) % ssize;
_floppy          2647 drivers/block/floppy.c 		COMMAND = FM_MODE(_floppy, FD_READ);
_floppy          2849 drivers/block/floppy.c 	if (!_floppy) {	/* Autodetection */
_floppy          2854 drivers/block/floppy.c 				_floppy = NULL;
_floppy          2860 drivers/block/floppy.c 		_floppy = floppy_type + DP->autodetect[DRS->probed_format];