Lines Matching refs:deadline
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()
3688 if (cur == 1 && time_before(jiffies, deadline)) in sata_link_debounce()
3703 if (time_after(jiffies, deadline)) in sata_link_debounce()
3723 unsigned long deadline) in sata_link_resume() argument
3741 if ((rc = sata_link_debounce(link, params, deadline))) in sata_link_resume()
3768 int ata_std_prereset(struct ata_link *link, unsigned long deadline) in ata_std_prereset() argument
3781 rc = sata_link_resume(link, timing, deadline); in ata_std_prereset()
3820 unsigned long deadline, in sata_link_hardreset() argument
3863 rc = sata_link_resume(link, timing, deadline); in sata_link_hardreset()
3885 if (time_after(pmp_deadline, deadline)) in sata_link_hardreset()
3886 pmp_deadline = deadline; in sata_link_hardreset()
3895 rc = ata_wait_ready(link, deadline, check_ready); in sata_link_hardreset()
3923 unsigned long deadline) in sata_std_hardreset() argument
3930 rc = sata_link_hardreset(link, timing, deadline, &online, NULL); in sata_std_hardreset()
6595 unsigned long deadline; in ata_wait_register() local
6604 deadline = ata_deadline(jiffies, timeout); in ata_wait_register()
6606 while ((tmp & mask) == val && time_before(jiffies, deadline)) { in ata_wait_register()