tag | line | file | source code |
FDCS | 501 | drivers/block/floppy.c | #define CHECK_RESET { if ( FDCS->reset ){ reset_fdc(); return ; } } |
FDCS | 654 | drivers/block/floppy.c | if(! (FDCS->dor & (0x10 << UNIT(drive))) || |
FDCS | 655 | drivers/block/floppy.c | (FDCS->dor & 3) != UNIT(drive) || |
FDCS | 659 | drivers/block/floppy.c | FDCS->dor); |
FDCS | 707 | drivers/block/floppy.c | if(FDCS->address == -1) |
FDCS | 710 | drivers/block/floppy.c | olddor = FDCS->dor; |
FDCS | 723 | drivers/block/floppy.c | FDCS->dor = newdor; |
FDCS | 743 | drivers/block/floppy.c | outb_p(FDCS->dor & ~(0x10<<UNIT(current_drive)),FD_DOR); |
FDCS | 744 | drivers/block/floppy.c | outb_p(FDCS->dor, FD_DOR); |
FDCS | 754 | drivers/block/floppy.c | FDCS->spec1 = FDCS->spec2 = -1; |
FDCS | 755 | drivers/block/floppy.c | FDCS->need_configure = 1; |
FDCS | 756 | drivers/block/floppy.c | FDCS->perp_mode = 1; |
FDCS | 757 | drivers/block/floppy.c | FDCS->rawcmd = 0; |
FDCS | 773 | drivers/block/floppy.c | if ( FDCS->rawcmd == 2 ) |
FDCS | 776 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 850 | drivers/block/floppy.c | if( !(FDCS->dor & ( 0x10 << UNIT(drive)))) |
FDCS | 925 | drivers/block/floppy.c | if ( FDCS->reset ){ |
FDCS | 983 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1000 | drivers/block/floppy.c | FDCS->reset=1; |
FDCS | 1006 | drivers/block/floppy.c | FDCS->reset=1; |
FDCS | 1013 | drivers/block/floppy.c | FDCS->reset=1; |
FDCS | 1037 | drivers/block/floppy.c | if (FDCS->reset) |
FDCS | 1039 | drivers/block/floppy.c | for(counter = 0 ; counter < 10000 && !FDCS->reset ; counter++) { |
FDCS | 1057 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1070 | drivers/block/floppy.c | if (FDCS->reset) |
FDCS | 1072 | drivers/block/floppy.c | for (counter = 0 ; counter < 10000 && !FDCS->reset ; counter++) { |
FDCS | 1094 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1121 | drivers/block/floppy.c | FDCS->reset = 1; /* convenient way to return to |
FDCS | 1129 | drivers/block/floppy.c | if ( FDCS->perp_mode == perp_mode ) |
FDCS | 1131 | drivers/block/floppy.c | if (FDCS->version >= FDC_82077_ORIG && FDCS->has_fifo) { |
FDCS | 1134 | drivers/block/floppy.c | FDCS->perp_mode = perp_mode; |
FDCS | 1170 | drivers/block/floppy.c | if (FDCS->need_configure && FDCS->has_fifo) { |
FDCS | 1171 | drivers/block/floppy.c | if ( FDCS->reset ) |
FDCS | 1179 | drivers/block/floppy.c | if ( FDCS->reset ){ |
FDCS | 1180 | drivers/block/floppy.c | FDCS->has_fifo=0; |
FDCS | 1183 | drivers/block/floppy.c | FDCS->need_configure = 0; |
FDCS | 1199 | drivers/block/floppy.c | if (FDCS->version >= FDC_82072) { |
FDCS | 1228 | drivers/block/floppy.c | if (FDCS->spec1 != spec1 || FDCS->spec2 != spec2) { |
FDCS | 1231 | drivers/block/floppy.c | output_byte(FDCS->spec1 = spec1); |
FDCS | 1232 | drivers/block/floppy.c | output_byte(FDCS->spec2 = spec2); |
FDCS | 1243 | drivers/block/floppy.c | if ( raw_cmd.rate == FDCS->dtr) |
FDCS | 1254 | drivers/block/floppy.c | FDCS->dtr = raw_cmd.rate; |
FDCS | 1279 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1438 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1524 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1599 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1615 | drivers/block/floppy.c | if ( fdc >= N_FDC || FDCS->address == -1){ |
FDCS | 1660 | drivers/block/floppy.c | if ( FDCS->reset ) |
FDCS | 1672 | drivers/block/floppy.c | FDCS->reset = 0; |
FDCS | 1674 | drivers/block/floppy.c | if ( FDCS->version >= FDC_82077 ) |
FDCS | 1675 | drivers/block/floppy.c | outb_p(0x80 | ( FDCS->dtr &3), FD_STATUS); |
FDCS | 1677 | drivers/block/floppy.c | outb_p(FDCS->dor & ~0x04, FD_DOR); |
FDCS | 1679 | drivers/block/floppy.c | outb(FDCS->dor, FD_DOR); |
FDCS | 1716 | drivers/block/floppy.c | if(FDCS->address != -1){ |
FDCS | 1756 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 1776 | drivers/block/floppy.c | if(!(FDCS->dor & ( 0x10 << UNIT(current_drive) ) )){ |
FDCS | 1785 | drivers/block/floppy.c | if (FDCS->dor & ( 0x10 << UNIT(current_drive) ) ) |
FDCS | 1892 | drivers/block/floppy.c | if ( FDCS->reset ) |
FDCS | 1967 | drivers/block/floppy.c | FDCS->reset = 1; |
FDCS | 2771 | drivers/block/floppy.c | if(arg == FD_RESET_IF_NEEDED && !FDCS->reset) |
FDCS | 2775 | drivers/block/floppy.c | FDCS->reset=1; |
FDCS | 2776 | drivers/block/floppy.c | if ( FDCS->reset ){ |
FDCS | 2832 | drivers/block/floppy.c | if ( FDCS->rawcmd <= 1 ) |
FDCS | 2833 | drivers/block/floppy.c | FDCS->rawcmd = 1; |
FDCS | 2839 | drivers/block/floppy.c | FDCS->rawcmd = 2; |
FDCS | 2843 | drivers/block/floppy.c | FDCS->rawcmd = 2; |
FDCS | 2848 | drivers/block/floppy.c | if(FDCS->reset) |
FDCS | 2885 | drivers/block/floppy.c | if ( !ret && !FDCS->reset ){ |
FDCS | 3407 | drivers/block/floppy.c | if ( FDCS->reset ) |
FDCS | 3600 | drivers/block/floppy.c | FDCS->dtr = -1; |
FDCS | 3601 | drivers/block/floppy.c | FDCS->dor = 0x4; |
FDCS | 3602 | drivers/block/floppy.c | FDCS->reset = 0; |
FDCS | 3603 | drivers/block/floppy.c | FDCS->version = FDC_NONE; |
FDCS | 3630 | drivers/block/floppy.c | if (FDCS->address == -1 ) |
FDCS | 3632 | drivers/block/floppy.c | FDCS->rawcmd = 2; |
FDCS | 3634 | drivers/block/floppy.c | FDCS->address = -1; |
FDCS | 3638 | drivers/block/floppy.c | FDCS->version = get_fdc_version(); |
FDCS | 3639 | drivers/block/floppy.c | if (FDCS->version == FDC_NONE){ |
FDCS | 3640 | drivers/block/floppy.c | FDCS->address = -1; |
FDCS | 3644 | drivers/block/floppy.c | request_region(FDCS->address, 6, "floppy"); |
FDCS | 3645 | drivers/block/floppy.c | request_region(FDCS->address+7, 1, "floppy DIR"); |
FDCS | 3654 | drivers/block/floppy.c | FDCS->has_fifo = FDCS->version >= FDC_82077_ORIG; |
FDCS | 3680 | drivers/block/floppy.c | if(FDCS->address != -1){ |
FDCS | 3683 | drivers/block/floppy.c | outb_p(FDCS->dor, FD_DOR); |
FDCS | 3700 | drivers/block/floppy.c | if(FDCS->address != -1) |
FDCS | 3701 | drivers/block/floppy.c | outb_p(FDCS->dor, FD_DOR); |
FDCS | 3821 | drivers/block/floppy.c | if (FDCS->address != -1){ |
FDCS | 3822 | drivers/block/floppy.c | release_region(FDCS->address, 6); |
FDCS | 3823 | drivers/block/floppy.c | release_region(FDCS->address+7, 1); |