Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 25 of 52) sorted by relevance

123

/drivers/ata/
Dpata_scc.c515 unsigned long deadline) in scc_wait_after_reset() argument
536 rc = ata_sff_wait_ready(link, deadline); in scc_wait_after_reset()
565 rc = ata_sff_wait_ready(link, deadline); in scc_wait_after_reset()
590 unsigned long deadline) in scc_bus_softreset() argument
603 scc_wait_after_reset(&ap->link, devmask, deadline); in scc_bus_softreset()
618 unsigned long deadline) in scc_softreset() argument
638 err_mask = scc_bus_softreset(ap, devmask, deadline); in scc_softreset()
707 unsigned long deadline = ata_deadline(jiffies, ATA_TMOUT_BOOT); in scc_bmdma_stop() local
711 scc_softreset(&ap->link, &classes, deadline); in scc_bmdma_stop()
Dlibata-eh.c2525 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2534 return reset(link, classes, deadline); in ata_do_reset()
2562 unsigned long deadline, now; in ata_eh_reset() local
2582 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2584 if (time_before(now, deadline)) in ata_eh_reset()
2585 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2626 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2634 rc = prereset(link, deadline); in ata_eh_reset()
2643 tmp = prereset(slave, deadline); in ata_eh_reset()
2687 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
[all …]
Dsata_sil24.c347 unsigned long deadline);
349 unsigned long deadline);
351 unsigned long deadline);
658 unsigned long deadline) in sil24_softreset() argument
676 if (time_after(deadline, jiffies)) in sil24_softreset()
677 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset()
702 unsigned long deadline) in sil24_hardreset() argument
749 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset()
943 unsigned long deadline) in sil24_pmp_hardreset() argument
953 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
Dpata_jmicron.c42 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()
Dpata_marvell.c68 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()
Dpata_samsung_cf.c321 unsigned long deadline) in pata_s3c_wait_after_reset() argument
328 rc = ata_sff_wait_ready(link, deadline); in pata_s3c_wait_after_reset()
342 unsigned long deadline) in pata_s3c_bus_softreset() argument
354 return pata_s3c_wait_after_reset(&ap->link, deadline); in pata_s3c_bus_softreset()
361 unsigned long deadline) in pata_s3c_softreset() argument
376 rc = pata_s3c_bus_softreset(ap, deadline); in pata_s3c_softreset()
Dpata_opti.c54 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()
Dpata_ns87410.c40 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()
Dsata_svw.c146 unsigned int *class, unsigned long deadline) in k2_sata_softreset() argument
159 return ata_sff_softreset(link, class, deadline); in k2_sata_softreset()
163 unsigned int *class, unsigned long deadline) in k2_sata_hardreset() argument
176 return sata_sff_hardreset(link, class, deadline); in k2_sata_hardreset()
Dpata_triflex.c56 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()
Dpata_mpiix.c49 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()
Dpata_oldpiix.c38 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()
Dlibata-sff.c277 int ata_sff_wait_ready(struct ata_link *link, unsigned long deadline) in ata_sff_wait_ready() argument
279 return ata_wait_ready(link, deadline, ata_sff_check_ready); in ata_sff_wait_ready()
1786 int ata_sff_prereset(struct ata_link *link, unsigned long deadline) in ata_sff_prereset() argument
1791 rc = ata_std_prereset(link, deadline); in ata_sff_prereset()
1801 rc = ata_sff_wait_ready(link, deadline); in ata_sff_prereset()
1945 unsigned long deadline) in ata_sff_wait_after_reset() argument
1956 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
1985 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
2005 unsigned long deadline) in ata_bus_softreset() argument
2020 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset()
[all …]
Dlibahci.c84 unsigned long deadline);
86 unsigned long deadline);
88 unsigned long deadline);
1247 int pmp, unsigned long deadline, in ahci_do_softreset() argument
1269 if (time_after(deadline, now)) in ahci_do_softreset()
1270 msecs = jiffies_to_msecs(deadline - now); in ahci_do_softreset()
1288 rc = ata_wait_after_reset(link, deadline, check_ready); in ahci_do_softreset()
1322 unsigned long deadline) in ahci_softreset() argument
1328 return ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_softreset()
1349 unsigned long deadline) in ahci_pmp_retry_softreset() argument
[all …]
Dlibata-core.c3349 int ata_wait_ready(struct ata_link *link, unsigned long deadline, in ata_wait_ready() argument
3368 if (time_after(nodev_deadline, deadline)) in ata_wait_ready()
3369 nodev_deadline = deadline; in ata_wait_ready()
3401 if (time_after(now, deadline)) in ata_wait_ready()
3405 (deadline - now > 3 * HZ)) { in ata_wait_ready()
3430 int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, in ata_wait_after_reset() argument
3435 return ata_wait_ready(link, deadline, check_ready); in ata_wait_after_reset()
3461 unsigned long deadline) in sata_link_debounce() argument
3470 if (time_before(t, deadline)) in sata_link_debounce()
3471 deadline = t; in sata_link_debounce()
[all …]
Dpata_amd.c132 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()
330 static int nv_pre_reset(struct ata_link *link, unsigned long deadline) in nv_pre_reset() argument
343 return ata_sff_prereset(link, deadline); in nv_pre_reset()
Dpata_it8213.c33 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()
Dpata_efar.c37 static int efar_pre_reset(struct ata_link *link, unsigned long deadline) in efar_pre_reset() argument
49 return ata_sff_prereset(link, deadline); in efar_pre_reset()
Dpata_acpi.c38 static int pacpi_pre_reset(struct ata_link *link, unsigned long deadline) in pacpi_pre_reset() argument
45 return ata_sff_prereset(link, deadline); in pacpi_pre_reset()
Dahci.c85 unsigned long deadline);
87 unsigned long deadline);
524 unsigned long deadline) in ahci_vt8251_hardreset() argument
535 deadline, &online, NULL); in ahci_vt8251_hardreset()
548 unsigned long deadline) in ahci_p5wdh_hardreset() argument
565 deadline, &online, NULL); in ahci_p5wdh_hardreset()
Dpata_sl82c105.c52 static int sl82c105_pre_reset(struct ata_link *link, unsigned long deadline) in sl82c105_pre_reset() argument
63 return ata_sff_prereset(link, deadline); in sl82c105_pre_reset()
Dpata_atiixp.c60 static int atiixp_prereset(struct ata_link *link, unsigned long deadline) in atiixp_prereset() argument
73 return ata_sff_prereset(link, deadline); in atiixp_prereset()
/drivers/staging/phison/
Dphison.c31 static int phison_pre_reset(struct ata_link *link, unsigned long deadline) in phison_pre_reset() argument
37 ret = ata_std_prereset(link, deadline); in phison_pre_reset()
/drivers/scsi/fcoe/
Dfcoe_ctlr.c718 unsigned long deadline; in fcoe_ctlr_age_fcfs() local
725 deadline = fcf->time + fcf->fka_period + fcf->fka_period / 2; in fcoe_ctlr_age_fcfs()
727 if (time_after(jiffies, deadline)) { in fcoe_ctlr_age_fcfs()
734 } else if (time_after(next_timer, deadline)) in fcoe_ctlr_age_fcfs()
735 next_timer = deadline; in fcoe_ctlr_age_fcfs()
738 deadline += fcf->fka_period; in fcoe_ctlr_age_fcfs()
739 if (time_after_eq(jiffies, deadline)) { in fcoe_ctlr_age_fcfs()
748 if (time_after(next_timer, deadline)) in fcoe_ctlr_age_fcfs()
749 next_timer = deadline; in fcoe_ctlr_age_fcfs()
2487 unsigned long deadline; in fcoe_ctlr_vn_age() local
[all …]
/drivers/mtd/devices/
Dsst25l.c130 unsigned long deadline; in sst25l_wait_till_ready() local
133 deadline = jiffies + MAX_READY_WAIT_JIFFIES; in sst25l_wait_till_ready()
142 } while (!time_after_eq(jiffies, deadline)); in sst25l_wait_till_ready()

123