Home
last modified time | relevance | path

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

/linux-3.4.99/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_cancel(&stime->hrt); in snd_hrtimer_start()
94 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/linux-3.4.99/sound/soc/imx/
Dimx-pcm-fiq.c42 struct hrtimer hrt; member
48 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback() argument
51 container_of(hrt, struct imx_pcm_runtime_data, hrt); in snd_hrtimer_callback()
81 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback()
138 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger()
202 hrtimer_init(&iprtd->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_imx_open()
203 iprtd->hrt.function = snd_hrtimer_callback; in snd_imx_open()
221 hrtimer_cancel(&iprtd->hrt); in snd_imx_close()
/linux-3.4.99/drivers/message/i2o/
Di2o_proc.c296 i2o_hrt *hrt = (i2o_hrt *) c->hrt.virt; in i2o_seq_show_hrt() local
300 if (hrt->hrt_version) { in i2o_seq_show_hrt()
307 hrt->num_entries, hrt->entry_len << 2); in i2o_seq_show_hrt()
309 for (i = 0; i < hrt->num_entries; i++) { in i2o_seq_show_hrt()
312 hrt->hrt_entry[i].adapter_id); in i2o_seq_show_hrt()
314 hrt->hrt_entry[i].parent_tid); in i2o_seq_show_hrt()
316 if (hrt->hrt_entry[i].bus_type != 0x80) { in i2o_seq_show_hrt()
317 bus = hrt->hrt_entry[i].bus_type; in i2o_seq_show_hrt()
324 hrt->hrt_entry[i].bus.local_bus. in i2o_seq_show_hrt()
327 hrt->hrt_entry[i].bus.local_bus. in i2o_seq_show_hrt()
[all …]
Diop.c979 i2o_hrt *hrt = c->hrt.virt; in i2o_hrt_get() local
994 msg->body[0] = cpu_to_le32(0xd0000000 | c->hrt.len); in i2o_hrt_get()
995 msg->body[1] = cpu_to_le32(c->hrt.phys); in i2o_hrt_get()
997 rc = i2o_msg_post_wait_mem(c, msg, 20, &c->hrt); in i2o_hrt_get()
1005 size = hrt->num_entries * hrt->entry_len << 2; in i2o_hrt_get()
1006 if (size > c->hrt.len) { in i2o_hrt_get()
1007 if (i2o_dma_realloc(dev, &c->hrt, size)) in i2o_hrt_get()
1010 hrt = c->hrt.virt; in i2o_hrt_get()
Ddebug.c392 u32 *rows = (u32 *) c->hrt.virt; in i2o_dump_hrt()
393 u8 *p = (u8 *) c->hrt.virt; in i2o_dump_hrt()
Di2o_config.c93 i2o_hrt *hrt; in i2o_cfg_gethrt() local
111 hrt = (i2o_hrt *) c->hrt.virt; in i2o_cfg_gethrt()
113 len = 8 + ((hrt->entry_len * hrt->num_entries) << 2); in i2o_cfg_gethrt()
119 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()
/linux-3.4.99/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()
1231 one_slot = rom_resource_table + sizeof (struct hrt); in cpqhp_find_available_resources()
/linux-3.4.99/drivers/lguest/
Dinterrupts_and_traps.c619 hrtimer_cancel(&cpu->hrt); in guest_set_clockevent()
629 hrtimer_start(&cpu->hrt, expires, HRTIMER_MODE_ABS); in guest_set_clockevent()
635 struct lg_cpu *cpu = container_of(timer, struct lg_cpu, hrt); in clockdev_fn()
645 hrtimer_init(&cpu->hrt, CLOCK_REALTIME, HRTIMER_MODE_ABS); in init_clockdev()
646 cpu->hrt.function = clockdev_fn; in init_clockdev()
Dlg.h71 struct hrtimer hrt; member
Dlguest_user.c471 hrtimer_cancel(&lg->cpus[i].hrt); in close()
/linux-3.4.99/drivers/scsi/
Ddpt_i2o.c1128 pHba->hrt = NULL; in adpt_install_hba()
1206 if(pHba->hrt) { in adpt_i2o_delete_hba()
1208 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba()
1209 pHba->hrt, pHba->hrt_pa); in adpt_i2o_delete_hba()
3376 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3377 pHba->hrt = dma_alloc_coherent(&pHba->pDev->dev, in adpt_i2o_hrt_get()
3379 if (pHba->hrt == NULL) { in adpt_i2o_hrt_get()
3397 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get()
3398 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get()
3400 pHba->hrt, pHba->hrt_pa); in adpt_i2o_hrt_get()
[all …]
Ddpti.h240 i2o_hrt* hrt; member
/linux-3.4.99/Documentation/i2o/
Dioctl59 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)
/linux-3.4.99/include/linux/
Di2o.h545 struct i2o_dma hrt; /* HW Resource Table */ member