Home
last modified time | relevance | path

Searched refs:mode_wanted (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/ide/pci/
Dcmd640.c638 static void cmd640_tune_drive (ide_drive_t *drive, u8 mode_wanted) in cmd640_tune_drive() argument
650 switch (mode_wanted) { in cmd640_tune_drive()
653 mode_wanted &= 1; in cmd640_tune_drive()
655 if (mode_wanted) in cmd640_tune_drive()
658 … printk("%s: %sabled cmd640 fast host timing (devsel)\n", drive->name, mode_wanted ? "en" : "dis"); in cmd640_tune_drive()
663 mode_wanted &= 1; in cmd640_tune_drive()
664 set_prefetch_mode(index, mode_wanted); in cmd640_tune_drive()
665 printk("%s: %sabled cmd640 prefetch\n", drive->name, mode_wanted ? "en" : "dis"); in cmd640_tune_drive()
669 (void) ide_get_best_pio_mode (drive, mode_wanted, 5, &d); in cmd640_tune_drive()
Dcmd64x.c250 static void cmd64x_tuneproc (ide_drive_t *drive, u8 mode_wanted) in cmd64x_tuneproc() argument
260 switch (mode_wanted) { in cmd64x_tuneproc()
263 mode_wanted &= 1; in cmd64x_tuneproc()
266 drive->name, mode_wanted ? "en" : "dis"); in cmd64x_tuneproc()
270 mode_wanted = ide_get_best_pio_mode (drive, mode_wanted, 5, &d); in cmd64x_tuneproc()
314 drive->name, pio_mode, mode_wanted, cycle_time, in cmd64x_tuneproc()
Dsiimage.c266 static void siimage_tuneproc (ide_drive_t *drive, byte mode_wanted) in siimage_tuneproc() argument
275 switch(mode_wanted) { in siimage_tuneproc()
303 if(mode_wanted == 3 || mode_wanted == 4) in siimage_tuneproc()
315 if(mode_wanted == 3 || mode_wanted == 4) in siimage_tuneproc()
/linux-2.4.37.9/drivers/ide/
Dide-lib.c316 u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_pio_data_t *d) in ide_get_best_pio_mode() argument
325 if (mode_wanted != 255) { in ide_get_best_pio_mode()
326 pio_mode = mode_wanted; in ide_get_best_pio_mode()
Dide_modes.h39 u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_pio_data_t *d);