Home
last modified time | relevance | path

Searched refs:ltc (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c29 nvkm_ltc_tags_alloc(struct nvkm_ltc *ltc, u32 n, struct nvkm_mm_node **pnode) in nvkm_ltc_tags_alloc() argument
31 int ret = nvkm_mm_head(&ltc->tags, 0, 1, n, n, 1, pnode); in nvkm_ltc_tags_alloc()
38 nvkm_ltc_tags_free(struct nvkm_ltc *ltc, struct nvkm_mm_node **pnode) in nvkm_ltc_tags_free() argument
40 nvkm_mm_free(&ltc->tags, pnode); in nvkm_ltc_tags_free()
44 nvkm_ltc_tags_clear(struct nvkm_ltc *ltc, u32 first, u32 count) in nvkm_ltc_tags_clear() argument
48 BUG_ON((first > limit) || (limit >= ltc->num_tags)); in nvkm_ltc_tags_clear()
50 ltc->func->cbc_clear(ltc, first, limit); in nvkm_ltc_tags_clear()
51 ltc->func->cbc_wait(ltc); in nvkm_ltc_tags_clear()
55 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) in nvkm_ltc_zbc_color_get() argument
57 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); in nvkm_ltc_zbc_color_get()
[all …]
Dgf100.c31 gf100_ltc_cbc_clear(struct nvkm_ltc *ltc, u32 start, u32 limit) in gf100_ltc_cbc_clear() argument
33 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_cbc_clear()
40 gf100_ltc_cbc_wait(struct nvkm_ltc *ltc) in gf100_ltc_cbc_wait() argument
42 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_cbc_wait()
44 for (c = 0; c < ltc->ltc_nr; c++) { in gf100_ltc_cbc_wait()
45 for (s = 0; s < ltc->lts_nr; s++) { in gf100_ltc_cbc_wait()
56 gf100_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gf100_ltc_zbc_clear_color() argument
58 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_zbc_clear_color()
67 gf100_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) in gf100_ltc_zbc_clear_depth() argument
69 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_zbc_clear_depth()
[all …]
Dgm107.c30 gm107_ltc_cbc_clear(struct nvkm_ltc *ltc, u32 start, u32 limit) in gm107_ltc_cbc_clear() argument
32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear()
39 gm107_ltc_cbc_wait(struct nvkm_ltc *ltc) in gm107_ltc_cbc_wait() argument
41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait()
43 for (c = 0; c < ltc->ltc_nr; c++) { in gm107_ltc_cbc_wait()
44 for (s = 0; s < ltc->lts_nr; s++) { in gm107_ltc_cbc_wait()
55 gm107_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gm107_ltc_zbc_clear_color() argument
57 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color()
66 gm107_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) in gm107_ltc_zbc_clear_depth() argument
68 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_depth()
[all …]
Dgk104.c27 gk104_ltc_init(struct nvkm_ltc *ltc) in gk104_ltc_init() argument
29 struct nvkm_device *device = ltc->subdev.device; in gk104_ltc_init()
32 nvkm_wr32(device, 0x17e8d8, ltc->ltc_nr); in gk104_ltc_init()
33 nvkm_wr32(device, 0x17e000, ltc->ltc_nr); in gk104_ltc_init()
34 nvkm_wr32(device, 0x17e8d4, ltc->tag_base); in gk104_ltc_init()
DKbuild1 nvkm-y += nvkm/subdev/ltc/base.o
2 nvkm-y += nvkm/subdev/ltc/gf100.o
3 nvkm-y += nvkm/subdev/ltc/gk104.o
4 nvkm-y += nvkm/subdev/ltc/gm107.o
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dgf100.c112 struct nvkm_ltc *ltc = vma->vm->mmu->subdev.device->ltc; in gf100_vm_map() local
116 nvkm_ltc_tags_clear(ltc, tag, cnt); in gf100_vm_map()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c1351 .ltc = gf100_ltc_new,
1387 .ltc = gf100_ltc_new,
1422 .ltc = gf100_ltc_new,
1457 .ltc = gf100_ltc_new,
1493 .ltc = gf100_ltc_new,
1529 .ltc = gf100_ltc_new,
1565 .ltc = gf100_ltc_new,
1600 .ltc = gf100_ltc_new,
1633 .ltc = gf100_ltc_new,
1668 .ltc = gk104_ltc_new,
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c62 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_color_get() local
65 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { in gf100_gr_zbc_color_get()
89 nvkm_ltc_zbc_color_get(ltc, zbc, l2); in gf100_gr_zbc_color_get()
109 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_depth_get() local
112 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { in gf100_gr_zbc_depth_get()
134 nvkm_ltc_zbc_depth_get(ltc, zbc, l2); in gf100_gr_zbc_depth_get()
684 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_init() local
696 for (index = ltc->zbc_min; index <= ltc->zbc_max; index++) in gf100_gr_zbc_init()
698 for (index = ltc->zbc_min; index <= ltc->zbc_max; index++) in gf100_gr_zbc_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c196 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_acquire() local
200 nvkm_ltc_flush(ltc); in gk20a_instobj_acquire()
237 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_release() local
248 nvkm_ltc_invalidate(ltc); in gk20a_instobj_release()
/linux-4.4.14/drivers/net/appletalk/
Dltpc.c725 struct lt_rcvlap *ltc = (struct lt_rcvlap *) ltdmacbuf; in sendup_buffer() local
727 if (ltc->command != LT_RCVLAP) { in sendup_buffer()
728 printk("unknown command 0x%02x from ltpc card\n",ltc->command); in sendup_buffer()
731 dnode = ltc->dnode; in sendup_buffer()
732 snode = ltc->snode; in sendup_buffer()
733 llaptype = ltc->laptype; in sendup_buffer()
734 len = ltc->length; in sendup_buffer()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgf100.c428 struct nvkm_ltc *ltc = ram->fb->subdev.device->ltc; in gf100_ram_put() local
437 nvkm_ltc_tags_free(ltc, &mem->tag); in gf100_ram_put()
448 struct nvkm_ltc *ltc = ram->fb->subdev.device->ltc; in gf100_ram_get() local
475 nvkm_ltc_tags_alloc(ltc, n, &mem->tag); in gf100_ram_get()
/linux-4.4.14/sound/pci/rme9652/
Dhdspm.c4757 int a, ltc, frames, seconds, minutes, hours; in snd_hdspm_proc_read_tco() local
4838 ltc = hdspm_read(hdspm, HDSPM_RD_TCO); in snd_hdspm_proc_read_tco()
4839 frames = ltc & 0xF; in snd_hdspm_proc_read_tco()
4840 ltc >>= 4; in snd_hdspm_proc_read_tco()
4841 frames += (ltc & 0x3) * 10; in snd_hdspm_proc_read_tco()
4842 ltc >>= 4; in snd_hdspm_proc_read_tco()
4843 seconds = ltc & 0xF; in snd_hdspm_proc_read_tco()
4844 ltc >>= 4; in snd_hdspm_proc_read_tco()
4845 seconds += (ltc & 0x7) * 10; in snd_hdspm_proc_read_tco()
4846 ltc >>= 4; in snd_hdspm_proc_read_tco()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild12 include $(src)/nvkm/subdev/ltc/Kbuild
/linux-4.4.14/include/uapi/sound/
Dhdspm.h109 unsigned int ltc; member
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h113 struct nvkm_ltc *ltc; member
178 int (*ltc )(struct nvkm_device *, int idx, struct nvkm_ltc **); member
/linux-4.4.14/drivers/isdn/act2000/
Dcapi.h98 __u16 ltc; member
Dcapi.c965 printk(KERN_DEBUG " ncpi.ltc = 0x%04x\n", ncpi->ltc); in actcapi_debug_ncpi()
/linux-4.4.14/drivers/char/
DKconfig456 <http://www.ibm.com/linux/ltc/>.
/linux-4.4.14/
DMAINTAINERS6379 W: http://www.ibm.com/linux/ltc/projects/ppc