/linux/sound/core/ |
H A D | hrtimer.c | 27 struct hrtimer hrt; member 31 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 33 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() 47 delta = ktime_sub(hrtimer_cb_get_time(hrt), hrtimer_get_expires(hrt)); in snd_hrtimer_callback() 55 hrtimer_add_expires_ns(hrt, t->sticks * resolution); in snd_hrtimer_callback() 71 hrtimer_setup(&stime->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 86 hrtimer_cancel(&stime->hrt); in snd_hrtimer_close() 99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start() 110 hrtimer_try_to_cancel(&stime->hrt); in snd_hrtimer_stop()
|
/linux/arch/riscv/kvm/ |
H A D | vcpu_timer.c | 45 struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt); in kvm_riscv_vcpu_hrtimer_expired() 51 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_hrtimer_expired() 66 hrtimer_cancel(&t->hrt); in kvm_riscv_vcpu_timer_cancel() 96 hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL); in kvm_riscv_vcpu_update_hrtimer() 112 struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt); in kvm_riscv_vcpu_vstimer_expired() 118 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_vstimer_expired() 150 hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL); in kvm_riscv_vcpu_timer_blocking() 257 hrtimer_setup(&t->hrt, kvm_riscv_vcpu_vstimer_expired, CLOCK_MONOTONIC, in kvm_riscv_vcpu_timer_init() 262 hrtimer_setup(&t->hrt, kvm_riscv_vcpu_hrtimer_expired, CLOCK_MONOTONIC, in kvm_riscv_vcpu_timer_init()
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp.h | 167 struct hrt { struct 184 SIG0 = offsetof(struct hrt, sig0), argument 185 SIG1 = offsetof(struct hrt, sig1), 186 SIG2 = offsetof(struct hrt, sig2), 187 SIG3 = offsetof(struct hrt, sig3), 188 UNUSED_IRQ = offsetof(struct hrt, unused_IRQ), 189 PCIIRQ = offsetof(struct hrt, PCIIRQ), 190 NUMBER_OF_ENTRIES = offsetof(struct hrt, number_of_entries), 191 REVISION = offsetof(struct hrt, revision), 192 HRT_RESERVED1 = offsetof(struct hrt, reserved1), [all …]
|
H A D | cpqphp_pci.c | 49 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer() 1226 one_slot = rom_resource_table + sizeof(struct hrt); in cpqhp_find_available_resources()
|
/linux/arch/arm64/kvm/ |
H A D | arch_timer.c | 188 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start() argument 190 hrtimer_start(hrt, ktime_add_ns(ktime_get(), ns), in soft_timer_start() 194 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel() argument 196 hrtimer_cancel(hrt); in soft_timer_cancel() 305 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire() argument 311 timer = container_of(hrt, struct arch_timer_cpu, bg_timer); in kvm_bg_timer_expire() 321 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 329 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire() argument 335 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire() 347 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_hrtimer_expire()
|
/linux/lib/ |
H A D | test_objpool.c | 156 static enum hrtimer_restart ot_hrtimer_handler(struct hrtimer *hrt) in ot_hrtimer_handler() argument 158 struct ot_item *item = container_of(hrt, struct ot_item, hrtimer); in ot_hrtimer_handler() 167 hrtimer_forward_now(hrt, item->hrtcycle); in ot_hrtimer_handler() 187 struct hrtimer *hrt = &item->hrtimer; in ot_init_hrtimer() local 193 hrtimer_setup(hrt, ot_hrtimer_handler, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in ot_init_hrtimer()
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | system_global.h | 54 * Semi global. "HRT" is accessible from SP, but the HRT types do not fully apply
|
/linux/arch/riscv/include/asm/ |
H A D | kvm_vcpu_timer.h | 30 struct hrtimer hrt; member
|
/linux/kernel/time/ |
H A D | sched_clock.c | 169 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll() argument 172 hrtimer_forward_now(hrt, cd.wrap_kt); in sched_clock_poll()
|
H A D | clocksource.c | 1051 …pr_warn("Override clocksource %s is unstable and not HRT compatible - cannot switch while in HRT/N… in __clocksource_select() 1059 pr_info("Override clocksource %s is not currently HRT compatible - deferring\n", in __clocksource_select()
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | sifive,clint.yaml | 44 SiFive CLINT v2 is the HRT that supports the Zicntr. The control of sifive,clint2
|
/linux/drivers/interconnect/mediatek/ |
H A D | icc-emi.c | 64 dev_err(dev, "Cannot send HRT bw request: %d\n", ret); in mtk_emi_icc_set()
|
/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 705 static enum hrtimer_restart octeon_cf_delayed_finish(struct hrtimer *hrt) in octeon_cf_delayed_finish() argument 707 struct octeon_cf_port *cf_port = container_of(hrt, in octeon_cf_delayed_finish() 730 hrtimer_forward_now(hrt, in octeon_cf_delayed_finish()
|
/linux/include/uapi/linux/ |
H A D | i2o-dev.h | 123 * HRT related constants and structures
|
/linux/net/can/ |
H A D | bcm.c | 427 static bool bcm_tx_set_expiry(struct bcm_op *op, struct hrtimer *hrt) in bcm_tx_set_expiry() argument 438 hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival)); in bcm_tx_set_expiry()
|
/linux/drivers/tty/serial/ |
H A D | imx.c | 336 static void start_hrtimer_ms(struct hrtimer *hrt, unsigned long msec) in start_hrtimer_ms() argument 338 hrtimer_start(hrt, ms_to_ktime(msec), HRTIMER_MODE_REL); in start_hrtimer_ms()
|
H A D | sh-sci.c | 1313 static void start_hrtimer_us(struct hrtimer *hrt, unsigned long usec) in start_hrtimer_us() argument 1319 hrtimer_start(hrt, t, HRTIMER_MODE_REL); in start_hrtimer_us()
|
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 2924 macb_or_gem_writel(bp, HRT, mc_filter[1]); in macb_sethashtable() 2954 macb_or_gem_writel(bp, HRT, -1); in macb_set_rx_mode() 2963 macb_or_gem_writel(bp, HRT, 0); in macb_set_rx_mode()
|
/linux/ |
H A D | MAINTAINERS | 23112 SCx200 HRT CLOCKSOURCE DRIVER
|