Home
last modified time | relevance | path

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

1234

/drivers/ata/
Dahci_da850.c94 unsigned int *class, unsigned long deadline) in ahci_da850_softreset() argument
107 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_da850_softreset()
110 deadline, ahci_check_ready); in ahci_da850_softreset()
116 unsigned int *class, unsigned long deadline) in ahci_da850_hardreset() argument
130 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset()
Dahci_xgene.c117 unsigned long deadline; in xgene_ahci_poll_reg_val() local
121 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val()
123 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val()
351 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument
370 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset()
391 unsigned long deadline) in xgene_ahci_hardreset() argument
413 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset()
452 unsigned long deadline) in xgene_ahci_pmp_softreset() argument
469 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset()
496 unsigned long deadline) in xgene_ahci_softreset() argument
[all …]
Dahci_dm816.c104 unsigned int *class, unsigned long deadline) in ahci_dm816_softreset() argument
117 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_dm816_softreset()
120 deadline, ahci_check_ready); in ahci_dm816_softreset()
Dlibata-sata.c234 unsigned long deadline) in sata_link_debounce() argument
243 if (time_before(t, deadline)) in sata_link_debounce()
244 deadline = t; in sata_link_debounce()
261 if (cur == 1 && time_before(jiffies, deadline)) in sata_link_debounce()
276 if (time_after(jiffies, deadline)) in sata_link_debounce()
297 unsigned long deadline) in sata_link_resume() argument
338 if ((rc = sata_link_debounce(link, params, deadline))) in sata_link_resume()
543 unsigned long deadline, in sata_link_hardreset() argument
586 rc = sata_link_resume(link, timing, deadline); in sata_link_hardreset()
608 if (time_after(pmp_deadline, deadline)) in sata_link_hardreset()
[all …]
Dsata_sil24.c337 unsigned long deadline);
339 unsigned long deadline);
341 unsigned long deadline);
647 unsigned long deadline) in sil24_softreset() argument
665 if (time_after(deadline, jiffies)) in sil24_softreset()
666 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset()
691 unsigned long deadline) in sil24_hardreset() argument
738 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset()
934 unsigned long deadline) in sil24_pmp_hardreset() argument
944 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
Dlibata-eh.c2428 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2437 return reset(link, classes, deadline); in ata_do_reset()
2465 unsigned long deadline, now; in ata_eh_reset() local
2487 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2489 if (time_before(now, deadline)) in ata_eh_reset()
2490 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2531 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2539 rc = prereset(link, deadline); in ata_eh_reset()
2548 tmp = prereset(slave, deadline); in ata_eh_reset()
2592 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
[all …]
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_samsung_cf.c341 unsigned long deadline) in pata_s3c_wait_after_reset() argument
348 rc = ata_sff_wait_ready(link, deadline); in pata_s3c_wait_after_reset()
362 unsigned long deadline) in pata_s3c_bus_softreset() argument
374 return pata_s3c_wait_after_reset(&ap->link, deadline); in pata_s3c_bus_softreset()
381 unsigned long deadline) in pata_s3c_softreset() argument
396 rc = pata_s3c_bus_softreset(ap, deadline); in pata_s3c_softreset()
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_ns87410.c26 static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) in ns87410_pre_reset() argument
38 return ata_sff_prereset(link, deadline); in ns87410_pre_reset()
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_ep93xx.c549 unsigned long deadline) in ep93xx_pata_wait_after_reset() argument
560 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset()
594 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset()
613 unsigned long deadline) in ep93xx_pata_bus_softreset() argument
624 return ep93xx_pata_wait_after_reset(&ap->link, devmask, deadline); in ep93xx_pata_bus_softreset()
805 unsigned long deadline) in ep93xx_pata_softreset() argument
823 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); in ep93xx_pata_softreset()
Dpata_triflex.c43 static int triflex_prereset(struct ata_link *link, unsigned long deadline) in triflex_prereset() argument
56 return ata_sff_prereset(link, deadline); in triflex_prereset()
Dsata_svw.c125 unsigned int *class, unsigned long deadline) in k2_sata_softreset() argument
138 return ata_sff_softreset(link, class, deadline); in k2_sata_softreset()
142 unsigned int *class, unsigned long deadline) in k2_sata_hardreset() argument
155 return sata_sff_hardreset(link, class, deadline); in k2_sata_hardreset()
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()
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()
Dlibahci.c70 unsigned long deadline);
72 unsigned long deadline);
74 unsigned long deadline);
1396 int pmp, unsigned long deadline, in ahci_do_softreset() argument
1430 if (time_after(deadline, now)) in ahci_do_softreset()
1431 msecs = jiffies_to_msecs(deadline - now); in ahci_do_softreset()
1449 rc = ata_wait_after_reset(link, deadline, check_ready); in ahci_do_softreset()
1487 unsigned long deadline) in ahci_softreset() argument
1493 return ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_softreset()
1514 unsigned long deadline) in ahci_pmp_retry_softreset() argument
[all …]
Dlibata-sff.c257 int ata_sff_wait_ready(struct ata_link *link, unsigned long deadline) in ata_sff_wait_ready() argument
259 return ata_wait_ready(link, deadline, ata_sff_check_ready); in ata_sff_wait_ready()
1736 int ata_sff_prereset(struct ata_link *link, unsigned long deadline) in ata_sff_prereset() argument
1741 rc = ata_std_prereset(link, deadline); in ata_sff_prereset()
1751 rc = ata_sff_wait_ready(link, deadline); in ata_sff_prereset()
1895 unsigned long deadline) in ata_sff_wait_after_reset() argument
1906 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
1935 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
1955 unsigned long deadline) in ata_bus_softreset() argument
1972 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset()
[all …]
Dahci.c90 unsigned long deadline);
92 unsigned long deadline);
96 unsigned long deadline);
739 unsigned long deadline) in ahci_vt8251_hardreset() argument
751 deadline, &online, NULL); in ahci_vt8251_hardreset()
764 unsigned long deadline) in ahci_p5wdh_hardreset() argument
782 deadline, &online, NULL); in ahci_p5wdh_hardreset()
824 unsigned long deadline) in ahci_avn_hardreset() argument
831 unsigned long tmo = deadline - jiffies; in ahci_avn_hardreset()
852 rc = sata_link_hardreset(link, timing, deadline, &online, in ahci_avn_hardreset()
[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()
/drivers/bcma/
Ddriver_chipcommon_b.c17 unsigned long deadline = jiffies + timeout; in bcma_wait_reg() local
26 } while (!time_after_eq(jiffies, deadline)); in bcma_wait_reg()
Dcore.c15 unsigned long deadline = jiffies + timeout; in bcma_core_wait_value() local
24 } while (!time_after_eq(jiffies, deadline)); in bcma_core_wait_value()
/drivers/platform/chrome/
Dcros_ec_spi.c197 unsigned long deadline; in cros_ec_spi_receive_packet() local
203 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_packet()
229 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_packet()
305 unsigned long deadline; in cros_ec_spi_receive_response() local
311 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_response()
337 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_response()
/drivers/net/phy/mscc/
Dmscc_main.c720 unsigned long deadline; in vsc85xx_csr_read() local
749 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_csr_read()
753 } while (time_before(jiffies, deadline) && in vsc85xx_csr_read()
774 unsigned long deadline; in vsc85xx_csr_write() local
808 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_csr_write()
812 } while (time_before(jiffies, deadline) && in vsc85xx_csr_write()
835 unsigned long deadline; in vsc8584_cmd() local
843 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc8584_cmd()
846 } while (time_before(jiffies, deadline) && in vsc8584_cmd()
1824 unsigned long deadline; in __phy_write_mcb_s6g() local
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c16 unsigned long deadline = jiffies + msecs_to_jiffies(timeout); in _rtl92e_wait_for_fw() local
18 while (time_before(jiffies, deadline)) { in _rtl92e_wait_for_fw()

1234