tag | line | file | source code |
pio | 120 | drivers/block/ali14xx.c | static void ali14xx_tune_drive (ide_drive_t *drive, byte pio) |
pio | 128 | drivers/block/ali14xx.c | if (pio == 255) |
pio | 129 | drivers/block/ali14xx.c | pio = ide_get_best_pio_mode(drive); |
pio | 130 | drivers/block/ali14xx.c | if (pio > 3) |
pio | 131 | drivers/block/ali14xx.c | pio = 3; |
pio | 134 | drivers/block/ali14xx.c | time1 = timeTab[pio].time1; |
pio | 135 | drivers/block/ali14xx.c | time2 = timeTab[pio].time2; |
pio | 136 | drivers/block/ali14xx.c | if (pio == 3) { |
pio | 143 | drivers/block/ali14xx.c | if (pio != 3) { |
pio | 148 | drivers/block/ali14xx.c | drive->name, pio, time1, time2, param1, param2, param3, param4); |
pio | 59 | drivers/block/dtc2278.c | static void tune_dtc2278 (ide_drive_t *drive, byte pio) |
pio | 63 | drivers/block/dtc2278.c | if (pio == 255) |
pio | 64 | drivers/block/dtc2278.c | pio = ide_get_best_pio_mode(drive); |
pio | 66 | drivers/block/dtc2278.c | if (pio >= 3) { |
pio | 194 | drivers/block/ht6560b.c | static void tune_ht6560b (ide_drive_t *drive, byte pio) |
pio | 198 | drivers/block/ht6560b.c | if (pio == 255) { /* auto-tune */ |
pio | 200 | drivers/block/ht6560b.c | pio = 0; /* some cdroms don't like fast modes (?) */ |
pio | 202 | drivers/block/ht6560b.c | pio = ide_get_best_pio_mode (drive); |
pio | 204 | drivers/block/ht6560b.c | if (pio > 5) |
pio | 205 | drivers/block/ht6560b.c | pio = 5; |
pio | 208 | drivers/block/ht6560b.c | ht6560b_timings[hwif][unit] = pio_to_timings[pio]; |
pio | 209 | drivers/block/ht6560b.c | if (pio == 0) |
pio | 31 | drivers/block/ide_modes.h | int pio; |
pio | 107 | drivers/block/ide_modes.h | return p->pio; |
pio | 119 | drivers/block/ide_modes.h | unsigned int pio = 0; |
pio | 124 | drivers/block/ide_modes.h | pio = 4; |
pio | 126 | drivers/block/ide_modes.h | pio = ide_scan_pio_blacklist(id->model); |
pio | 127 | drivers/block/ide_modes.h | if (pio == -1) { |
pio | 128 | drivers/block/ide_modes.h | pio = (id->tPIO < 2) ? id->tPIO : 2; |
pio | 131 | drivers/block/ide_modes.h | if (modes & 4) pio = 5; |
pio | 132 | drivers/block/ide_modes.h | else if (modes & 2) pio = 4; |
pio | 133 | drivers/block/ide_modes.h | else if (modes & 1) pio = 3; |
pio | 137 | drivers/block/ide_modes.h | return pio; |
pio | 43 | drivers/block/qd6580.c | static void tune_qd6580 (ide_drive_t *drive, byte pio) |
pio | 47 | drivers/block/qd6580.c | if (pio == 255) |
pio | 48 | drivers/block/qd6580.c | pio = ide_get_best_pio_mode (drive); |
pio | 49 | drivers/block/qd6580.c | if (pio > 3) |
pio | 50 | drivers/block/qd6580.c | pio = 3; |
pio | 56 | drivers/block/qd6580.c | outb_p(((pio+1)<<4)|0x0f,0xb3); |
pio | 110 | drivers/block/umc8672.c | static void tune_umc (ide_drive_t *drive, byte pio) |
pio | 112 | drivers/block/umc8672.c | if (pio == 255) |
pio | 113 | drivers/block/umc8672.c | pio = ide_get_best_pio_mode(drive); |
pio | 114 | drivers/block/umc8672.c | if (pio > 4) |
pio | 115 | drivers/block/umc8672.c | pio = 4; |
pio | 117 | drivers/block/umc8672.c | current_speeds[drive->name[2] - 'a'] = pio_to_umc[pio]; |
pio | 2032 | drivers/scsi/AM53C974.c | int cfifo, pio, i = 0; |
pio | 2039 | drivers/scsi/AM53C974.c | pio = (i == 50000) ? 1: 0; |
pio | 2049 | drivers/scsi/AM53C974.c | if (pio) { |