Searched refs:ltc (Results 1 - 18 of 18) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dbase.c27 nvkm_ltc_tags_alloc(struct nvkm_ltc *ltc, u32 n, struct nvkm_mm_node **pnode) nvkm_ltc_tags_alloc() argument
29 struct nvkm_ltc_priv *priv = (void *)ltc; nvkm_ltc_tags_alloc()
40 nvkm_ltc_tags_free(struct nvkm_ltc *ltc, struct nvkm_mm_node **pnode) nvkm_ltc_tags_free() argument
42 struct nvkm_ltc_priv *priv = (void *)ltc; nvkm_ltc_tags_free()
47 nvkm_ltc_tags_clear(struct nvkm_ltc *ltc, u32 first, u32 count) nvkm_ltc_tags_clear() argument
49 const struct nvkm_ltc_impl *impl = (void *)nv_oclass(ltc); nvkm_ltc_tags_clear()
50 struct nvkm_ltc_priv *priv = (void *)ltc; nvkm_ltc_tags_clear()
60 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) nvkm_ltc_zbc_color_get() argument
62 const struct nvkm_ltc_impl *impl = (void *)nv_oclass(ltc); nvkm_ltc_zbc_color_get()
63 struct nvkm_ltc_priv *priv = (void *)ltc; nvkm_ltc_zbc_color_get()
70 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) nvkm_ltc_zbc_depth_get() argument
72 const struct nvkm_ltc_impl *impl = (void *)nv_oclass(ltc); nvkm_ltc_zbc_depth_get()
73 struct nvkm_ltc_priv *priv = (void *)ltc; nvkm_ltc_zbc_depth_get()
H A Dgm107.c65 gm107_ltc_lts_isr(struct nvkm_ltc_priv *priv, int ltc, int lts) gm107_ltc_lts_isr() argument
67 u32 base = 0x140000 + (ltc * 0x2000) + (lts * 0x400); gm107_ltc_lts_isr()
71 nv_info(priv, "LTC%d_LTS%d: 0x%08x\n", ltc, lts, stat); gm107_ltc_lts_isr()
84 u32 lts, ltc = __ffs(mask); gm107_ltc_intr() local
86 gm107_ltc_lts_isr(priv, ltc, lts); gm107_ltc_intr()
87 mask &= ~(1 << ltc); gm107_ltc_intr()
H A Dgf100.c84 gf100_ltc_lts_intr(struct nvkm_ltc_priv *priv, int ltc, int lts) gf100_ltc_lts_intr() argument
86 u32 base = 0x141000 + (ltc * 0x2000) + (lts * 0x400); gf100_ltc_lts_intr()
91 nv_info(priv, "LTC%d_LTS%d:", ltc, lts); gf100_ltc_lts_intr()
107 u32 lts, ltc = __ffs(mask); gf100_ltc_intr() local
109 gf100_ltc_lts_intr(priv, ltc, lts); gf100_ltc_intr()
110 mask &= ~(1 << ltc); gf100_ltc_intr()
H A Dpriv.h3 #include <subdev/ltc.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dgf100.c27 #include <subdev/ltc.h>
115 struct nvkm_ltc *ltc = nvkm_ltc(vma->vm->mmu); gf100_vm_map() local
119 ltc->tags_clear(ltc, tag, cnt); gf100_vm_map()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c62 struct nvkm_ltc *ltc = nvkm_ltc(priv); gf100_gr_zbc_color_get() local
65 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { gf100_gr_zbc_color_get()
89 ltc->zbc_color_get(ltc, zbc, l2); gf100_gr_zbc_color_get()
108 struct nvkm_ltc *ltc = nvkm_ltc(priv); gf100_gr_zbc_depth_get() local
111 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { gf100_gr_zbc_depth_get()
133 ltc->zbc_depth_get(ltc, zbc, l2); gf100_gr_zbc_depth_get()
648 struct nvkm_ltc *ltc = nvkm_ltc(priv); gf100_gr_zbc_init() local
660 for (index = ltc->zbc_min; index <= ltc->zbc_max; index++) gf100_gr_zbc_init()
662 for (index = ltc->zbc_min; index <= ltc->zbc_max; index++) gf100_gr_zbc_init()
H A Dgf100.h28 #include <subdev/ltc.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgf100.c35 #include <subdev/ltc.h>
427 struct nvkm_ltc *ltc = nvkm_ltc(pfb); gf100_ram_put() local
436 ltc->tags_free(ltc, &mem->tag); gf100_ram_put()
470 struct nvkm_ltc *ltc = nvkm_ltc(pfb); gf100_ram_get() local
475 ltc->tags_alloc(ltc, n, &mem->tag); gf100_ram_get()
/linux-4.1.27/sound/pci/rme9652/
H A Dhdspm.c4757 int a, ltc, frames, seconds, minutes, hours; snd_hdspm_proc_read_tco() local
4838 ltc = hdspm_read(hdspm, HDSPM_RD_TCO); snd_hdspm_proc_read_tco()
4839 frames = ltc & 0xF; snd_hdspm_proc_read_tco()
4840 ltc >>= 4; snd_hdspm_proc_read_tco()
4841 frames += (ltc & 0x3) * 10; snd_hdspm_proc_read_tco()
4842 ltc >>= 4; snd_hdspm_proc_read_tco()
4843 seconds = ltc & 0xF; snd_hdspm_proc_read_tco()
4844 ltc >>= 4; snd_hdspm_proc_read_tco()
4845 seconds += (ltc & 0x7) * 10; snd_hdspm_proc_read_tco()
4846 ltc >>= 4; snd_hdspm_proc_read_tco()
4847 minutes = ltc & 0xF; snd_hdspm_proc_read_tco()
4848 ltc >>= 4; snd_hdspm_proc_read_tco()
4849 minutes += (ltc & 0x7) * 10; snd_hdspm_proc_read_tco()
4850 ltc >>= 4; snd_hdspm_proc_read_tco()
4851 hours = ltc & 0xF; snd_hdspm_proc_read_tco()
4852 ltc >>= 4; snd_hdspm_proc_read_tco()
4853 hours += (ltc & 0x3) * 10; snd_hdspm_proc_read_tco()
6173 struct hdspm_ltc ltc; snd_hdspm_hwdep_ioctl() local
6229 ltc.ltc = hdspm_read(hdspm, HDSPM_RD_TCO); snd_hdspm_hwdep_ioctl()
6235 ltc.format = fps_24; snd_hdspm_hwdep_ioctl()
6238 ltc.format = fps_25; snd_hdspm_hwdep_ioctl()
6241 ltc.format = fps_2997; snd_hdspm_hwdep_ioctl()
6244 ltc.format = fps_30; snd_hdspm_hwdep_ioctl()
6248 ltc.frame = drop_frame; snd_hdspm_hwdep_ioctl()
6250 ltc.frame = full_frame; snd_hdspm_hwdep_ioctl()
6253 ltc.format = format_invalid; snd_hdspm_hwdep_ioctl()
6254 ltc.frame = frame_invalid; snd_hdspm_hwdep_ioctl()
6257 ltc.input_format = ntsc; snd_hdspm_hwdep_ioctl()
6259 ltc.input_format = pal; snd_hdspm_hwdep_ioctl()
6261 ltc.input_format = no_video; snd_hdspm_hwdep_ioctl()
6264 s = copy_to_user(argp, &ltc, sizeof(struct hdspm_ltc)); snd_hdspm_hwdep_ioctl()
/linux-4.1.27/drivers/net/appletalk/
H A Dltpc.c725 struct lt_rcvlap *ltc = (struct lt_rcvlap *) ltdmacbuf; sendup_buffer() local
727 if (ltc->command != LT_RCVLAP) { sendup_buffer()
728 printk("unknown command 0x%02x from ltpc card\n",ltc->command); sendup_buffer()
731 dnode = ltc->dnode; sendup_buffer()
732 snode = ltc->snode; sendup_buffer()
733 llaptype = ltc->laptype; sendup_buffer()
734 len = ltc->length; sendup_buffer()
/linux-4.1.27/include/uapi/sound/
H A Dhdspm.h113 unsigned int ltc; member in struct:hdspm_ltc
/linux-4.1.27/drivers/isdn/act2000/
H A Dcapi.h98 __u16 ltc; member in struct:actcapi_ncpd
H A Dcapi.c965 printk(KERN_DEBUG " ncpi.ltc = 0x%04x\n", ncpi->ltc); actcapi_debug_ncpi()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dgm100.c38 #include <subdev/ltc.h>
H A Dgk104.c38 #include <subdev/ltc.h>
H A Dgf100.c38 #include <subdev/ltc.h>
/linux-4.1.27/sound/pci/pcxhr/
H A Dpcxhr.c1425 snd_iprintf(buffer, "ltc not activated (%d)\n", err); pcxhr_proc_ltc()
1438 snd_iprintf(buffer, "ltc read error (err=%d)\n", err); pcxhr_proc_ltc()
1472 if (!snd_card_proc_new(chip->card, "ltc", &entry)) pcxhr_proc_init()
/linux-4.1.27/drivers/video/fbdev/
H A Dcyber2000fb.c7 * Copyright (C) 2001 Bradley D. LaRonde <brad@ltc.com>

Completed in 1780 milliseconds