Home
last modified time | relevance | path

Searched refs:cycle_time (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/drivers/ide/
Dide-lib.c319 int cycle_time = 0; in ide_get_best_pio_mode() local
342 cycle_time = id->eide_pio_iordy; in ide_get_best_pio_mode()
353 cycle_time = id->eide_pio; in ide_get_best_pio_mode()
370 if (cycle_time && cycle_time < ide_pio_timings[pio_mode].cycle_time) in ide_get_best_pio_mode()
371 cycle_time = 0; /* use standard timing */ in ide_get_best_pio_mode()
376 cycle_time = 0; in ide_get_best_pio_mode()
380 d->cycle_time = cycle_time ? cycle_time : ide_pio_timings[pio_mode].cycle_time; in ide_get_best_pio_mode()
Dide_modes.h28 int cycle_time; /* Cycle time (ns) minimum = (setup + active + recovery) */ member
36 unsigned int cycle_time; member
/linux-2.4.37.9/drivers/ide/legacy/
Dqd65xx.c278 if (d.cycle_time >= 110) { in qd6580_tune_drive()
280 recovery_time = d.cycle_time - 102; in qd6580_tune_drive()
285 if (d.cycle_time >= 69) { in qd6580_tune_drive()
287 recovery_time = d.cycle_time - 61; in qd6580_tune_drive()
292 if (d.cycle_time >= 180) { in qd6580_tune_drive()
294 recovery_time = d.cycle_time - 120; in qd6580_tune_drive()
297 recovery_time = d.cycle_time in qd6580_tune_drive()
Dali14xx.c135 time1 = d.cycle_time; in ali14xx_tune_drive()
Dht6560b.c229 recovery_time = d.cycle_time in ht_pio2timings()
/linux-2.4.37.9/drivers/ieee1394/
Dcsr.c135 host->csr.cycle_time = 0; in add_host()
261 oldcycle = host->csr.cycle_time; in read_regs()
262 host->csr.cycle_time = in read_regs()
265 if (oldcycle > host->csr.cycle_time) { in read_regs()
269 *(buf++) = cpu_to_be32(host->csr.cycle_time); in read_regs()
272 oldcycle = host->csr.cycle_time; in read_regs()
273 host->csr.cycle_time = in read_regs()
276 if (oldcycle > host->csr.cycle_time) { in read_regs()
281 | (host->csr.cycle_time >> 25)); in read_regs()
385 host->csr.cycle_time = be32_to_cpu(*data); in write_regs()
Dcsr.h45 quadlet_t cycle_time; member
/linux-2.4.37.9/drivers/ide/pci/
Dsis5513.c222 static char* cycle_time[] = { variable
274 cycle_time[(regdw0 & 0xF0) >> 4], in get_drives_info()
275 cycle_time[(regdw1 & 0xF0) >> 4]); in get_drives_info()
283 case ATA_33: p += sprintf(p, cycle_time[(reg01 & 0x60) >> 5]); break; in get_drives_info()
285 case ATA_100a: p += sprintf(p, cycle_time[(reg01 & 0x70) >> 4]); break; in get_drives_info()
287 case ATA_133a: p += sprintf(p, cycle_time[reg01 & 0x0F]); break; in get_drives_info()
292 case ATA_33: p += sprintf(p, cycle_time[(reg11 & 0x60) >> 5]); break; in get_drives_info()
294 case ATA_100a: p += sprintf(p, cycle_time[(reg11 & 0x70) >> 4]); break; in get_drives_info()
296 case ATA_133a: p += sprintf(p, cycle_time[reg11 & 0x0F]); break; in get_drives_info()
Dcmd640.c583 static void cmd640_set_mode (unsigned int index, u8 pio_mode, unsigned int cycle_time) in cmd640_set_mode() argument
593 recovery_time = cycle_time - (setup_time + active_time); in cmd640_set_mode()
595 cycle_count = (cycle_time + clock_time - 1) / clock_time; in cmd640_set_mode()
670 cmd640_set_mode (index, d.pio_mode, d.cycle_time); in cmd640_tune_drive()
675 d.cycle_time, in cmd640_tune_drive()
Dcmd64x.c253 int clock_time, pio_mode, cycle_time; in cmd64x_tuneproc() local
272 cycle_time = d.cycle_time; in cmd64x_tuneproc()
282 recovery_time = cycle_time - (setup_time + active_time); in cmd64x_tuneproc()
284 cycle_count = (cycle_time + clock_time - 1) / clock_time; in cmd64x_tuneproc()
314 drive->name, pio_mode, mode_wanted, cycle_time, in cmd64x_tuneproc()
Dsl82c105.c64 cmd_off = (p->cycle_time - 30 * cmd_on + 29) / 30; in get_timing_sl82c105()
115 ide_xfer_verbose(xfer_mode), p.cycle_time, drv_ctrl); in config_for_pio()
Dopti621.c229 clks->recovery_time = cmpt_clk(ide_pio_timings[pio].cycle_time in compute_clocks()
Dcy82c693.c106 clk2 = ide_pio_timings[pio].cycle_time - in compute_clocks()
Dalim15x3.c315 c_time = ide_pio_timings[pio].cycle_time; in ali15x3_tune_drive()
/linux-2.4.37.9/drivers/ide/ppc/
Dmpc8xx.c241 ide_pio_clocks[i].cycle_time = in m8xx_ide_init_hwif_ports()
242 PCMCIA_MK_CLKS (ide_pio_timings[i].cycle_time, in m8xx_ide_init_hwif_ports()
250 ide_pio_clocks[i].cycle_time, in m8xx_ide_init_hwif_ports()
254 ide_pio_timings[i].cycle_time); in m8xx_ide_init_hwif_ports()
Dpmac.c274 int cycle_time; member
319 kauai_lookup_timing(struct kauai_timing* table, int cycle_time) in kauai_lookup_timing() argument
323 for (i=0; table[i].cycle_time; i++) in kauai_lookup_timing()
324 if (cycle_time > table[i+1].cycle_time) in kauai_lookup_timing()
554 u32 tr = kauai_lookup_timing(kauai_pio_timings, d.cycle_time); in pmac_ide_tuneproc()
562 recTime = d.cycle_time - ide_pio_timings[pio].active_time in pmac_ide_tuneproc()
578 recTime = d.cycle_time - ide_pio_timings[pio].active_time in pmac_ide_tuneproc()
/linux-2.4.37.9/drivers/pcmcia/
Di82092.c350 static int cycle_time = 120; variable
354 if (cycle_time!=0) in to_cycles()
355 return ns/cycle_time; in to_cycles()
362 return cycle_time*cycles; in to_ns()
Dtcic.c101 static int cycle_time = 70; variable
111 MODULE_PARM(cycle_time, "i");
226 return 2*(ns-14)/cycle_time; in to_cycles()
231 return (cycles*cycle_time)/2 + 14; in to_ns()
Di82365.c107 static int cycle_time = 120; variable
136 MODULE_PARM(cycle_time, "i");
582 return ns/cycle_time; in to_cycles()
587 return cycle_time*cycles; in to_ns()