tag | line | file | source code |
floppy | 285 | drivers/block/floppy.c | static struct floppy_struct * floppy = floppy_type; |
floppy | 450 | drivers/block/floppy.c | count = floppy->sect*4; |
floppy | 458 | drivers/block/floppy.c | count = floppy->sect*floppy->head*512; |
floppy | 588 | drivers/block/floppy.c | if (cur_spec1 != floppy->spec1) { |
floppy | 589 | drivers/block/floppy.c | cur_spec1 = floppy->spec1; |
floppy | 594 | drivers/block/floppy.c | if (cur_rate != floppy->rate) { |
floppy | 596 | drivers/block/floppy.c | perpendicular_mode(floppy->rate); |
floppy | 597 | drivers/block/floppy.c | outb_p((cur_rate = (floppy->rate)) & ~0x40, FD_DCR); |
floppy | 686 | drivers/block/floppy.c | floppy->name,drive); |
floppy | 687 | drivers/block/floppy.c | current_type[drive] = floppy; |
floppy | 688 | drivers/block/floppy.c | floppy_sizes[drive] = floppy->size >> 1; |
floppy | 695 | drivers/block/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
floppy | 729 | drivers/block/floppy.c | output_byte(floppy->sect); |
floppy | 730 | drivers/block/floppy.c | output_byte(floppy->gap); |
floppy | 735 | drivers/block/floppy.c | output_byte(floppy->sect); |
floppy | 736 | drivers/block/floppy.c | output_byte(floppy->fmt_gap); |
floppy | 772 | drivers/block/floppy.c | (floppy->sect <= MAX_BUFFER_SECTORS); |
floppy | 978 | drivers/block/floppy.c | head_shift = floppy->sect / 6; |
floppy | 982 | drivers/block/floppy.c | total_shift = floppy->sect - |
floppy | 983 | drivers/block/floppy.c | ((track_shift * track + head_shift * head) % floppy->sect); |
floppy | 986 | drivers/block/floppy.c | for (count = 0; count < floppy->sect; count++) { |
floppy | 989 | drivers/block/floppy.c | *here++ = 1 + (( count + total_shift ) % floppy->sect); |
floppy | 1025 | drivers/block/floppy.c | floppy = (device >> 2) + floppy_type; |
floppy | 1027 | drivers/block/floppy.c | floppy = current_type[device & 3]; |
floppy | 1028 | drivers/block/floppy.c | if (!floppy) { |
floppy | 1030 | drivers/block/floppy.c | floppy = base_type[device & 3]; |
floppy | 1031 | drivers/block/floppy.c | if (!floppy) { |
floppy | 1036 | drivers/block/floppy.c | floppy++; |
floppy | 1045 | drivers/block/floppy.c | if (block+2 > floppy->size) { |
floppy | 1049 | drivers/block/floppy.c | sector = block % floppy->sect; |
floppy | 1050 | drivers/block/floppy.c | block /= floppy->sect; |
floppy | 1051 | drivers/block/floppy.c | head = block % floppy->head; |
floppy | 1052 | drivers/block/floppy.c | track = block / floppy->head; |
floppy | 1053 | drivers/block/floppy.c | seek_track = track << floppy->stretch; |
floppy | 1067 | drivers/block/floppy.c | if (((unsigned) format_req.track) >= floppy->track || |
floppy | 1074 | drivers/block/floppy.c | seek_track = track << floppy->stretch; |
floppy | 1084 | drivers/block/floppy.c | ((sector + head*floppy->sect)<<9); |