/linux-4.1.27/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() 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/ |
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-4.1.27/drivers/staging/i2o/ |
D | i2o_proc.c | 298 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 …]
|
D | iop.c | 978 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()
|
D | debug.c | 393 u32 *rows = (u32 *) c->hrt.virt; in i2o_dump_hrt() 394 u8 *p = (u8 *) c->hrt.virt; in i2o_dump_hrt()
|
D | i2o_config.c | 92 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()
|
D | README.ioctl | 59 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)
|
D | pci.c | 65 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()
|
D | i2o.h | 545 struct i2o_dma hrt; /* HW Resource Table */ member
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | cpqphp.h | 181 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 …]
|
D | cpqphp_pci.c | 60 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/ |
D | service.c | 304 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/ |
D | interrupts_and_traps.c | 674 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()
|
D | lg.h | 73 struct hrtimer hrt; member
|
D | lguest_user.c | 378 hrtimer_cancel(&lg->cpus[i].hrt); in close()
|
/linux-4.1.27/kernel/time/ |
D | sched_clock.c | 159 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/ |
D | arch_timer.c | 106 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/ |
D | dpt_i2o.c | 1037 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 …]
|
D | dpti.h | 239 i2o_hrt* hrt; member
|
D | scsi_debug.c | 611 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/ |
D | pata_octeon_cf.c | 748 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()
|