Home
last modified time | relevance | path

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

1234

/drivers/spi/
Dspi-bcm53xx.c41 unsigned long deadline; in bcm53xxspi_disable_bspi() local
51 deadline = jiffies + usecs_to_jiffies(200); in bcm53xxspi_disable_bspi()
62 } while (!time_after_eq(jiffies, deadline)); in bcm53xxspi_disable_bspi()
90 unsigned long deadline; in bcm53xxspi_wait() local
94 deadline = jiffies + msecs_to_jiffies(BCM53XXSPI_SPE_TIMEOUT_MS); in bcm53xxspi_wait()
100 } while (!time_after_eq(jiffies, deadline)); in bcm53xxspi_wait()
106 deadline = jiffies + msecs_to_jiffies(timeout_ms); in bcm53xxspi_wait()
116 } while (!time_after_eq(jiffies, deadline)); in bcm53xxspi_wait()
/drivers/ata/
Dahci_xgene.c130 unsigned long deadline; in xgene_ahci_poll_reg_val() local
134 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val()
136 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val()
364 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument
383 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset()
404 unsigned long deadline) in xgene_ahci_hardreset() argument
426 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset()
465 unsigned long deadline) in xgene_ahci_pmp_softreset() argument
482 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset()
509 unsigned long deadline) in xgene_ahci_softreset() argument
[all …]
Dahci_da850.c58 unsigned int *class, unsigned long deadline) in ahci_da850_softreset() argument
71 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_da850_softreset()
74 deadline, ahci_check_ready); in ahci_da850_softreset()
Dpata_jmicron.c41 static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) in jmicron_pre_reset() argument
104 return ata_sff_prereset(link, deadline); in jmicron_pre_reset()
Dpata_marvell.c67 static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) in marvell_pre_reset() argument
76 return ata_sff_prereset(link, deadline); in marvell_pre_reset()
Dpata_samsung_cf.c343 unsigned long deadline) in pata_s3c_wait_after_reset() argument
350 rc = ata_sff_wait_ready(link, deadline); in pata_s3c_wait_after_reset()
364 unsigned long deadline) in pata_s3c_bus_softreset() argument
376 return pata_s3c_wait_after_reset(&ap->link, deadline); in pata_s3c_bus_softreset()
383 unsigned long deadline) in pata_s3c_softreset() argument
398 rc = pata_s3c_bus_softreset(ap, deadline); in pata_s3c_softreset()
Dsata_sil24.c347 unsigned long deadline);
349 unsigned long deadline);
351 unsigned long deadline);
657 unsigned long deadline) in sil24_softreset() argument
675 if (time_after(deadline, jiffies)) in sil24_softreset()
676 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset()
701 unsigned long deadline) in sil24_hardreset() argument
748 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset()
942 unsigned long deadline) in sil24_pmp_hardreset() argument
952 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
Dlibata-eh.c2705 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2714 return reset(link, classes, deadline); in ata_do_reset()
2742 unsigned long deadline, now; in ata_eh_reset() local
2764 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2766 if (time_before(now, deadline)) in ata_eh_reset()
2767 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2808 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2816 rc = prereset(link, deadline); in ata_eh_reset()
2825 tmp = prereset(slave, deadline); in ata_eh_reset()
2869 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
[all …]
Dpata_opti.c53 static int opti_pre_reset(struct ata_link *link, unsigned long deadline) in opti_pre_reset() argument
65 return ata_sff_prereset(link, deadline); in opti_pre_reset()
Dpata_ns87410.c39 static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) in ns87410_pre_reset() argument
51 return ata_sff_prereset(link, deadline); in ns87410_pre_reset()
Dahci.c90 unsigned long deadline);
92 unsigned long deadline);
96 unsigned long deadline);
673 unsigned long deadline) in ahci_vt8251_hardreset() argument
685 deadline, &online, NULL); in ahci_vt8251_hardreset()
698 unsigned long deadline) in ahci_p5wdh_hardreset() argument
716 deadline, &online, NULL); in ahci_p5wdh_hardreset()
758 unsigned long deadline) in ahci_avn_hardreset() argument
765 unsigned long tmo = deadline - jiffies; in ahci_avn_hardreset()
786 rc = sata_link_hardreset(link, timing, deadline, &online, in ahci_avn_hardreset()
[all …]
Dpata_ep93xx.c548 unsigned long deadline) in ep93xx_pata_wait_after_reset() argument
559 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset()
593 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset()
612 unsigned long deadline) in ep93xx_pata_bus_softreset() argument
623 return ep93xx_pata_wait_after_reset(&ap->link, devmask, deadline); in ep93xx_pata_bus_softreset()
804 unsigned long deadline) in ep93xx_pata_softreset() argument
822 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); in ep93xx_pata_softreset()
Dpata_triflex.c55 static int triflex_prereset(struct ata_link *link, unsigned long deadline) in triflex_prereset() argument
68 return ata_sff_prereset(link, deadline); in triflex_prereset()
Dsata_svw.c141 unsigned int *class, unsigned long deadline) in k2_sata_softreset() argument
154 return ata_sff_softreset(link, class, deadline); in k2_sata_softreset()
158 unsigned int *class, unsigned long deadline) in k2_sata_hardreset() argument
171 return sata_sff_hardreset(link, class, deadline); in k2_sata_hardreset()
Dpata_mpiix.c48 static int mpiix_pre_reset(struct ata_link *link, unsigned long deadline) in mpiix_pre_reset() argument
57 return ata_sff_prereset(link, deadline); in mpiix_pre_reset()
Dpata_oldpiix.c37 static int oldpiix_pre_reset(struct ata_link *link, unsigned long deadline) in oldpiix_pre_reset() argument
49 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()
1788 int ata_sff_prereset(struct ata_link *link, unsigned long deadline) in ata_sff_prereset() argument
1793 rc = ata_std_prereset(link, deadline); in ata_sff_prereset()
1803 rc = ata_sff_wait_ready(link, deadline); in ata_sff_prereset()
1947 unsigned long deadline) in ata_sff_wait_after_reset() argument
1958 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
1987 rc = ata_sff_wait_ready(link, deadline); in ata_sff_wait_after_reset()
2007 unsigned long deadline) in ata_bus_softreset() argument
2024 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset()
[all …]
Dpata_amd.c131 static int amd_pre_reset(struct ata_link *link, unsigned long deadline) in amd_pre_reset() argument
144 return ata_sff_prereset(link, deadline); in amd_pre_reset()
329 static int nv_pre_reset(struct ata_link *link, unsigned long deadline) in nv_pre_reset() argument
342 return ata_sff_prereset(link, deadline); in nv_pre_reset()
Dpata_efar.c36 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()
/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/mfd/
Dcros_ec_spi.c175 unsigned long deadline; in cros_ec_spi_receive_packet() local
181 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_packet()
207 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_packet()
283 unsigned long deadline; in cros_ec_spi_receive_response() local
289 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_response()
315 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_response()
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c25 unsigned long deadline = jiffies + msecs_to_jiffies(timeout); in _rtl92e_wait_for_fw() local
27 while (time_before(jiffies, deadline)) { in _rtl92e_wait_for_fw()
/drivers/phy/
Dphy-bcm-ns-usb3.c56 unsigned long deadline = jiffies + timeout; in bcm_ns_usb3_wait_reg() local
65 } while (!time_after_eq(jiffies, deadline)); in bcm_ns_usb3_wait_reg()
/drivers/mtd/devices/
Dsst25l.c129 unsigned long deadline; in sst25l_wait_till_ready() local
132 deadline = jiffies + MAX_READY_WAIT_JIFFIES; in sst25l_wait_till_ready()
141 } while (!time_after_eq(jiffies, deadline)); in sst25l_wait_till_ready()

1234