/kernel/linux/linux-5.10/sound/core/ |
H A D | hrtimer.c | 26 struct hrtimer hrt; member 30 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 32 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() 46 delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); in snd_hrtimer_callback() 54 hrtimer_add_expires_ns(hrt, t->sticks * resolution); in snd_hrtimer_callback() 71 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 73 stime->hrt.function = snd_hrtimer_callback; in snd_hrtimer_open() 88 hrtimer_cancel(&stime->hrt); in snd_hrtimer_close() [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | hrtimer.c | 26 struct hrtimer hrt; member 30 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 32 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() 46 delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); in snd_hrtimer_callback() 54 hrtimer_add_expires_ns(hrt, t->sticks * resolution); in snd_hrtimer_callback() 71 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 73 stime->hrt.function = snd_hrtimer_callback; in snd_hrtimer_open() 88 hrtimer_cancel(&stime->hrt); in snd_hrtimer_close() [all...] |
/kernel/linux/linux-6.6/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() 251 hrtimer_init(&t->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in kvm_riscv_vcpu_timer_init() 258 t->hrt.function = kvm_riscv_vcpu_vstimer_expired; in kvm_riscv_vcpu_timer_init() 262 t->hrt in kvm_riscv_vcpu_timer_init() [all...] |
/kernel/linux/linux-5.10/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() 123 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger() 189 hrtimer_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open() 190 iprtd->hrt.function = snd_hrtimer_callback; in snd_imx_open() 209 hrtimer_cancel(&iprtd->hrt); in snd_imx_close()
|
/kernel/linux/linux-6.6/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_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open() 189 iprtd->hrt.function = snd_hrtimer_callback; in snd_imx_open() 208 hrtimer_cancel(&iprtd->hrt); in snd_imx_close()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpqphp.h | 167 struct hrt { struct 184 SIG0 = offsetof(struct hrt, sig0), 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, reserved [all...] |
H A D | cpqphp_pci.c | 46 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer() 1233 one_slot = rom_resource_table + sizeof(struct hrt); in cpqhp_find_available_resources()
|
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpqphp.h | 167 struct hrt { struct 184 SIG0 = offsetof(struct hrt, sig0), 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, reserved [all...] |
H A D | cpqphp_pci.c | 46 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer() 1235 one_slot = rom_resource_table + sizeof(struct hrt); in cpqhp_find_available_resources()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | arch_timer.c | 167 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start() argument 169 hrtimer_start(hrt, ktime_add_ns(ktime_get(), ns), in soft_timer_start() 173 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel() argument 175 hrtimer_cancel(hrt); in soft_timer_cancel() 262 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire() argument 268 timer = container_of(hrt, struct arch_timer_cpu, bg_timer); in kvm_bg_timer_expire() 278 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 286 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire() argument 292 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire() 304 hrtimer_forward_now(hrt, ns_to_ktim in kvm_hrtimer_expire() [all...] |
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | arch_timer.c | 213 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start() argument 215 hrtimer_start(hrt, ktime_add_ns(ktime_get(), ns), in soft_timer_start() 219 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel() argument 221 hrtimer_cancel(hrt); in soft_timer_cancel() 331 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire() argument 337 timer = container_of(hrt, struct arch_timer_cpu, bg_timer); in kvm_bg_timer_expire() 347 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 355 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire() argument 361 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire() 373 hrtimer_forward_now(hrt, ns_to_ktim in kvm_hrtimer_expire() [all...] |
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | kvm_vcpu_timer.h | 30 struct hrtimer hrt; member
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | sched_clock.c | 144 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll() argument 147 hrtimer_forward_now(hrt, cd.wrap_kt); in sched_clock_poll()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | sched_clock.c | 155 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll() argument 158 hrtimer_forward_now(hrt, cd.wrap_kt); in sched_clock_poll()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | dpt_i2o.c | 214 // Activate does get status , init outbound, and get hrt in adpt_detect() 742 // Activate does get status , init outbound, and get hrt in adpt_hba_reset() 947 pHba->hrt = NULL; in adpt_install_hba() 1023 if(pHba->hrt) { in adpt_i2o_delete_hba() 1025 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba() 1026 pHba->hrt, pHba->hrt_pa); in adpt_i2o_delete_hba() 1441 // TODO get the bus_no from hrt-but for now they are in order in adpt_i2o_parse_lct() 1453 // TODO remove - this is just until we get from hrt in adpt_i2o_parse_lct() 2971 if (pHba->hrt in adpt_i2o_hrt_get() [all...] |
H A D | dpti.h | 235 i2o_hrt* hrt; member
|
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_bcm7271.c | 215 struct hrtimer hrt; member 808 hrtimer_start(&priv->hrt, priv->char_wait, in brcmuart_handle_irq() 825 struct brcmuart_priv *priv = container_of(t, struct brcmuart_priv, hrt); in brcmuart_hrtimer_func() 1066 hrtimer_init(&priv->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in brcmuart_probe() 1067 priv->hrt.function = brcmuart_hrtimer_func; in brcmuart_probe() 1137 hrtimer_cancel(&priv->hrt); in brcmuart_remove()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | isp_private.h | 20 #include <hrt/api.h>
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | isp_private.h | 20 #include <hrt/api.h>
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sirfsoc_uart.c | 975 hrtimer_start(&sirfport->hrt, in sirfsoc_uart_startup() 1031 hrtimer_cancel(&sirfport->hrt); in sirfsoc_uart_shutdown() 1168 sirfsoc_uart_rx_dma_hrtimer_callback(struct hrtimer *hrt) in sirfsoc_uart_rx_dma_hrtimer_callback() argument 1180 sirfport = container_of(hrt, struct sirfsoc_uart_port, hrt); in sirfsoc_uart_rx_dma_hrtimer_callback() 1251 hrtimer_forward_now(hrt, ns_to_ktime(sirfport->rx_period_time)); in sirfsoc_uart_rx_dma_hrtimer_callback() 1411 hrtimer_init(&sirfport->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in sirfsoc_uart_probe() 1412 sirfport->hrt.function = sirfsoc_uart_rx_dma_hrtimer_callback; in sirfsoc_uart_probe()
|
H A D | sirfsoc_uart.h | 432 struct hrtimer hrt; member
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | pata_octeon_cf.c | 739 static enum hrtimer_restart octeon_cf_delayed_finish(struct hrtimer *hrt) in octeon_cf_delayed_finish() argument 741 struct octeon_cf_port *cf_port = container_of(hrt, in octeon_cf_delayed_finish() 764 hrtimer_forward_now(hrt, in octeon_cf_delayed_finish()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/ |
H A D | Makefile | 315 -I$(atomisp)/pci/css_2401_system/hrt/
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/ |
H A D | Makefile | 299 -I$(atomisp)/pci/css_2401_system/hrt/
|