/Linux-v4.19/sound/core/ |
D | hrtimer.c | 40 struct hrtimer hrt; member 44 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 46 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); in snd_hrtimer_callback() 60 delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); in snd_hrtimer_callback() 68 hrtimer_add_expires_ns(hrt, t->sticks * resolution); in snd_hrtimer_callback() 85 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open() 87 stime->hrt.function = snd_hrtimer_callback; in snd_hrtimer_open() 102 hrtimer_cancel(&stime->hrt); in snd_hrtimer_close() 115 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start() 126 hrtimer_try_to_cancel(&stime->hrt); in snd_hrtimer_stop()
|
/Linux-v4.19/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 42 struct hrtimer hrt; member 49 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument 52 container_of(hrt, struct imx_pcm_runtime_data, hrt); in snd_hrtimer_callback() 68 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback() 125 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() 207 hrtimer_cancel(&iprtd->hrt); in snd_imx_close()
|
/Linux-v4.19/drivers/pci/hotplug/ |
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 …]
|
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()
|
/Linux-v4.19/virt/kvm/arm/ |
D | arch_timer.c | 67 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start() argument 69 hrtimer_start(hrt, ktime_add_ns(ktime_get(), ns), in soft_timer_start() 73 static void soft_timer_cancel(struct hrtimer *hrt, struct work_struct *work) in soft_timer_cancel() argument 75 hrtimer_cancel(hrt); in soft_timer_cancel() 171 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire() argument 177 timer = container_of(hrt, struct arch_timer_cpu, bg_timer); in kvm_bg_timer_expire() 187 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 195 static enum hrtimer_restart kvm_phys_timer_expire(struct hrtimer *hrt) in kvm_phys_timer_expire() argument 202 timer = container_of(hrt, struct arch_timer_cpu, phys_timer); in kvm_phys_timer_expire() 213 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_phys_timer_expire()
|
/Linux-v4.19/kernel/time/ |
D | sched_clock.c | 160 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll() argument 163 hrtimer_forward_now(hrt, cd.wrap_kt); in sched_clock_poll()
|
/Linux-v4.19/drivers/scsi/ |
D | dpt_i2o.c | 1040 pHba->hrt = NULL; in adpt_install_hba() 1116 if(pHba->hrt) { in adpt_i2o_delete_hba() 1118 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba() 1119 pHba->hrt, pHba->hrt_pa); in adpt_i2o_delete_hba() 3295 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get() 3296 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_hrt_get() 3298 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get() 3316 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get() 3317 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get() 3319 pHba->hrt, pHba->hrt_pa); in adpt_i2o_hrt_get() [all …]
|
D | dpti.h | 238 i2o_hrt* hrt; member
|
D | scsi_debug.c | 277 struct hrtimer hrt; member 3872 hrt); in sdebug_q_cmd_hrt_complete() 4004 hrtimer_cancel(&sd_dp->hrt); in stop_qc_helper() 4452 hrtimer_init(&sd_dp->hrt, CLOCK_MONOTONIC, in schedule_resp() 4454 sd_dp->hrt.function = sdebug_q_cmd_hrt_complete; in schedule_resp() 4461 hrtimer_start(&sd_dp->hrt, kt, HRTIMER_MODE_REL_PINNED); in schedule_resp()
|
/Linux-v4.19/drivers/tty/serial/ |
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()
|
D | sirfsoc_uart.h | 431 struct hrtimer hrt; member
|
D | sh-sci.c | 1258 static void start_hrtimer_us(struct hrtimer *hrt, unsigned long usec) in start_hrtimer_us() argument 1264 hrtimer_start(hrt, t, HRTIMER_MODE_REL); in start_hrtimer_us()
|
/Linux-v4.19/drivers/ata/ |
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()
|
/Linux-v4.19/drivers/tty/serial/8250/ |
D | 8250_port.c | 1477 static void start_hrtimer_ms(struct hrtimer *hrt, unsigned long msec) in start_hrtimer_ms() argument 1483 hrtimer_start(hrt, t, HRTIMER_MODE_REL); in start_hrtimer_ms()
|