/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/ |
H A D | dtc2278.c | 73 static void tune_dtc2278 (ide_drive_t *drive, byte pio) argument 77 pio = ide_get_best_pio_mode(drive, pio, 4, NULL); 79 if (pio >= 3) {
|
H A D | ht6560b.c | 205 static byte ht_pio2timings(ide_drive_t *drive, byte pio) argument 212 if (pio) { 213 pio = ide_get_best_pio_mode(drive, pio, 5, &d); 220 active_time = ide_pio_timings[pio].active_time; 223 - ide_pio_timings[pio].setup_time; 238 printk("ht6560b: drive %s setting pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time); 245 printk("ht6560b: drive %s setting pio=0\n", drive->name); 282 static void tune_ht6560b (ide_drive_t *drive, byte pio) argument [all...] |
H A D | cy82c693.c | 141 static void compute_clocks (byte pio, pio_clocks_t *p_pclk) argument 150 if (pio > CY82C693_MAX_PIO) 151 pio = CY82C693_MAX_PIO; 154 p_pclk->address_time = (byte)calc_clk(ide_pio_timings[pio].setup_time, bus_speed); 157 clk1 = calc_clk(ide_pio_timings[pio].active_time, bus_speed); 160 clk2 = ide_pio_timings[pio].cycle_time - 161 ide_pio_timings[pio].active_time - 162 ide_pio_timings[pio].setup_time; 272 static void cy82c693_tune_drive (ide_drive_t *drive, byte pio) argument 324 /* first let's calc the pio mode [all...] |
H A D | umc8672.c | 111 static void tune_umc (ide_drive_t *drive, byte pio) argument 116 pio = ide_get_best_pio_mode(drive, pio, 4, NULL); 117 printk("%s: setting umc8672 to PIO mode%d (speed %d)\n", drive->name, pio, pio_to_umc[pio]); 123 current_speeds[drive->name[2] - 'a'] = pio_to_umc[pio];
|
H A D | opti621.c | 140 /* there are stored pio numbers from other calls of opti621_tune_drive */ 142 static void compute_pios(ide_drive_t *drive, byte pio) argument 145 * slave_drive - 0 -> pio is for master, 1 -> pio is for slave 146 * pio - PIO mode for selected drive (for other we don't know) 152 drive->drive_data = ide_get_best_pio_mode(drive, pio, OPTI621_MAX_PIO, NULL); 215 static void compute_clocks(int pio, pio_clocks_t *clks) argument 217 if (pio != PIO_NOT_EXIST) { 221 adr_setup = ide_pio_timings[pio].setup_time; 222 data_pls = ide_pio_timings[pio] 243 opti621_tune_drive(ide_drive_t *drive, byte pio) argument [all...] |
H A D | qd65xx.c | 234 static void qd6500_tune_drive (ide_drive_t *drive, byte pio) argument 256 static void qd6580_tune_drive (ide_drive_t *drive, byte pio) argument 264 pio = ide_get_best_pio_mode(drive, pio, 255, &d); 265 pio = IDE_MIN(pio,4); 267 switch (pio) { 288 active_time = ide_pio_timings[pio].active_time; 293 printk(KERN_INFO "%s: PIO mode%d\n",drive->name,pio);
|
H A D | ide_modes.h | 64 int pio; member in struct:ide_pio_info 148 return p->pio;
|
H A D | ali14xx.c | 115 static void ali14xx_tune_drive (ide_drive_t *drive, byte pio) argument 124 pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO, &d); 128 time2 = ide_pio_timings[pio].active_time; 131 if (pio < 3) { 136 drive->name, pio, time1, time2, param1, param2, param3, param4);
|
H A D | it8172.c | 49 static void it8172_tune_drive (ide_drive_t *drive, byte pio); 60 static void it8172_tune_drive (ide_drive_t *drive, byte pio) argument 67 pio = ide_get_best_pio_mode(drive, pio, 4, NULL); 88 if (pio > 1) 93 if (pio > 1)
|
H A D | sl82c105.c | 60 static void config_for_pio(ide_drive_t *drive, int pio, int report) argument 70 pio = ide_get_best_pio_mode(drive, pio, 5, &p); 72 switch (pio) { 184 static void tune_sl82c105(ide_drive_t *drive, byte pio) argument 186 config_for_pio(drive, pio, 1);
|
H A D | slc90e66.c | 188 static void slc90e66_tune_drive (ide_drive_t *drive, byte pio) argument 203 pio = ide_get_best_pio_mode(drive, pio, 5, NULL); 207 if (pio > 1) 212 slave_data = slave_data | ((timings[pio][0] << 2) | (timings[pio][1] 216 if (pio > 1) 219 master_data = master_data | (timings[pio][0] << 12) | 220 (timings[pio][1] << 8);
|
H A D | serverworks.c | 267 byte pio = ide_get_best_pio_mode(drive, 255, 5, NULL); local 309 pio_timing |= pio_modes[pio]; 310 csb5_pio |= (pio << (4*drive->dn)); 320 pio_timing |= pio_modes[pio]; 321 csb5_pio |= (pio << (4*drive->dn)); 366 byte timing, speed, pio; local 368 pio = ide_get_best_pio_mode(drive, 255, 5, NULL); 385 timing = (xfer_pio >= pio) ? xfer_pio : pio; 400 static void svwks_tune_drive (ide_drive_t *drive, byte pio) argument [all...] |
H A D | sis5513.c | 442 static void config_art_rwp_pio (ide_drive_t *drive, byte pio) argument 457 pio = ide_get_best_pio_mode(drive, 255, pio, NULL); 473 timing = (xfer_pio >= pio) ? xfer_pio : pio; 476 printk("SIS5513: config_drive_art_rwp_pio, drive %d, pio %d, timing %d\n", 477 drive->dn, pio, timing); 523 static int config_chipset_for_pio (ide_drive_t *drive, byte pio) argument 527 switch(pio) { 535 config_art_rwp_pio(drive, pio); 615 sis5513_tune_drive(ide_drive_t *drive, byte pio) argument [all...] |
H A D | cs5530.c | 114 static void cs5530_tuneproc (ide_drive_t *drive, byte pio) /* pio=255 means "autotune" */ argument 120 pio = ide_get_best_pio_mode(drive, pio, 4, NULL); 121 if (!cs5530_set_xfer_mode(drive, modes[pio])) { 123 outl(cs5530_pio_timings[format][pio], basereg+(drive->select.b.unit<<3));
|
H A D | piix.c | 237 static void piix_tune_drive (ide_drive_t *drive, byte pio) argument 252 pio = ide_get_best_pio_mode(drive, pio, 5, NULL); 256 if (pio > 1) 261 slave_data = slave_data | (((timings[pio][0] << 2) | timings[pio][1]) 265 if (pio > 1) 268 master_data = master_data | (timings[pio][0] << 12) | 269 (timings[pio][1] << 8);
|
H A D | amd74xx.c | 244 byte timing, speed, pio; local 246 pio = ide_get_best_pio_mode(drive, 255, 5, NULL); 264 timing = (xfer_pio >= pio) ? xfer_pio : pio; 279 static void amd74xx_tune_drive (ide_drive_t *drive, byte pio) argument 282 switch(pio) {
|
H A D | hpt34x.c | 154 byte timing, speed, pio; local 156 pio = ide_get_best_pio_mode(drive, 255, 5, NULL); 172 timing = (xfer_pio >= pio) ? xfer_pio : pio; 186 static void hpt34x_tune_drive (ide_drive_t *drive, byte pio) argument 190 switch(pio) {
|
H A D | ide-m8xx.c | 53 static void m8xx_ide_tuneproc(ide_drive_t *drive, byte pio); 424 m8xx_ide_tuneproc(ide_drive_t *drive, byte pio) argument 432 pio = ide_get_best_pio_mode(drive, pio, 4, &d); 435 __FILE__,__LINE__,__FUNCTION__, pio); 442 timing = PCMCIA_SHT(hold_time[pio] ) 443 | PCMCIA_SST(ide_pio_clocks[pio].setup_time ) 444 | PCMCIA_SL (ide_pio_clocks[pio].active_time)
|
H A D | alim15x3.c | 234 static void ali15x3_tune_drive (ide_drive_t *drive, byte pio) argument 247 pio = ide_get_best_pio_mode(drive, pio, 5, &d); 248 s_time = ide_pio_timings[pio].setup_time; 249 a_time = ide_pio_timings[pio].active_time; 254 c_time = ide_pio_timings[pio].cycle_time;
|
H A D | hpt366.c | 510 byte timing, speed, pio; local 512 pio = ide_get_best_pio_mode(drive, 255, 5, NULL); 530 timing = (xfer_pio >= pio) ? xfer_pio : pio; 544 static void hpt3xx_tune_drive (ide_drive_t *drive, byte pio) argument 547 switch(pio) {
|
H A D | pdc202xx.c | 652 static int config_chipset_for_pio (ide_drive_t *drive, byte pio) argument 656 pio = (pio == 5) ? 4 : pio; 657 speed = XFER_PIO_0 + ide_get_best_pio_mode(drive, 255, pio, NULL); 662 static void pdc202xx_tune_drive (ide_drive_t *drive, byte pio) argument 664 (void) config_chipset_for_pio(drive, pio);
|
H A D | ide-pmac.c | 139 * Can do pio & mdma modes, clock unit is 30ns (33Mhz) 250 static void pmac_ide_tuneproc(ide_drive_t *drive, byte pio); 441 pmac_ide_tuneproc(ide_drive_t *drive, byte pio) argument 453 pio = ide_get_best_pio_mode(drive, pio, 4, &d); 454 accessTicks = SYSCLK_TICKS(ide_pio_timings[pio].active_time); 460 recTime = d.cycle_time - ide_pio_timings[pio].active_time 461 - ide_pio_timings[pio].setup_time; 463 accessTime = ide_pio_timings[pio].active_time; 497 pio, *timing [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/sn/pci/ |
H A D | pci_bus_cvlink.h | 18 #include <asm/sn/pio.h>
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ia64/sn/pci/ |
H A D | pci_bus_cvlink.h | 18 #include <asm/sn/pio.h>
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/drivers/ |
H A D | ide.c | 8 * Mikael Starvik (pio setup stuff) 317 static void tune_e100_ide(ide_drive_t *drive, byte pio) argument 321 pio = 4; 322 /* pio = ide_get_best_pio_mode(drive, pio, 4, NULL); */ 327 /* set pio mode! */ 329 switch(pio) { 523 IO_STATE(R_ATA_CTRL_DATA, handsh, pio) | 570 IO_STATE(R_ATA_CTRL_DATA, handsh, pio) |
|