Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/ide/
Dqd65xx.c216 unsigned int cycle_time; in qd6580_set_pio_mode() local
222 cycle_time = ide_pio_cycle_time(drive, pio); in qd6580_set_pio_mode()
227 if (cycle_time >= 110) { in qd6580_set_pio_mode()
229 recovery_time = cycle_time - 102; in qd6580_set_pio_mode()
234 if (cycle_time >= 69) { in qd6580_set_pio_mode()
236 recovery_time = cycle_time - 61; in qd6580_set_pio_mode()
241 if (cycle_time >= 180) { in qd6580_set_pio_mode()
243 recovery_time = cycle_time - 120; in qd6580_set_pio_mode()
246 recovery_time = cycle_time - active_time; in qd6580_set_pio_mode()
Dicside.c240 unsigned long cycle_time = 0; in icside_set_dma_mode() local
246 cycle_time = 250; in icside_set_dma_mode()
251 cycle_time = 250; in icside_set_dma_mode()
256 cycle_time = 480; in icside_set_dma_mode()
262 cycle_time = 480; in icside_set_dma_mode()
270 if (use_dma_info && drive->id[ATA_ID_EIDE_DMA_TIME] > cycle_time) in icside_set_dma_mode()
271 cycle_time = drive->id[ATA_ID_EIDE_DMA_TIME]; in icside_set_dma_mode()
273 ide_set_drivedata(drive, (void *)cycle_time); in icside_set_dma_mode()
277 2000 / (cycle_time ? cycle_time : (unsigned long) -1)); in icside_set_dma_mode()
Dcmd640.c516 u8 pio_mode, unsigned int cycle_time) in cmd640_set_mode() argument
535 recovery_time = cycle_time - (setup_time + active_time); in cmd640_set_mode()
537 cycle_count = DIV_ROUND_UP(cycle_time, clock_time); in cmd640_set_mode()
579 unsigned int index = 0, cycle_time; in cmd640_set_pio_mode() local
601 cycle_time = ide_pio_cycle_time(drive, pio); in cmd640_set_pio_mode()
602 cmd640_set_mode(drive, index, pio, cycle_time); in cmd640_set_pio_mode()
605 drive->name, pio, cycle_time); in cmd640_set_pio_mode()
Dht6560b.c207 unsigned int cycle_time; in ht_pio2timings() local
210 cycle_time = ide_pio_cycle_time(drive, pio); in ht_pio2timings()
218 recovery_time = cycle_time - active_time - t->setup; in ht_pio2timings()
Dpmac.c283 int cycle_time; member
372 kauai_lookup_timing(struct kauai_timing* table, int cycle_time) in kauai_lookup_timing() argument
376 for (i=0; table[i].cycle_time; i++) in kauai_lookup_timing()
377 if (cycle_time > table[i+1].cycle_time) in kauai_lookup_timing()
500 unsigned int cycle_time; in pmac_ide_set_pio_mode() local
506 cycle_time = ide_pio_cycle_time(drive, pio); in pmac_ide_set_pio_mode()
511 u32 tr = kauai_lookup_timing(shasta_pio_timings, cycle_time); in pmac_ide_set_pio_mode()
518 u32 tr = kauai_lookup_timing(kauai_pio_timings, cycle_time); in pmac_ide_set_pio_mode()
524 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
539 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
Dpalm_bk3710.c196 unsigned int cycle_time; in palm_bk3710_set_pio_mode() local
205 cycle_time = ide_pio_cycle_time(drive, pio); in palm_bk3710_set_pio_mode()
207 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); in palm_bk3710_set_pio_mode()
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_tas.c276 max_cycle_time = max(offload->cycle_time, admin->cycle_time); in sja1105_tas_check_conflicts()
277 min_cycle_time = min(offload->cycle_time, admin->cycle_time); in sja1105_tas_check_conflicts()
286 div_s64_rem(offload->base_time, offload->cycle_time, &rem); in sja1105_tas_check_conflicts()
289 div_s64_rem(admin->base_time, admin->cycle_time, &rem); in sja1105_tas_check_conflicts()
312 t1 += offload->cycle_time) { in sja1105_tas_check_conflicts()
319 t2 += admin->cycle_time) { in sja1105_tas_check_conflicts()
/Linux-v5.4/drivers/ata/
Dpata_bk3710.c205 unsigned int cycle_time = 0; in pata_bk3710_set_piomode() local
211 cycle_time = id[ATA_ID_EIDE_PIO_IORDY]; in pata_bk3710_set_piomode()
213 cycle_time = id[ATA_ID_EIDE_PIO]; in pata_bk3710_set_piomode()
216 if (pio < 3 && cycle_time < t->cycle) in pata_bk3710_set_piomode()
217 cycle_time = 0; /* use standard timing */ in pata_bk3710_set_piomode()
220 if (!cycle_time) in pata_bk3710_set_piomode()
221 cycle_time = t->cycle; in pata_bk3710_set_piomode()
223 pata_bk3710_setpiomode(base, pair, is_slave, cycle_time, pio); in pata_bk3710_set_piomode()
Dpata_samsung_cf.c107 int cycle_time; in pata_s3c_set_piomode() local
117 cycle_time = (int)(1000000000UL / clk_get_rate(info->clk)); in pata_s3c_set_piomode()
120 cycle_time * 1000, 0); in pata_s3c_set_piomode()
/Linux-v5.4/net/sched/
Dsch_taprio.c56 s64 cycle_time; member
147 div_s64_rem(time_since_sched_start, sched->cycle_time, &time_elapsed); in get_cycle_time_elapsed()
160 cycle_end = ktime_add_ns(intv_start, sched->cycle_time - cycle_elapsed); in get_interval_end_time()
210 cycle = sched->cycle_time; in find_entry_to_transmit()
402 entry->next_txtime = ktime_add(interval_start, sched->cycle_time); in get_packet_txtime()
720 oper->cycle_time); in advance_sched()
874 new->cycle_time = nla_get_s64(tb[TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME]); in parse_taprio_schedule()
882 if (!new->cycle_time) { in parse_taprio_schedule()
888 new->cycle_time = cycle; in parse_taprio_schedule()
976 cycle = sched->cycle_time; in taprio_get_start_time()
[all …]
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_dsi.c206 u32 ui, cycle_time; in mtk_dsi_phy_timconfig() local
209 cycle_time = 8000 / dsi->data_rate + 0x01; in mtk_dsi_phy_timconfig()
214 timcon2 = ((NS_TO_CYCLE(0x64, cycle_time) + 0xa) << 24) | in mtk_dsi_phy_timconfig()
215 (NS_TO_CYCLE(0x150, cycle_time) << 16); in mtk_dsi_phy_timconfig()
216 timcon3 = NS_TO_CYCLE(0x40, cycle_time) | (2 * T_LPX) << 16 | in mtk_dsi_phy_timconfig()
217 NS_TO_CYCLE(80 + 52 * ui, cycle_time) << 8; in mtk_dsi_phy_timconfig()
/Linux-v5.4/drivers/pcmcia/
Di82092.c283 static int cycle_time = 120; variable
287 if (cycle_time!=0) in to_cycles()
288 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()
/Linux-v5.4/include/net/
Dpkt_sched.h180 u64 cycle_time; member
/Linux-v5.4/drivers/firewire/
Dcore-cdev.c1196 u32 cycle_time; in ioctl_get_cycle_timer2() local
1201 cycle_time = card->driver->read_csr(card, CSR_CYCLE_TIME); in ioctl_get_cycle_timer2()
1215 a->cycle_timer = cycle_time; in ioctl_get_cycle_timer2()
/Linux-v5.4/Documentation/power/
Dpower_supply_class.rst256 Good candidates to add in future: model/part#, cycle_time, manufacturer,