Home
last modified time | relevance | path

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

/drivers/ide/
Dqd65xx.c215 unsigned int cycle_time; in qd6580_set_pio_mode() local
221 cycle_time = ide_pio_cycle_time(drive, pio); in qd6580_set_pio_mode()
226 if (cycle_time >= 110) { in qd6580_set_pio_mode()
228 recovery_time = cycle_time - 102; in qd6580_set_pio_mode()
233 if (cycle_time >= 69) { in qd6580_set_pio_mode()
235 recovery_time = cycle_time - 61; in qd6580_set_pio_mode()
240 if (cycle_time >= 180) { in qd6580_set_pio_mode()
242 recovery_time = cycle_time - 120; in qd6580_set_pio_mode()
245 recovery_time = cycle_time - active_time; in qd6580_set_pio_mode()
Dicside.c239 unsigned long cycle_time = 0; in icside_set_dma_mode() local
245 cycle_time = 250; in icside_set_dma_mode()
250 cycle_time = 250; in icside_set_dma_mode()
255 cycle_time = 480; in icside_set_dma_mode()
261 cycle_time = 480; in icside_set_dma_mode()
269 if (use_dma_info && drive->id[ATA_ID_EIDE_DMA_TIME] > cycle_time) in icside_set_dma_mode()
270 cycle_time = drive->id[ATA_ID_EIDE_DMA_TIME]; in icside_set_dma_mode()
272 ide_set_drivedata(drive, (void *)cycle_time); in icside_set_dma_mode()
276 2000 / (cycle_time ? cycle_time : (unsigned long) -1)); in icside_set_dma_mode()
Dcmd640.c515 u8 pio_mode, unsigned int cycle_time) in cmd640_set_mode() argument
534 recovery_time = cycle_time - (setup_time + active_time); in cmd640_set_mode()
536 cycle_count = DIV_ROUND_UP(cycle_time, clock_time); in cmd640_set_mode()
578 unsigned int index = 0, cycle_time; in cmd640_set_pio_mode() local
600 cycle_time = ide_pio_cycle_time(drive, pio); in cmd640_set_pio_mode()
601 cmd640_set_mode(drive, index, pio, cycle_time); in cmd640_set_pio_mode()
604 drive->name, pio, cycle_time); in cmd640_set_pio_mode()
Dht6560b.c206 unsigned int cycle_time; in ht_pio2timings() local
209 cycle_time = ide_pio_cycle_time(drive, pio); in ht_pio2timings()
217 recovery_time = cycle_time - active_time - t->setup; in ht_pio2timings()
Dpmac.c289 int cycle_time; member
378 kauai_lookup_timing(struct kauai_timing* table, int cycle_time) in kauai_lookup_timing() argument
382 for (i=0; table[i].cycle_time; i++) in kauai_lookup_timing()
383 if (cycle_time > table[i+1].cycle_time) in kauai_lookup_timing()
506 unsigned int cycle_time; in pmac_ide_set_pio_mode() local
512 cycle_time = ide_pio_cycle_time(drive, pio); in pmac_ide_set_pio_mode()
517 u32 tr = kauai_lookup_timing(shasta_pio_timings, cycle_time); in pmac_ide_set_pio_mode()
524 u32 tr = kauai_lookup_timing(kauai_pio_timings, cycle_time); in pmac_ide_set_pio_mode()
530 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
545 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
Dpalm_bk3710.c209 unsigned int cycle_time; in palm_bk3710_set_pio_mode() local
218 cycle_time = ide_pio_cycle_time(drive, pio); in palm_bk3710_set_pio_mode()
220 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); in palm_bk3710_set_pio_mode()
/drivers/pcmcia/
Di82092.c282 static int cycle_time = 120; variable
286 if (cycle_time!=0) in to_cycles()
287 return ns/cycle_time; in to_cycles()
Dtcic.c86 static int cycle_time = 70; variable
96 module_param(cycle_time, int, 0444);
195 return 2*(ns-14)/cycle_time; in to_cycles()
Di82365.c94 static int cycle_time = 120; variable
123 module_param(cycle_time, int, 0444);
567 return ns/cycle_time; in to_cycles()
/drivers/ata/
Dpata_samsung_cf.c109 int cycle_time; in pata_s3c_set_piomode() local
119 cycle_time = (int)(1000000000UL / clk_get_rate(info->clk)); in pata_s3c_set_piomode()
122 cycle_time * 1000, 0); in pata_s3c_set_piomode()
/drivers/firewire/
Dcore-cdev.c1209 u32 cycle_time; in ioctl_get_cycle_timer2() local
1214 cycle_time = card->driver->read_csr(card, CSR_CYCLE_TIME); in ioctl_get_cycle_timer2()
1228 a->cycle_timer = cycle_time; in ioctl_get_cycle_timer2()