/linux-4.4.14/sound/core/ |
H A D | hrtimer.c | 40 struct hrtimer hrt; member in struct:snd_hrtimer 44 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) snd_hrtimer_callback() argument 46 struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt); snd_hrtimer_callback() 53 oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); snd_hrtimer_callback() 68 hrtimer_init(&stime->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); snd_hrtimer_open() 70 stime->hrt.function = snd_hrtimer_callback; snd_hrtimer_open() 81 hrtimer_cancel(&stime->hrt); snd_hrtimer_close() 93 hrtimer_try_to_cancel(&stime->hrt); snd_hrtimer_start() 94 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), snd_hrtimer_start() 104 hrtimer_try_to_cancel(&stime->hrt); snd_hrtimer_stop()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 42 struct hrtimer hrt; member in struct:imx_pcm_runtime_data 49 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) snd_hrtimer_callback() argument 52 container_of(hrt, struct imx_pcm_runtime_data, hrt); snd_hrtimer_callback() 68 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); snd_hrtimer_callback() 125 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), snd_imx_pcm_trigger() 188 hrtimer_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); snd_imx_open() 189 iprtd->hrt.function = snd_hrtimer_callback; snd_imx_open() 207 hrtimer_cancel(&iprtd->hrt); snd_imx_close()
|
/linux-4.4.14/drivers/pci/hotplug/ |
H A D | cpqphp.h | 181 struct hrt { struct 198 SIG0 = offsetof(struct hrt, sig0), 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), 207 HRT_RESERVED2 = offsetof(struct hrt, reserved2),
|
H A D | cpqphp_pci.c | 60 endp = (end - sizeof(struct hrt) + 1); detect_HRT_floating_pointer() 1237 one_slot = rom_resource_table + sizeof (struct hrt); cpqhp_find_available_resources()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | service.c | 254 struct ptlrpc_hr_thread *hrt; ptlrpc_dispatch_difficult_reply() local 258 hrt = ptlrpc_hr_select(rs->rs_svcpt); ptlrpc_dispatch_difficult_reply() 260 spin_lock(&hrt->hrt_lock); ptlrpc_dispatch_difficult_reply() 261 list_add_tail(&rs->rs_list, &hrt->hrt_queue); ptlrpc_dispatch_difficult_reply() 262 spin_unlock(&hrt->hrt_lock); ptlrpc_dispatch_difficult_reply() 264 wake_up(&hrt->hrt_waitq); ptlrpc_dispatch_difficult_reply() 2164 static int hrt_dont_sleep(struct ptlrpc_hr_thread *hrt, hrt_dont_sleep() argument 2169 spin_lock(&hrt->hrt_lock); hrt_dont_sleep() 2171 list_splice_init(&hrt->hrt_queue, replies); hrt_dont_sleep() 2174 spin_unlock(&hrt->hrt_lock); hrt_dont_sleep() 2184 struct ptlrpc_hr_thread *hrt = arg; ptlrpc_hr_main() local 2185 struct ptlrpc_hr_partition *hrp = hrt->hrt_partition; ptlrpc_hr_main() 2191 hrp->hrp_cpt, hrt->hrt_id); ptlrpc_hr_main() 2204 l_wait_condition(hrt->hrt_waitq, hrt_dont_sleep(hrt, &replies)); ptlrpc_hr_main() 2257 struct ptlrpc_hr_thread *hrt = &hrp->hrp_thrs[j]; cfs_percpt_for_each() local 2263 hrt->hrt_id)); cfs_percpt_for_each() 2480 struct ptlrpc_hr_thread *hrt; ptlrpc_hr_init() local 2509 kzalloc_node(hrp->hrp_nthrs * sizeof(*hrt), GFP_NOFS, cfs_percpt_for_each() 2518 hrt = &hrp->hrp_thrs[j]; cfs_percpt_for_each() 2520 hrt->hrt_id = j; cfs_percpt_for_each() 2521 hrt->hrt_partition = hrp; cfs_percpt_for_each() 2522 init_waitqueue_head(&hrt->hrt_waitq); cfs_percpt_for_each() 2523 spin_lock_init(&hrt->hrt_lock); cfs_percpt_for_each() 2524 INIT_LIST_HEAD(&hrt->hrt_queue); cfs_percpt_for_each()
|
/linux-4.4.14/kernel/time/ |
H A D | sched_clock.c | 159 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) sched_clock_poll() argument 162 hrtimer_forward_now(hrt, cd.wrap_kt); sched_clock_poll()
|
/linux-4.4.14/drivers/scsi/ |
H A D | dpt_i2o.c | 214 // Activate does get status , init outbound, and get hrt adpt_detect() 832 // Activate does get status , init outbound, and get hrt adpt_hba_reset() 1037 pHba->hrt = NULL; adpt_install_hba() 1115 if(pHba->hrt) { adpt_i2o_delete_hba() 1117 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, adpt_i2o_delete_hba() 1118 pHba->hrt, pHba->hrt_pa); adpt_i2o_delete_hba() 1539 // TODO get the bus_no from hrt-but for now they are in order adpt_i2o_parse_lct() 1551 // TODO remove - this is just until we get from hrt adpt_i2o_parse_lct() 3291 if (pHba->hrt == NULL) { adpt_i2o_hrt_get() 3292 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, adpt_i2o_hrt_get() 3294 if (pHba->hrt == NULL) { adpt_i2o_hrt_get() 3312 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { adpt_i2o_hrt_get() 3313 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; adpt_i2o_hrt_get() 3315 pHba->hrt, pHba->hrt_pa); adpt_i2o_hrt_get() 3317 pHba->hrt = NULL; adpt_i2o_hrt_get() 3319 } while(pHba->hrt == NULL); adpt_i2o_hrt_get()
|
H A D | dpti.h | 239 i2o_hrt* hrt; member in struct:_adpt_hba
|
H A D | scsi_debug.c | 614 struct hrtimer hrt; /* must be first element */ member in struct:sdebug_hrtimer 3685 &sqcp->sd_hrtp->hrt); stop_queued_cmnd() 3726 &sqcp->sd_hrtp->hrt); stop_all_queued() 4032 hrtimer_init(&sd_hp->hrt, CLOCK_MONOTONIC, schedule_resp() 4034 sd_hp->hrt.function = sdebug_q_cmd_hrt_complete; schedule_resp() 4037 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); schedule_resp()
|
/linux-4.4.14/virt/kvm/arm/ |
H A D | arch_timer.c | 118 static enum hrtimer_restart kvm_timer_expire(struct hrtimer *hrt) kvm_timer_expire() argument 124 timer = container_of(hrt, struct arch_timer_cpu, timer); kvm_timer_expire() 134 hrtimer_forward_now(hrt, ns_to_ktime(ns)); kvm_timer_expire()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | sirfsoc_uart.c | 976 hrtimer_start(&sirfport->hrt, sirfsoc_uart_startup() 1032 hrtimer_cancel(&sirfport->hrt); sirfsoc_uart_shutdown() 1169 sirfsoc_uart_rx_dma_hrtimer_callback(struct hrtimer *hrt) sirfsoc_uart_rx_dma_hrtimer_callback() argument 1181 sirfport = container_of(hrt, struct sirfsoc_uart_port, hrt); sirfsoc_uart_rx_dma_hrtimer_callback() 1252 hrtimer_forward_now(hrt, ns_to_ktime(sirfport->rx_period_time)); sirfsoc_uart_rx_dma_hrtimer_callback() 1408 hrtimer_init(&sirfport->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); sirfsoc_uart_probe() 1409 sirfport->hrt.function = sirfsoc_uart_rx_dma_hrtimer_callback; sirfsoc_uart_probe()
|
H A D | sirfsoc_uart.h | 432 struct hrtimer hrt; member in struct:sirfsoc_uart_port
|
/linux-4.4.14/drivers/lguest/ |
H A D | interrupts_and_traps.c | 674 hrtimer_cancel(&cpu->hrt); guest_set_clockevent() 684 hrtimer_start(&cpu->hrt, expires, HRTIMER_MODE_ABS); guest_set_clockevent() 690 struct lg_cpu *cpu = container_of(timer, struct lg_cpu, hrt); clockdev_fn() 700 hrtimer_init(&cpu->hrt, CLOCK_REALTIME, HRTIMER_MODE_ABS); init_clockdev() 701 cpu->hrt.function = clockdev_fn; init_clockdev()
|
H A D | lg.h | 73 struct hrtimer hrt; member in struct:lg_cpu
|
H A D | lguest_user.c | 378 hrtimer_cancel(&lg->cpus[i].hrt); close()
|
/linux-4.4.14/drivers/ata/ |
H A D | pata_octeon_cf.c | 748 static enum hrtimer_restart octeon_cf_delayed_finish(struct hrtimer *hrt) octeon_cf_delayed_finish() argument 750 struct octeon_cf_port *cf_port = container_of(hrt, octeon_cf_delayed_finish() 773 hrtimer_forward_now(hrt, octeon_cf_delayed_finish()
|