tag | line | file | source code |
floppy | 274 | kernel/blk_drv/floppy.c | static struct floppy_struct * floppy = floppy_type; |
floppy | 366 | kernel/blk_drv/floppy.c | count = floppy->sect*4; |
floppy | 374 | kernel/blk_drv/floppy.c | count = floppy->sect*2*512; |
floppy | 505 | kernel/blk_drv/floppy.c | if (cur_spec1 != floppy->spec1) { |
floppy | 506 | kernel/blk_drv/floppy.c | cur_spec1 = floppy->spec1; |
floppy | 511 | kernel/blk_drv/floppy.c | if (cur_rate != floppy->rate) { |
floppy | 513 | kernel/blk_drv/floppy.c | perpendicular_mode(floppy->rate); |
floppy | 514 | kernel/blk_drv/floppy.c | outb_p((cur_rate = (floppy->rate)) & ~0x40, FD_DCR); |
floppy | 604 | kernel/blk_drv/floppy.c | floppy->name,drive); |
floppy | 605 | kernel/blk_drv/floppy.c | current_type[drive] = floppy; |
floppy | 606 | kernel/blk_drv/floppy.c | floppy_sizes[drive] = floppy->size >> 1; |
floppy | 613 | kernel/blk_drv/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
floppy | 648 | kernel/blk_drv/floppy.c | output_byte(floppy->sect); |
floppy | 649 | kernel/blk_drv/floppy.c | output_byte(floppy->gap); |
floppy | 654 | kernel/blk_drv/floppy.c | output_byte(floppy->sect); |
floppy | 655 | kernel/blk_drv/floppy.c | output_byte(floppy->fmt_gap); |
floppy | 691 | kernel/blk_drv/floppy.c | (floppy->sect <= MAX_BUFFER_SECTORS); |
floppy | 906 | kernel/blk_drv/floppy.c | head_shift = floppy->sect / 6; |
floppy | 910 | kernel/blk_drv/floppy.c | total_shift = floppy->sect - |
floppy | 911 | kernel/blk_drv/floppy.c | ((track_shift * track + head_shift * head) % floppy->sect); |
floppy | 914 | kernel/blk_drv/floppy.c | for (count = 0; count < floppy->sect; count++) { |
floppy | 917 | kernel/blk_drv/floppy.c | *here++ = 1 + (( count + total_shift ) % floppy->sect); |
floppy | 953 | kernel/blk_drv/floppy.c | floppy = (device >> 2) + floppy_type; |
floppy | 955 | kernel/blk_drv/floppy.c | if ((floppy = current_type[device & 3]) == NULL) { |
floppy | 957 | kernel/blk_drv/floppy.c | if ((floppy = base_type[device & 3]) == |
floppy | 962 | kernel/blk_drv/floppy.c | floppy += CURRENT_ERRORS & 1; |
floppy | 971 | kernel/blk_drv/floppy.c | if (block+2 > floppy->size) { |
floppy | 975 | kernel/blk_drv/floppy.c | sector = block % floppy->sect; |
floppy | 976 | kernel/blk_drv/floppy.c | block /= floppy->sect; |
floppy | 977 | kernel/blk_drv/floppy.c | head = block % floppy->head; |
floppy | 978 | kernel/blk_drv/floppy.c | track = block / floppy->head; |
floppy | 979 | kernel/blk_drv/floppy.c | seek_track = track << floppy->stretch; |
floppy | 993 | kernel/blk_drv/floppy.c | if (((unsigned) format_req.track) >= floppy->track || |
floppy | 1000 | kernel/blk_drv/floppy.c | seek_track = track << floppy->stretch; |
floppy | 1010 | kernel/blk_drv/floppy.c | ((sector + head*floppy->sect)<<9); |