/drivers/ata/ |
D | pata_scc.c | 505 unsigned long deadline) in scc_wait_after_reset() argument 526 rc = ata_sff_wait_ready(link, deadline); in scc_wait_after_reset() 555 rc = ata_sff_wait_ready(link, deadline); in scc_wait_after_reset() 580 unsigned long deadline) in scc_bus_softreset() argument 593 scc_wait_after_reset(&ap->link, devmask, deadline); in scc_bus_softreset() 608 unsigned long deadline) in scc_softreset() argument 628 err_mask = scc_bus_softreset(ap, devmask, deadline); in scc_softreset() 698 unsigned long deadline = ata_deadline(jiffies, ATA_TMOUT_BOOT); in scc_bmdma_stop() local 702 scc_softreset(&ap->link, &classes, deadline); in scc_bmdma_stop() 873 static int scc_pata_prereset(struct ata_link *link, unsigned long deadline) in scc_pata_prereset() argument [all …]
|
D | libata-eh.c | 2284 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument 2293 return reset(link, classes, deadline); in ata_do_reset() 2322 unsigned long deadline, now; in ata_eh_reset() local 2342 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset() 2344 if (time_before(now, deadline)) in ata_eh_reset() 2345 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset() 2385 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local 2393 rc = prereset(link, deadline); in ata_eh_reset() 2402 tmp = prereset(slave, deadline); in ata_eh_reset() 2446 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset() [all …]
|
D | pata_artop.c | 43 static int artop6210_pre_reset(struct ata_link *link, unsigned long deadline) in artop6210_pre_reset() argument 55 return ata_sff_prereset(link, deadline); in artop6210_pre_reset() 67 static int artop6260_pre_reset(struct ata_link *link, unsigned long deadline) in artop6260_pre_reset() argument 81 return ata_sff_prereset(link, deadline); in artop6260_pre_reset()
|
D | sata_sil24.c | 347 unsigned long deadline); 349 unsigned long deadline); 351 unsigned long deadline); 649 unsigned long deadline) in sil24_softreset() argument 667 if (time_after(deadline, jiffies)) in sil24_softreset() 668 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset() 693 unsigned long deadline) in sil24_hardreset() argument 740 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset() 918 unsigned long deadline) in sil24_pmp_hardreset() argument 929 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
|
D | ahci.c | 299 unsigned long deadline); 301 unsigned long deadline); 303 unsigned long deadline); 305 unsigned long deadline); 307 unsigned long deadline); 1634 int pmp, unsigned long deadline, in ahci_do_softreset() argument 1656 if (time_after(now, deadline)) in ahci_do_softreset() 1657 msecs = jiffies_to_msecs(deadline - now); in ahci_do_softreset() 1675 rc = ata_wait_after_reset(link, deadline, check_ready); in ahci_do_softreset() 1700 unsigned long deadline) in ahci_softreset() argument [all …]
|
D | pata_jmicron.c | 42 static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) in jmicron_pre_reset() argument 105 return ata_sff_prereset(link, deadline); in jmicron_pre_reset()
|
D | pata_marvell.c | 68 static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) in marvell_pre_reset() argument 77 return ata_sff_prereset(link, deadline); in marvell_pre_reset()
|
D | pata_triflex.c | 56 static int triflex_prereset(struct ata_link *link, unsigned long deadline) in triflex_prereset() argument 69 return ata_sff_prereset(link, deadline); in triflex_prereset()
|
D | pata_ns87410.c | 40 static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) in ns87410_pre_reset() argument 52 return ata_sff_prereset(link, deadline); in ns87410_pre_reset()
|
D | pata_opti.c | 54 static int opti_pre_reset(struct ata_link *link, unsigned long deadline) in opti_pre_reset() argument 66 return ata_sff_prereset(link, deadline); in opti_pre_reset()
|
D | libata-sff.c | 437 int ata_sff_wait_ready(struct ata_link *link, unsigned long deadline) in ata_sff_wait_ready() argument 439 return ata_wait_ready(link, deadline, ata_sff_check_ready); in ata_sff_wait_ready() 1839 int ata_sff_prereset(struct ata_link *link, unsigned long deadline) in ata_sff_prereset() argument 1844 rc = ata_std_prereset(link, deadline); in ata_sff_prereset() 1854 rc = ata_sff_wait_ready(link, deadline); in ata_sff_prereset() 1997 unsigned long deadline) in ata_sff_wait_after_reset() argument 2008 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset() 2037 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset() 2057 unsigned long deadline) in ata_bus_softreset() argument 2072 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset() [all …]
|
D | pata_mpiix.c | 49 static int mpiix_pre_reset(struct ata_link *link, unsigned long deadline) in mpiix_pre_reset() argument 58 return ata_sff_prereset(link, deadline); in mpiix_pre_reset()
|
D | pata_oldpiix.c | 38 static int oldpiix_pre_reset(struct ata_link *link, unsigned long deadline) in oldpiix_pre_reset() argument 50 return ata_sff_prereset(link, deadline); in oldpiix_pre_reset()
|
D | libata-core.c | 3555 int ata_wait_ready(struct ata_link *link, unsigned long deadline, in ata_wait_ready() argument 3568 if (time_after(nodev_deadline, deadline)) in ata_wait_ready() 3569 nodev_deadline = deadline; in ata_wait_ready() 3601 if (time_after(now, deadline)) in ata_wait_ready() 3605 (deadline - now > 3 * HZ)) { in ata_wait_ready() 3630 int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, in ata_wait_after_reset() argument 3635 return ata_wait_ready(link, deadline, check_ready); in ata_wait_after_reset() 3661 unsigned long deadline) in sata_link_debounce() argument 3670 if (time_before(t, deadline)) in sata_link_debounce() 3671 deadline = t; in sata_link_debounce() [all …]
|
D | pata_amd.c | 132 static int amd_pre_reset(struct ata_link *link, unsigned long deadline) in amd_pre_reset() argument 145 return ata_sff_prereset(link, deadline); in amd_pre_reset() 327 static int nv_pre_reset(struct ata_link *link, unsigned long deadline) in nv_pre_reset() argument 340 return ata_sff_prereset(link, deadline); in nv_pre_reset()
|
D | pata_sl82c105.c | 51 static int sl82c105_pre_reset(struct ata_link *link, unsigned long deadline) in sl82c105_pre_reset() argument 62 return ata_sff_prereset(link, deadline); in sl82c105_pre_reset()
|
D | pata_efar.c | 36 static int efar_pre_reset(struct ata_link *link, unsigned long deadline) in efar_pre_reset() argument 48 return ata_sff_prereset(link, deadline); in efar_pre_reset()
|
D | pata_it8213.c | 33 static int it8213_pre_reset(struct ata_link *link, unsigned long deadline) in it8213_pre_reset() argument 43 return ata_sff_prereset(link, deadline); in it8213_pre_reset()
|
D | pata_acpi.c | 37 static int pacpi_pre_reset(struct ata_link *link, unsigned long deadline) in pacpi_pre_reset() argument 44 return ata_sff_prereset(link, deadline); in pacpi_pre_reset()
|
D | sata_promise.c | 157 unsigned long deadline); 159 unsigned long deadline); 703 unsigned long deadline) in pdc_pata_softreset() argument 706 return ata_sff_softreset(link, class, deadline); in pdc_pata_softreset() 710 unsigned long deadline) in pdc_sata_hardreset() argument 713 return sata_sff_hardreset(link, class, deadline); in pdc_sata_hardreset()
|
D | pata_hpt37x.c | 313 static int hpt37x_pre_reset(struct ata_link *link, unsigned long deadline) in hpt37x_pre_reset() argument 341 return ata_sff_prereset(link, deadline); in hpt37x_pre_reset() 344 static int hpt374_fn1_pre_reset(struct ata_link *link, unsigned long deadline) in hpt374_fn1_pre_reset() argument 377 return ata_sff_prereset(link, deadline); in hpt374_fn1_pre_reset()
|
D | pata_pdc2027x.c | 66 static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline); 246 static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline) in pdc2027x_prereset() argument 251 return ata_sff_prereset(link, deadline); in pdc2027x_prereset()
|
D | sata_via.c | 82 static int vt6420_prereset(struct ata_link *link, unsigned long deadline); 331 static int vt6420_prereset(struct ata_link *link, unsigned long deadline) in vt6420_prereset() argument 376 ata_sff_wait_ready(link, deadline); in vt6420_prereset()
|
D | pata_optidma.c | 55 static int optidma_pre_reset(struct ata_link *link, unsigned long deadline) in optidma_pre_reset() argument 66 return ata_sff_prereset(link, deadline); in optidma_pre_reset()
|
/drivers/parport/ |
D | ieee1284.c | 175 unsigned long deadline; in parport_wait_peripheral() local 200 deadline = jiffies + msecs_to_jiffies(40); in parport_wait_peripheral() 201 while (time_before (jiffies, deadline)) { in parport_wait_peripheral()
|