Home
last modified time | relevance | path

Searched refs:hrt (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/sound/core/
Dhrtimer.c40 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()
53 oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); in snd_hrtimer_callback()
68 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_hrtimer_open()
70 stime->hrt.function = snd_hrtimer_callback; in snd_hrtimer_open()
81 hrtimer_cancel(&stime->hrt); in snd_hrtimer_close()
93 hrtimer_try_to_cancel(&stime->hrt); in snd_hrtimer_start()
94 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
104 hrtimer_try_to_cancel(&stime->hrt); in snd_hrtimer_stop()
/linux-4.4.14/sound/soc/fsl/
Dimx-pcm-fiq.c42 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-4.4.14/drivers/pci/hotplug/
Dcpqphp.h181 struct hrt { struct
198 SIG0 = offsetof(struct hrt, sig0), argument
199 SIG1 = offsetof(struct hrt, sig1),
200 SIG2 = offsetof(struct hrt, sig2),
201 SIG3 = offsetof(struct hrt, sig3),
202 UNUSED_IRQ = offsetof(struct hrt, unused_IRQ),
203 PCIIRQ = offsetof(struct hrt, PCIIRQ),
204 NUMBER_OF_ENTRIES = offsetof(struct hrt, number_of_entries),
205 REVISION = offsetof(struct hrt, revision),
206 HRT_RESERVED1 = offsetof(struct hrt, reserved1),
[all …]
Dcpqphp_pci.c60 endp = (end - sizeof(struct hrt) + 1); in detect_HRT_floating_pointer()
1237 one_slot = rom_resource_table + sizeof (struct hrt); in cpqhp_find_available_resources()
/linux-4.4.14/drivers/lguest/
Dinterrupts_and_traps.c674 hrtimer_cancel(&cpu->hrt); in guest_set_clockevent()
684 hrtimer_start(&cpu->hrt, expires, HRTIMER_MODE_ABS); in guest_set_clockevent()
690 struct lg_cpu *cpu = container_of(timer, struct lg_cpu, hrt); in clockdev_fn()
700 hrtimer_init(&cpu->hrt, CLOCK_REALTIME, HRTIMER_MODE_ABS); in init_clockdev()
701 cpu->hrt.function = clockdev_fn; in init_clockdev()
Dlg.h73 struct hrtimer hrt; member
Dlguest_user.c378 hrtimer_cancel(&lg->cpus[i].hrt); in close()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c254 struct ptlrpc_hr_thread *hrt; in ptlrpc_dispatch_difficult_reply() local
258 hrt = ptlrpc_hr_select(rs->rs_svcpt); in ptlrpc_dispatch_difficult_reply()
260 spin_lock(&hrt->hrt_lock); in ptlrpc_dispatch_difficult_reply()
261 list_add_tail(&rs->rs_list, &hrt->hrt_queue); in ptlrpc_dispatch_difficult_reply()
262 spin_unlock(&hrt->hrt_lock); in ptlrpc_dispatch_difficult_reply()
264 wake_up(&hrt->hrt_waitq); in ptlrpc_dispatch_difficult_reply()
2164 static int hrt_dont_sleep(struct ptlrpc_hr_thread *hrt, in hrt_dont_sleep() argument
2169 spin_lock(&hrt->hrt_lock); in hrt_dont_sleep()
2171 list_splice_init(&hrt->hrt_queue, replies); in hrt_dont_sleep()
2174 spin_unlock(&hrt->hrt_lock); in hrt_dont_sleep()
[all …]
/linux-4.4.14/virt/kvm/arm/
Darch_timer.c118 static enum hrtimer_restart kvm_timer_expire(struct hrtimer *hrt) in kvm_timer_expire() argument
124 timer = container_of(hrt, struct arch_timer_cpu, timer); in kvm_timer_expire()
134 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_timer_expire()
/linux-4.4.14/kernel/time/
Dsched_clock.c159 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll() argument
162 hrtimer_forward_now(hrt, cd.wrap_kt); in sched_clock_poll()
/linux-4.4.14/drivers/scsi/
Ddpt_i2o.c1037 pHba->hrt = NULL; in adpt_install_hba()
1115 if(pHba->hrt) { in adpt_i2o_delete_hba()
1117 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba()
1118 pHba->hrt, pHba->hrt_pa); in adpt_i2o_delete_hba()
3291 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3292 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_hrt_get()
3294 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3312 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get()
3313 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get()
3315 pHba->hrt, pHba->hrt_pa); in adpt_i2o_hrt_get()
[all …]
Ddpti.h239 i2o_hrt* hrt; member
Dscsi_debug.c614 struct hrtimer hrt; /* must be first element */ member
3685 &sqcp->sd_hrtp->hrt); in stop_queued_cmnd()
3726 &sqcp->sd_hrtp->hrt); in stop_all_queued()
4032 hrtimer_init(&sd_hp->hrt, CLOCK_MONOTONIC, in schedule_resp()
4034 sd_hp->hrt.function = sdebug_q_cmd_hrt_complete; in schedule_resp()
4037 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); in schedule_resp()
/linux-4.4.14/drivers/tty/serial/
Dsirfsoc_uart.c976 hrtimer_start(&sirfport->hrt, in sirfsoc_uart_startup()
1032 hrtimer_cancel(&sirfport->hrt); in sirfsoc_uart_shutdown()
1169 sirfsoc_uart_rx_dma_hrtimer_callback(struct hrtimer *hrt) in sirfsoc_uart_rx_dma_hrtimer_callback() argument
1181 sirfport = container_of(hrt, struct sirfsoc_uart_port, hrt); in sirfsoc_uart_rx_dma_hrtimer_callback()
1252 hrtimer_forward_now(hrt, ns_to_ktime(sirfport->rx_period_time)); in sirfsoc_uart_rx_dma_hrtimer_callback()
1408 hrtimer_init(&sirfport->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in sirfsoc_uart_probe()
1409 sirfport->hrt.function = sirfsoc_uart_rx_dma_hrtimer_callback; in sirfsoc_uart_probe()
Dsirfsoc_uart.h432 struct hrtimer hrt; member
/linux-4.4.14/drivers/ata/
Dpata_octeon_cf.c748 static enum hrtimer_restart octeon_cf_delayed_finish(struct hrtimer *hrt) in octeon_cf_delayed_finish() argument
750 struct octeon_cf_port *cf_port = container_of(hrt, in octeon_cf_delayed_finish()
773 hrtimer_forward_now(hrt, in octeon_cf_delayed_finish()