Home
last modified time | relevance | path

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

/Linux-v5.10/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->subdev.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->subdev.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
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()
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
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-v5.10/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-v5.10/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-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c1353 .ltc = gf100_ltc_new,
1390 .ltc = gf100_ltc_new,
1426 .ltc = gf100_ltc_new,
1462 .ltc = gf100_ltc_new,
1499 .ltc = gf100_ltc_new,
1536 .ltc = gf100_ltc_new,
1573 .ltc = gf100_ltc_new,
1609 .ltc = gf100_ltc_new,
1644 .ltc = gf100_ltc_new,
1680 .ltc = gk104_ltc_new,
[all …]
/Linux-v5.10/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-v5.10/drivers/net/appletalk/
Dltpc.c728 struct lt_rcvlap *ltc = (struct lt_rcvlap *) ltdmacbuf; in sendup_buffer() local
730 if (ltc->command != LT_RCVLAP) { in sendup_buffer()
731 printk("unknown command 0x%02x from ltpc card\n",ltc->command); in sendup_buffer()
734 dnode = ltc->dnode; in sendup_buffer()
735 snode = ltc->snode; in sendup_buffer()
736 llaptype = ltc->laptype; in sendup_buffer()
737 len = ltc->length; in sendup_buffer()
/Linux-v5.10/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-v5.10/include/uapi/sound/
Dhdspm.h112 unsigned int ltc; member
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild17 include $(src)/nvkm/subdev/ltc/Kbuild
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h147 struct nvkm_ltc *ltc; member
220 int (*ltc )(struct nvkm_device *, int idx, struct nvkm_ltc **); member
/Linux-v5.10/arch/arm/boot/dts/
Dsocfpga_arria10_socdk.dtsi161 ltc@5c {
/Linux-v5.10/drivers/char/
DKconfig287 <http://www.ibm.com/linux/ltc/>.