/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gm200.c | 26 #include <subdev/fb.h> 27 #include <subdev/timer.h> 32 struct nvkm_device *device = ltc->subdev.device; 42 nvkm_wr32(ltc->subdev.device, 0x17e278, ltc->tag_base);
|
H A D | gm107.c | 26 #include <subdev/fb.h> 27 #include <subdev/timer.h> 32 struct nvkm_device *device = ltc->subdev.device; 41 struct nvkm_device *device = ltc->subdev.device; 55 struct nvkm_device *device = ltc->subdev.device; 66 struct nvkm_device *device = ltc->subdev.device; 74 struct nvkm_subdev *subdev = <c->subdev; local 75 struct nvkm_device *device = subdev->device; 83 nvkm_error(subdev, "LT [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gm107.c | 26 #include <subdev/bios.h> 27 #include <subdev/bios/init.h> 28 #include <subdev/gsp.h> 33 struct nvkm_device *device = init->subdev.device;
|
H A D | gt215.c | 26 #include <subdev/bios.h> 27 #include <subdev/bios/init.h> 28 #include <subdev/bios/pll.h> 29 #include <subdev/clk/pll.h> 34 struct nvkm_subdev *subdev = &init->subdev; local 35 struct nvkm_device *device = subdev->device; 44 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); 57 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); 68 struct nvkm_device *device = init->subdev [all...] |
H A D | nv20.c | 29 #include <subdev/bios.h> 30 #include <subdev/bios/init.h> 35 struct nvkm_subdev *subdev = &init->subdev; local 36 struct nvkm_device *device = subdev->device; 44 nvkm_error(subdev, "failed to map fb\n");
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | base.c | 29 #include <subdev/bios.h> 30 #include <subdev/bios/M0203.h> 50 struct nvkm_device *device = fb->subdev.device; 72 struct nvkm_subdev *subdev = &bios->subdev; local 73 struct nvkm_device *device = subdev->device; 88 nvkm_warn(subdev, "M0203E type %02x\n", M0203E.type); 93 nvkm_warn(subdev, "M0203E not matched!\n"); 98 nvkm_fb_intr(struct nvkm_subdev *subdev) argument 100 struct nvkm_fb *fb = nvkm_fb(subdev); 106 nvkm_fb_oneinit(struct nvkm_subdev *subdev) argument 140 struct nvkm_subdev *subdev = &fb->subdev; local 190 nvkm_fb_init(struct nvkm_subdev *subdev) argument 225 nvkm_fb_preinit(struct nvkm_subdev *subdev) argument 232 nvkm_fb_dtor(struct nvkm_subdev *subdev) argument [all...] |
H A D | ga102.c | 25 #include <subdev/gsp.h> 31 return (u64)nvkm_rd32(fb->subdev.device, 0x1183a4) << 20; 37 struct nvkm_subdev *subdev = &fb->subdev; local 39 nvkm_falcon_fw_ctor_hs_v2(&ga102_flcn_fw, "mem-unlock", subdev, "nvdec/scrubber", 40 0, &subdev->device->nvdec[0]->falcon, &fb->vpr_scrubber);
|
H A D | gf100.c | 29 #include <subdev/therm.h> 35 struct nvkm_subdev *subdev = &fb->base.subdev; local 36 struct nvkm_device *device = subdev->device; 39 nvkm_debug(subdev, "PFFB intr\n"); 41 nvkm_debug(subdev, "PBFB intr\n"); 48 struct nvkm_device *device = fb->base.subdev.device; 70 struct nvkm_device *device = fb->subdev.device; 83 nvkm_wr32(fb->subdev.device, 0x100c10, fb->sysmem.flush_page_addr >> 8); 90 struct nvkm_device *device = fb->base.subdev [all...] |
H A D | ramgp100.c | 26 #include <subdev/bios.h> 27 #include <subdev/bios/init.h> 28 #include <subdev/bios/rammap.h> 33 struct nvkm_subdev *subdev = &ram->fb->subdev; local 34 struct nvkm_device *device = subdev->device; 62 nvbios_init(subdev, nvbios_rd32(bios, data));
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/ |
H A D | gm107.c | 26 #include <subdev/gsp.h> 31 struct nvkm_device *device = fuse->subdev.device;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | tu102.c | 25 #include <subdev/gsp.h> 26 #include <subdev/timer.h> 31 struct nvkm_device *device = bar->subdev.device; 41 nvkm_mask(bar->subdev.device, 0xb80f48, 0x80000000, 0x00000000); 47 struct nvkm_device *device = base->subdev.device; 58 struct nvkm_device *device = bar->subdev.device; 68 nvkm_mask(bar->subdev.device, 0xb80f40, 0x80000000, 0x00000000); 74 struct nvkm_device *device = base->subdev.device;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | gk104.c | 29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; 35 struct nvkm_device *device = pci->subdev.device; 62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; 114 u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000; 129 struct nvkm_device *device = pci->subdev.device; 153 struct nvkm_subdev *subdev = &pci->subdev; local 163 nvkm_trace(subdev, "adjusting cap to max speed\n"); 167 nvkm_warn(subdev, "failed to adjust cap speed\n"); 171 nvkm_debug(subdev, "adjustin 184 struct nvkm_subdev *subdev = &pci->subdev; local [all...] |
H A D | base.c | 77 nvkm_pci_fini(struct nvkm_subdev *subdev, bool suspend) argument 79 struct nvkm_pci *pci = nvkm_pci(subdev); 88 nvkm_pci_preinit(struct nvkm_subdev *subdev) argument 90 struct nvkm_pci *pci = nvkm_pci(subdev); 97 nvkm_pci_oneinit(struct nvkm_subdev *subdev) argument 99 struct nvkm_pci *pci = nvkm_pci(subdev); 112 nvkm_pci_init(struct nvkm_subdev *subdev) argument 114 struct nvkm_pci *pci = nvkm_pci(subdev); 138 nvkm_pci_dtor(struct nvkm_subdev *subdev) argument 140 struct nvkm_pci *pci = nvkm_pci(subdev); [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | base.c | 27 #include <subdev/timer.h> 71 nvkm_pmu_intr(struct nvkm_subdev *subdev) argument 73 struct nvkm_pmu *pmu = nvkm_pmu(subdev); 80 nvkm_pmu_fini(struct nvkm_subdev *subdev, bool suspend) argument 82 struct nvkm_pmu *pmu = nvkm_pmu(subdev); 84 if (!subdev->use.enabled) 94 nvkm_pmu_init(struct nvkm_subdev *subdev) argument 96 struct nvkm_pmu *pmu = nvkm_pmu(subdev); 105 nvkm_pmu_dtor(struct nvkm_subdev *subdev) argument 107 struct nvkm_pmu *pmu = nvkm_pmu(subdev); [all...] |
/linux-master/drivers/media/rc/img-ir/ |
H A D | img-ir-sony.c | 14 unsigned int dev, subdev, func; local 23 subdev = 0; 32 subdev = 0; 42 subdev = raw & 0xff; /* next 8 bits */ 48 request->scancode = dev << 16 | subdev << 8 | func; 56 unsigned int dev, subdev, func; local 62 subdev = (in->data >> 8) & 0xff; 76 if (subdev & subdev_m) 85 /* can't encode subdev and higher device bits */ 105 subdev [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk104.c | 26 #include <subdev/volt.h> 27 #include <subdev/gpio.h> 28 #include <subdev/bios.h> 29 #include <subdev/bios/volt.h> 30 #include <subdev/fuse.h> 42 struct nvkm_device *device = base->subdev.device; 55 struct nvkm_device *device = base->subdev.device; 71 struct nvkm_device *device = volt->subdev.device; 122 /* now that we have a subdev, we can show an error if we found through 127 nvkm_error(&volt->base.subdev, [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv50.c | 28 #include <subdev/timer.h> 40 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 128 * 4, 57 * PMPEG engine/subdev functions 63 struct nvkm_subdev *subdev = &mpeg->subdev; local 64 struct nvkm_device *device = subdev->device; 80 nvkm_info(subdev, "%08x %08x %08x %08x\n", 91 struct nvkm_subdev *subdev = &mpeg->subdev; local 92 struct nvkm_device *device = subdev [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
H A D | gm20b.c | 26 #include <subdev/mmu.h> 27 #include <subdev/pmu.h> 35 struct nvkm_subdev *subdev = &acr->subdev; local 40 nvkm_error(subdev, "WPR image too big for WPR!\n"); 44 return nvkm_memory_new(subdev->device, NVKM_MEM_TARGET_INST, 77 flcn_acr_desc_dump(&acr->subdev, desc); 117 struct nvkm_subdev *subdev = &acr->subdev; local 120 hsfwif = nvkm_firmware_load(subdev, fwi [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | mxm.c | 24 #include <subdev/bios.h> 25 #include <subdev/bios/bit.h> 26 #include <subdev/bios/mxm.h> 31 struct nvkm_subdev *subdev = &bios->subdev; local 35 nvkm_debug(subdev, "BIT 'x' table not present\n"); 42 nvkm_warn(subdev, "BIT 'x' table %d/%d unknown\n", *ver, *hdr); 77 struct nvkm_subdev *subdev = &bios->subdev; local 94 nvkm_warn(subdev, "unknow 114 struct nvkm_subdev *subdev = &bios->subdev; local [all...] |
H A D | shadowramin.c | 33 struct nvkm_device *device = bios->subdev.device; 48 struct nvkm_device *device = priv->bios->subdev.device; 57 struct nvkm_subdev *subdev = &bios->subdev; local 58 struct nvkm_device *device = subdev->device; 76 nvkm_debug(subdev, "... display disabled\n"); 89 nvkm_debug(subdev, "... not enabled\n"); 93 nvkm_debug(subdev, "... not in vram\n"); 106 nvkm_error(subdev, "... out of memory\n");
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | nv50.c | 26 #include <subdev/bios.h> 27 #include <subdev/bios/conn.h> 28 #include <subdev/bios/dcb.h> 29 #include <subdev/bios/mxm.h> 52 struct nvkm_bios *bios = mxm->subdev.device->bios; 106 nvkm_debug(&mxm->subdev, "disable %d: %08x %08x\n", 180 struct nvkm_subdev *subdev = &mxm->subdev; local 183 nvkm_info(subdev, "unmatched output device %016llx\n", desc); 190 struct nvkm_subdev *subdev local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gp102.c | 29 #include <subdev/timer.h> 36 struct nvkm_subdev *subdev = &chan->disp->engine.subdev; local 37 struct nvkm_device *device = subdev->device; 54 nvkm_error(subdev, "ch %d init: %08x\n", user, 105 struct nvkm_subdev *subdev = &chan->disp->engine.subdev; local 106 struct nvkm_device *device = subdev->device; 121 nvkm_error(subdev, "core init: %08x\n", 150 struct nvkm_subdev *subdev local [all...] |
/linux-master/drivers/remoteproc/ |
H A D | qcom_common.c | 25 #define to_glink_subdev(d) container_of(d, struct qcom_rproc_glink, subdev) 26 #define to_smd_subdev(d) container_of(d, struct qcom_rproc_subdev, subdev) 27 #define to_ssr_subdev(d) container_of(d, struct qcom_rproc_ssr, subdev) 197 static int glink_subdev_start(struct rproc_subdev *subdev) argument 199 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); 206 static void glink_subdev_stop(struct rproc_subdev *subdev, bool crashed) argument 208 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); 214 static void glink_subdev_unprepare(struct rproc_subdev *subdev) argument 216 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); 224 * @glink: reference to a GLINK subdev contex 308 smd_subdev_start(struct rproc_subdev *subdev) argument 317 smd_subdev_stop(struct rproc_subdev *subdev, bool crashed) argument 429 ssr_notify_prepare(struct rproc_subdev *subdev) argument 442 ssr_notify_start(struct rproc_subdev *subdev) argument 455 ssr_notify_stop(struct rproc_subdev *subdev, bool crashed) argument 467 ssr_notify_unprepare(struct rproc_subdev *subdev) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv04.c | 27 #include <subdev/bios.h> 28 #include <subdev/bios/pll.h> 29 #include <subdev/devinit/nv04.h> 36 int ret = nv04_pll_calc(&clock->subdev, info, clk, &N1, &M1, &N2, &M2, &P); 51 struct nvkm_device *device = clk->subdev.device;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gt215.c | 45 struct nvkm_subdev *subdev = &ce->engine.subdev; local 46 struct nvkm_device *device = subdev->device; 47 const u32 base = subdev->inst * 0x1000; 56 nvkm_error(subdev, "DISPATCH_ERROR %04x [%s] ch %d [%010llx %s] "
|