Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dbase.c31 struct nvkm_ltc *ltc = device->ltc; in nvkm_ltc_tags_clear() local
34 BUG_ON((first > limit) || (limit >= ltc->num_tags)); in nvkm_ltc_tags_clear()
36 mutex_lock(&ltc->mutex); in nvkm_ltc_tags_clear()
37 ltc->func->cbc_clear(ltc, first, limit); in nvkm_ltc_tags_clear()
38 ltc->func->cbc_wait(ltc); in nvkm_ltc_tags_clear()
39 mutex_unlock(&ltc->mutex); in nvkm_ltc_tags_clear()
43 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) in nvkm_ltc_zbc_color_get() argument
45 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); in nvkm_ltc_zbc_color_get()
46 ltc->func->zbc_clear_color(ltc, index, color); in nvkm_ltc_zbc_color_get()
51 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) in nvkm_ltc_zbc_depth_get() argument
[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()
53 gm107_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gm107_ltc_zbc_clear_color() argument
55 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color()
64 gm107_ltc_zbc_clear_depth(struct nvkm_ltc *ltc, int i, const u32 depth) in gm107_ltc_zbc_clear_depth() argument
66 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_depth()
[all …]
Dgp100.c27 gp100_ltc_intr(struct nvkm_ltc *ltc) in gp100_ltc_intr() argument
29 struct nvkm_device *device = ltc->subdev.device; in gp100_ltc_intr()
35 for (s = 0; s < ltc->lts_nr; s++) in gp100_ltc_intr()
36 gm107_ltc_intr_lts(ltc, c, s); in gp100_ltc_intr()
42 gp100_ltc_oneinit(struct nvkm_ltc *ltc) in gp100_ltc_oneinit() argument
44 struct nvkm_device *device = ltc->subdev.device; in gp100_ltc_oneinit()
45 ltc->ltc_nr = nvkm_rd32(device, 0x12006c); in gp100_ltc_oneinit()
46 ltc->lts_nr = nvkm_rd32(device, 0x17e280) >> 28; in gp100_ltc_oneinit()
52 gp100_ltc_init(struct nvkm_ltc *ltc) in gp100_ltc_init() argument
DKbuild2 nvkm-y += nvkm/subdev/ltc/base.o
3 nvkm-y += nvkm/subdev/ltc/gf100.o
4 nvkm-y += nvkm/subdev/ltc/gk104.o
5 nvkm-y += nvkm/subdev/ltc/gm107.o
6 nvkm-y += nvkm/subdev/ltc/gm200.o
7 nvkm-y += nvkm/subdev/ltc/gp100.o
8 nvkm-y += nvkm/subdev/ltc/gp102.o
9 nvkm-y += nvkm/subdev/ltc/gp10b.o
Dgm200.c30 gm200_ltc_oneinit(struct nvkm_ltc *ltc) in gm200_ltc_oneinit() argument
32 struct nvkm_device *device = ltc->subdev.device; in gm200_ltc_oneinit()
34 ltc->ltc_nr = nvkm_rd32(device, 0x12006c); in gm200_ltc_oneinit()
35 ltc->lts_nr = nvkm_rd32(device, 0x17e280) >> 28; in gm200_ltc_oneinit()
37 return gf100_ltc_oneinit_tag_ram(ltc); in gm200_ltc_oneinit()
40 gm200_ltc_init(struct nvkm_ltc *ltc) in gm200_ltc_init() argument
42 nvkm_wr32(ltc->subdev.device, 0x17e278, ltc->tag_base); in gm200_ltc_init()
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()
Dgp10b.c28 gp10b_ltc_init(struct nvkm_ltc *ltc) in gp10b_ltc_init() argument
30 struct nvkm_device *device = ltc->subdev.device; in gp10b_ltc_init()
33 nvkm_wr32(device, 0x17e27c, ltc->ltc_nr); in gp10b_ltc_init()
34 nvkm_wr32(device, 0x17e000, ltc->ltc_nr); in gp10b_ltc_init()
35 nvkm_wr32(device, 0x100800, ltc->ltc_nr); in gp10b_ltc_init()
Dgp102.c25 gp102_ltc_zbc_clear_stencil(struct nvkm_ltc *ltc, int i, const u32 stencil) in gp102_ltc_zbc_clear_stencil() argument
27 struct nvkm_device *device = ltc->subdev.device; in gp102_ltc_zbc_clear_stencil()
Dpriv.h40 void gm107_ltc_intr_lts(struct nvkm_ltc *, int ltc, int lts);
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgp102.c47 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gp102_gr_zbc_stencil_get() local
50 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { in gp102_gr_zbc_stencil_get()
72 nvkm_ltc_zbc_stencil_get(ltc, zbc, l2); in gp102_gr_zbc_stencil_get()
Dgf100.c67 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_color_get() local
70 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { in gf100_gr_zbc_color_get()
94 nvkm_ltc_zbc_color_get(ltc, zbc, l2); in gf100_gr_zbc_color_get()
114 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_depth_get() local
117 for (i = ltc->zbc_min; i <= ltc->zbc_max; i++) { in gf100_gr_zbc_depth_get()
139 nvkm_ltc_zbc_depth_get(ltc, zbc, l2); in gf100_gr_zbc_depth_get()
957 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_init() local
958 int index, c = ltc->zbc_min, d = ltc->zbc_min, s = ltc->zbc_min; in gf100_gr_zbc_init()
974 for (index = c; index <= ltc->zbc_max; index++) in gf100_gr_zbc_init()
976 for (index = d; index <= ltc->zbc_max; index++) in gf100_gr_zbc_init()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c178 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_acquire_dma() local
180 nvkm_ltc_flush(ltc); in gk20a_instobj_acquire_dma()
190 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_acquire_iommu() local
193 nvkm_ltc_flush(ltc); in gk20a_instobj_acquire_iommu()
233 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_release_dma() local
237 nvkm_ltc_invalidate(ltc); in gk20a_instobj_release_dma()
245 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_release_iommu() local
261 nvkm_ltc_invalidate(ltc); in gk20a_instobj_release_iommu()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c1351 .ltc = { 0x00000001, gf100_ltc_new },
1387 .ltc = { 0x00000001, gf100_ltc_new },
1423 .ltc = { 0x00000001, gf100_ltc_new },
1459 .ltc = { 0x00000001, gf100_ltc_new },
1495 .ltc = { 0x00000001, gf100_ltc_new },
1531 .ltc = { 0x00000001, gf100_ltc_new },
1567 .ltc = { 0x00000001, gf100_ltc_new },
1603 .ltc = { 0x00000001, gf100_ltc_new },
1638 .ltc = { 0x00000001, gf100_ltc_new },
1674 .ltc = { 0x00000001, gk104_ltc_new },
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/i2c/
Di2c-mux-ltc4306.txt24 - ltc,downstream-accelerators-enable: Enables the rise time accelerators
26 - ltc,upstream-accelerators-enable: Enables the rise time accelerators
/linux-6.1.9/sound/pci/rme9652/
Dhdspm.c4748 int a, ltc, frames, seconds, minutes, hours; in snd_hdspm_proc_read_tco() local
4829 ltc = hdspm_read(hdspm, HDSPM_RD_TCO); in snd_hdspm_proc_read_tco()
4830 frames = ltc & 0xF; in snd_hdspm_proc_read_tco()
4831 ltc >>= 4; in snd_hdspm_proc_read_tco()
4832 frames += (ltc & 0x3) * 10; in snd_hdspm_proc_read_tco()
4833 ltc >>= 4; in snd_hdspm_proc_read_tco()
4834 seconds = ltc & 0xF; in snd_hdspm_proc_read_tco()
4835 ltc >>= 4; in snd_hdspm_proc_read_tco()
4836 seconds += (ltc & 0x7) * 10; in snd_hdspm_proc_read_tco()
4837 ltc >>= 4; in snd_hdspm_proc_read_tco()
[all …]
/linux-6.1.9/include/uapi/sound/
Dhdspm.h97 unsigned int ltc; member
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild16 include $(src)/nvkm/subdev/ltc/Kbuild
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dlayout.h16 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_LTC , struct nvkm_ltc , ltc)
/linux-6.1.9/arch/arm/boot/dts/
Dsocfpga_arria10_socdk.dtsi161 ltc@5c {
/linux-6.1.9/drivers/char/
DKconfig270 <http://www.ibm.com/linux/ltc/>.