/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | base.c | 31 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(<c->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(<c->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 …]
|
H A D | gf100.c | 31 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 …]
|
H A D | gm107.c | 30 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 …]
|
H A D | Kbuild | 2 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 10 nvkm-y += nvkm/subdev/ltc/ga102.o
|
H A D | gp100.c | 27 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
|
H A D | gm200.c | 30 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()
|
H A D | gk104.c | 27 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()
|
H A D | gp10b.c | 28 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()
|
H A D | gp102.c | 27 gp102_ltc_zbc_clear_stencil(struct nvkm_ltc *ltc, int i, const u32 stencil) in gp102_ltc_zbc_clear_stencil() argument 29 struct nvkm_device *device = ltc->subdev.device; in gp102_ltc_zbc_clear_stencil()
|
H A D | ga102.c | 27 ga102_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in ga102_ltc_zbc_clear_color() argument 29 struct nvkm_device *device = ltc->subdev.device; in ga102_ltc_zbc_clear_color()
|
H A D | priv.h | 41 void gm107_ltc_intr_lts(struct nvkm_ltc *, int ltc, int lts);
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gp102.c | 47 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gp102_gr_zbc_stencil_get() local 50 for (i = ltc->zbc_depth_min; i <= ltc->zbc_depth_max; i++) { in gp102_gr_zbc_stencil_get() 72 nvkm_ltc_zbc_stencil_get(ltc, zbc, l2); in gp102_gr_zbc_stencil_get()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | gk20a.c | 178 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/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 1301 .ltc = { 0x00000001, gf100_ltc_new }, 1336 .ltc = { 0x00000001, gf100_ltc_new }, 1371 .ltc = { 0x00000001, gf100_ltc_new }, 1406 .ltc = { 0x00000001, gf100_ltc_new }, 1441 .ltc = { 0x00000001, gf100_ltc_new }, 1476 .ltc = { 0x00000001, gf100_ltc_new }, 1511 .ltc = { 0x00000001, gf100_ltc_new }, 1546 .ltc = { 0x00000001, gf100_ltc_new }, 1580 .ltc = { 0x00000001, gf100_ltc_new }, 1615 .ltc = { 0x00000001, gk104_ltc_new }, [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-mux-ltc4306.txt | 24 - ltc,downstream-accelerators-enable: Enables the rise time accelerators 26 - ltc,upstream-accelerators-enable: Enables the rise time accelerators
|
/linux/sound/pci/rme9652/ |
H A D | hdspm.c | 4750 int a, ltc, frames, seconds, minutes, hours; in snd_hdspm_proc_read_tco() local 4831 ltc = hdspm_read(hdspm, HDSPM_RD_TCO); in snd_hdspm_proc_read_tco() 4832 frames = ltc & 0xF; in snd_hdspm_proc_read_tco() 4833 ltc >>= 4; in snd_hdspm_proc_read_tco() 4834 frames += (ltc & 0x3) * 10; in snd_hdspm_proc_read_tco() 4835 ltc >>= 4; in snd_hdspm_proc_read_tco() 4836 seconds = ltc & 0xF; in snd_hdspm_proc_read_tco() 4837 ltc >>= 4; in snd_hdspm_proc_read_tco() 4838 seconds += (ltc & 0x7) * 10; in snd_hdspm_proc_read_tco() 4839 ltc >>= 4; in snd_hdspm_proc_read_tco() [all …]
|
/linux/include/uapi/sound/ |
H A D | hdspm.h | 97 unsigned int ltc; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ |
H A D | Kbuild | 16 include $(src)/nvkm/subdev/ltc/Kbuild
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | layout.h | 18 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_LTC , struct nvkm_ltc , ltc)
|
/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_arria10_socdk.dtsi | 161 ltc@5c {
|