hrt
static void soft_timer_start(struct hrtimer *hrt, u64 ns)
hrtimer_start(hrt, ktime_add_ns(ktime_get(), ns),
static void soft_timer_cancel(struct hrtimer *hrt)
hrtimer_cancel(hrt);
static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt)
timer = container_of(hrt, struct arch_timer_cpu, bg_timer);
hrtimer_forward_now(hrt, ns_to_ktime(ns));
static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt)
ctx = container_of(hrt, struct arch_timer_context, hrtimer);
hrtimer_forward_now(hrt, ns_to_ktime(ns));
struct hrtimer hrt;
struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt);
hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns));
hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL);
hrtimer_setup(&t->hrt, kvm_riscv_vcpu_vstimer_expired, CLOCK_MONOTONIC,
hrtimer_setup(&t->hrt, kvm_riscv_vcpu_hrtimer_expired, CLOCK_MONOTONIC,
struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt);
hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns));
hrtimer_cancel(&t->hrt);
hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL);
static enum hrtimer_restart octeon_cf_delayed_finish(struct hrtimer *hrt)
struct octeon_cf_port *cf_port = container_of(hrt,
hrtimer_forward_now(hrt,
SIG0 = offsetof(struct hrt, sig0),
SIG1 = offsetof(struct hrt, sig1),
SIG2 = offsetof(struct hrt, sig2),
SIG3 = offsetof(struct hrt, sig3),
UNUSED_IRQ = offsetof(struct hrt, unused_IRQ),
PCIIRQ = offsetof(struct hrt, PCIIRQ),
NUMBER_OF_ENTRIES = offsetof(struct hrt, number_of_entries),
REVISION = offsetof(struct hrt, revision),
HRT_RESERVED1 = offsetof(struct hrt, reserved1),
HRT_RESERVED2 = offsetof(struct hrt, reserved2),
one_slot = rom_resource_table + sizeof(struct hrt);
endp = (end - sizeof(struct hrt) + 1);
struct hrtimer hrt;
hrt);
int res = hrtimer_try_to_cancel(&sd_dp->hrt);
hrtimer_start(&sd_dp->hrt, kt, HRTIMER_MODE_REL_PINNED);
hrtimer_setup(&sd_dp->hrt, sdebug_q_cmd_hrt_complete, CLOCK_MONOTONIC,
hrtimer_setup(&priv->hrt, brcmuart_hrtimer_func, CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
hrtimer_cancel(&priv->hrt);
struct hrtimer hrt;
hrtimer_start(&priv->hrt, priv->char_wait,
struct brcmuart_priv *priv = container_of(t, struct brcmuart_priv, hrt);
static void start_hrtimer_ms(struct hrtimer *hrt, unsigned long msec)
hrtimer_start(hrt, ms_to_ktime(msec), HRTIMER_MODE_REL);
static void start_hrtimer_ms(struct hrtimer *hrt, unsigned long msec)
hrtimer_start(hrt, ms_to_ktime(msec), HRTIMER_MODE_REL);
static void start_hrtimer_us(struct hrtimer *hrt, unsigned long usec)
hrtimer_start(hrt, t, HRTIMER_MODE_REL);
static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt)
hrtimer_forward_now(hrt, cd.wrap_kt);
static enum hrtimer_restart ot_hrtimer_handler(struct hrtimer *hrt)
struct ot_item *item = container_of(hrt, struct ot_item, hrtimer);
hrtimer_forward_now(hrt, item->hrtcycle);
struct hrtimer *hrt = &item->hrtimer;
hrtimer_setup(hrt, ot_hrtimer_handler, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
static bool bcm_tx_set_expiry(struct bcm_op *op, struct hrtimer *hrt)
hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival));
hrtimer_try_to_cancel(&stime->hrt);
struct hrtimer hrt;
static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt)
struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt);
delta = ktime_sub(hrtimer_cb_get_time(hrt), hrtimer_get_expires(hrt));
hrtimer_add_expires_ns(hrt, t->sticks * resolution);
hrtimer_setup(&stime->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
hrtimer_cancel(&stime->hrt);
hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution),
hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns),
hrtimer_setup(&iprtd->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
hrtimer_cancel(&iprtd->hrt);
struct hrtimer hrt;
static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt)
container_of(hrt, struct imx_pcm_runtime_data, hrt);
hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns));