Lines Matching +full:- +full:- +full:retry +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0
2 /* rtc-sun4v.c: Hypervisor based RTC for SUN4V systems.
12 #include <linux/delay.h>
24 retry: in hypervisor_get_time()
29 if (--retries > 0) { in hypervisor_get_time()
31 goto retry; in hypervisor_get_time()
51 retry: in hypervisor_set_time()
56 if (--retries > 0) { in hypervisor_set_time()
58 goto retry; in hypervisor_set_time()
61 return -EAGAIN; in hypervisor_set_time()
64 return -EOPNOTSUPP; in hypervisor_set_time()
81 rtc = devm_rtc_allocate_device(&pdev->dev); in sun4v_rtc_probe()
85 rtc->ops = &sun4v_rtc_ops; in sun4v_rtc_probe()
86 rtc->range_max = U64_MAX; in sun4v_rtc_probe()
94 .name = "rtc-sun4v",