Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/drivers/staging/i2o/
Di2o_proc.c298 i2o_hrt *hrt = (i2o_hrt *) c->hrt.virt; in i2o_seq_show_hrt() local
302 if (hrt->hrt_version) { in i2o_seq_show_hrt()
309 hrt->num_entries, hrt->entry_len << 2); in i2o_seq_show_hrt()
311 for (i = 0; i < hrt->num_entries; i++) { in i2o_seq_show_hrt()
314 hrt->hrt_entry[i].adapter_id); in i2o_seq_show_hrt()
316 hrt->hrt_entry[i].parent_tid); in i2o_seq_show_hrt()
318 if (hrt->hrt_entry[i].bus_type != 0x80) { in i2o_seq_show_hrt()
319 bus = hrt->hrt_entry[i].bus_type; in i2o_seq_show_hrt()
326 hrt->hrt_entry[i].bus.local_bus. in i2o_seq_show_hrt()
329 hrt->hrt_entry[i].bus.local_bus. in i2o_seq_show_hrt()
[all …]
Diop.c978 i2o_hrt *hrt = c->hrt.virt; in i2o_hrt_get() local
993 msg->body[0] = cpu_to_le32(0xd0000000 | c->hrt.len); in i2o_hrt_get()
994 msg->body[1] = cpu_to_le32(c->hrt.phys); in i2o_hrt_get()
996 rc = i2o_msg_post_wait_mem(c, msg, 20, &c->hrt); in i2o_hrt_get()
1004 size = hrt->num_entries * hrt->entry_len << 2; in i2o_hrt_get()
1005 if (size > c->hrt.len) { in i2o_hrt_get()
1006 if (i2o_dma_realloc(dev, &c->hrt, size)) in i2o_hrt_get()
1009 hrt = c->hrt.virt; in i2o_hrt_get()
Ddebug.c393 u32 *rows = (u32 *) c->hrt.virt; in i2o_dump_hrt()
394 u8 *p = (u8 *) c->hrt.virt; in i2o_dump_hrt()
Di2o_config.c92 i2o_hrt *hrt; in i2o_cfg_gethrt() local
110 hrt = (i2o_hrt *) c->hrt.virt; in i2o_cfg_gethrt()
112 len = 8 + ((hrt->entry_len * hrt->num_entries) << 2); in i2o_cfg_gethrt()
118 else if (copy_to_user(kcmd.resbuf, (void *)hrt, len)) in i2o_cfg_gethrt()
DREADME.ioctl59 ioctl(fd, I2OHRTGET, struct i2o_cmd_hrt *hrt);
71 by hrt->iop in the buffer pointed to by hrt->resbuf. The actual size of
72 the data is written into *(hrt->reslen).
82 buffer length is written into *(hrt->reslen)
Dpci.c65 i2o_dma_free(dev, &c->hrt); in i2o_pci_free()
196 if (i2o_dma_alloc(dev, &c->hrt, sizeof(i2o_hrt))) { in i2o_pci_alloc()
Di2o.h545 struct i2o_dma hrt; /* HW Resource Table */ member
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c304 struct ptlrpc_hr_thread *hrt; in rs_batch_dispatch() local
306 hrt = ptlrpc_hr_select(b->rsb_svcpt); in rs_batch_dispatch()
308 spin_lock(&hrt->hrt_lock); in rs_batch_dispatch()
309 list_splice_init(&b->rsb_replies, &hrt->hrt_queue); in rs_batch_dispatch()
310 spin_unlock(&hrt->hrt_lock); in rs_batch_dispatch()
312 wake_up(&hrt->hrt_waitq); in rs_batch_dispatch()
371 struct ptlrpc_hr_thread *hrt; in ptlrpc_dispatch_difficult_reply() local
375 hrt = ptlrpc_hr_select(rs->rs_svcpt); in ptlrpc_dispatch_difficult_reply()
377 spin_lock(&hrt->hrt_lock); in ptlrpc_dispatch_difficult_reply()
378 list_add_tail(&rs->rs_list, &hrt->hrt_queue); in ptlrpc_dispatch_difficult_reply()
[all …]
/linux-4.1.27/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.1.27/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.1.27/virt/kvm/arm/
Darch_timer.c106 static enum hrtimer_restart kvm_timer_expire(struct hrtimer *hrt) in kvm_timer_expire() argument
109 timer = container_of(hrt, struct arch_timer_cpu, timer); in kvm_timer_expire()
/linux-4.1.27/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()
3288 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3289 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_hrt_get()
3291 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3309 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get()
3310 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get()
3312 pHba->hrt, pHba->hrt_pa); in adpt_i2o_hrt_get()
[all …]
Ddpti.h239 i2o_hrt* hrt; member
Dscsi_debug.c611 struct hrtimer hrt; /* must be first element */ member
3689 &sqcp->sd_hrtp->hrt); in stop_queued_cmnd()
3730 &sqcp->sd_hrtp->hrt); in stop_all_queued()
4031 hrtimer_init(&sd_hp->hrt, CLOCK_MONOTONIC, in schedule_resp()
4033 sd_hp->hrt.function = sdebug_q_cmd_hrt_complete; in schedule_resp()
4036 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); in schedule_resp()
/linux-4.1.27/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()