Searched refs:hrt (Results 1 – 8 of 8) sorted by relevance
| /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_ktim in snd_hrtimer_start() [all...] |
| /linux/sound/soc/fsl/ |
| H A D | imx-pcm-fiq.c | 37 struct hrtimer hrt; member 44 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 47 container_of(hrt, struct imx_pcm_runtime_data, hrt); in snd_hrtimer_callback() 63 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback() 122 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger() 188 hrtimer_setup(&iprtd->hrt, snd_hrtimer_callback, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open() 207 hrtimer_cancel(&iprtd->hrt); in snd_imx_close()
|
| /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() 1220 one_slot = rom_resource_table + sizeof(struct hrt); in cpqhp_find_available_resources()
|
| /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/arch/riscv/include/asm/ |
| H A D | kvm_vcpu_timer.h | 30 struct hrtimer hrt; member
|
| /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/net/can/ |
| H A D | bcm.c | 432 static bool bcm_tx_set_expiry(struct bcm_op *op, struct hrtimer *hrt) in bcm_tx_set_expiry() argument 443 hrtimer_set_expires(hrt, ktime_add(ktime_get(), ival)); in bcm_tx_set_expiry()
|