/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gf100.c | 26 #include <subdev/fuse.h> 31 struct nvkm_device *device = volt->subdev.device; 43 struct nvkm_subdev *subdev = &volt->subdev; local 45 nvkm_error(subdev, "couldn't find speedo value, volting not "
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
H A D | base.c | 25 #include <subdev/mc.h> 26 #include <subdev/timer.h> 43 struct nvkm_subdev *subdev = &sec2->engine.subdev; local 52 if (!subdev->use.enabled) 60 nvkm_msec(subdev->device, 2000, 66 nvkm_inth_block(&subdev->inth); 70 nvkm_falcon_put(falcon, subdev); 78 struct nvkm_subdev *subdev = &sec2->engine.subdev; local 99 struct nvkm_subdev *subdev = &sec2->engine.subdev; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | nv50.c | 27 #include <subdev/therm.h> 28 #include <subdev/timer.h> 33 struct nvkm_device *device = bus->subdev.device; 55 struct nvkm_subdev *subdev = &bus->subdev; local 56 struct nvkm_device *device = subdev->device; 63 nvkm_error_ratelimited(subdev, "MMIO %s of %08x FAULT at %06x\n", 74 nvkm_subdev_intr(&therm->subdev); 80 nvkm_error(subdev, "intr %08x\n", stat); 88 struct nvkm_device *device = bus->subdev [all...] |
H A D | hwsq.c | 27 struct nvkm_subdev *subdev; member in struct:nvkm_hwsq 44 nvkm_hwsq_init(struct nvkm_subdev *subdev, struct nvkm_hwsq **phwsq) argument 50 hwsq->subdev = subdev; 66 struct nvkm_subdev *subdev = hwsq->subdev; local 67 struct nvkm_bus *bus = subdev->device->bus; 75 nvkm_error(subdev, "hwsq exec failed: %d\n", ret); 77 nvkm_error(subdev, "hwsq ucode too large\n"); 82 nvkm_error(subdev, "\ 137 struct nvkm_subdev *subdev = hwsq->subdev; local [all...] |
H A D | gf100.c | 27 #include <subdev/gsp.h> 32 struct nvkm_subdev *subdev = &bus->subdev; local 33 struct nvkm_device *device = subdev->device; 40 nvkm_error_ratelimited(subdev, 54 nvkm_error(subdev, "intr %08x\n", stat); 62 struct nvkm_device *device = bus->subdev.device;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | tu102.c | 24 #include <subdev/bios.h> 25 #include <subdev/bios/pll.h> 26 #include <subdev/clk/pll.h> 27 #include <subdev/gsp.h> 32 struct nvkm_subdev *subdev = &init->subdev; local 33 struct nvkm_device *device = subdev->device; 43 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); 61 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); 89 return tu102_devinit_wait(init->subdev [all...] |
H A D | ga100.c | 24 #include <subdev/bios.h> 25 #include <subdev/bios/pll.h> 26 #include <subdev/clk/pll.h> 27 #include <subdev/gsp.h> 32 struct nvkm_subdev *subdev = &init->subdev; local 33 struct nvkm_device *device = subdev->device; 43 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); 58 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); 69 struct nvkm_device *device = init->subdev [all...] |
H A D | gf100.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); 58 nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq); 69 struct nvkm_device *device = init->subdev 94 struct nvkm_subdev *subdev = &init->base.subdev; local [all...] |
H A D | base.c | 27 #include <subdev/vga.h> 70 nvkm_devinit_fini(struct nvkm_subdev *subdev, bool suspend) argument 72 struct nvkm_devinit *init = nvkm_devinit(subdev); 80 nvkm_devinit_preinit(struct nvkm_subdev *subdev) argument 82 struct nvkm_devinit *init = nvkm_devinit(subdev); 94 nvkm_lockvgac(subdev->device, false); 99 nvkm_devinit_init(struct nvkm_subdev *subdev) argument 101 struct nvkm_devinit *init = nvkm_devinit(subdev); 108 nvkm_devinit_dtor(struct nvkm_subdev *subdev) argument 110 struct nvkm_devinit *init = nvkm_devinit(subdev); [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv40.c | 32 switch (therm->subdev.device->chipset) { 55 struct nvkm_device *device = therm->subdev.device; 75 struct nvkm_device *device = therm->subdev.device; 108 struct nvkm_subdev *subdev = &therm->subdev; local 109 struct nvkm_device *device = subdev->device; 114 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line); 123 struct nvkm_subdev *subdev = &therm->subdev; local 124 struct nvkm_device *device = subdev 151 struct nvkm_subdev *subdev = &therm->subdev; local 170 struct nvkm_subdev *subdev = &therm->subdev; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | image.c | 24 #include <subdev/bios.h> 25 #include <subdev/bios/image.h> 26 #include <subdev/bios/pcir.h> 27 #include <subdev/bios/npde.h> 32 struct nvkm_subdev *subdev = &bios->subdev; local 45 nvkm_debug(subdev, "%08x: ROM signature (%04x) unknown\n",
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gp102.c | 32 return nvkm_falcon_fw_boot(&fb->vpr_scrubber, &fb->subdev, true, NULL, NULL, 0, 0x00000000); 38 struct nvkm_device *device = fb->subdev.device; 46 const u32 data = nvkm_rd32(fb->subdev.device, 0x100ce0); 60 struct nvkm_subdev *subdev = &fb->subdev; local 62 nvkm_falcon_fw_ctor_hs(&gm200_flcn_fw, "mem-unlock", subdev, NULL, "nvdec/scrubber", 63 0, &subdev->device->nvdec[0]->falcon, &fb->vpr_scrubber);
|
H A D | ramnv1a.c | 34 if (dev_is_pci(fb->subdev.device->dev)) 35 pdev = to_pci_dev(fb->subdev.device->dev); 42 nvkm_error(&fb->subdev, "no bridge device\n"); 46 if (fb->subdev.device->chipset == 0x1a) {
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | device.h | 27 #include <subdev/bios.h> 28 #include <subdev/fb.h> 29 #include <subdev/bar.h> 30 #include <subdev/gpio.h> 31 #include <subdev/clk.h> 32 #include <subdev/i2c.h> 33 #include <subdev/timer.h> 34 #include <subdev/therm.h> 35 #include <subdev/pci.h>
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/ |
H A D | base.c | 33 nvkm_fuse_dtor(struct nvkm_subdev *subdev) argument 35 return nvkm_fuse(subdev); 50 nvkm_subdev_ctor(&nvkm_fuse, device, type, inst, &fuse->subdev);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
H A D | priv.h | 4 #define nvkm_iccsense(p) container_of((p), struct nvkm_iccsense, subdev) 5 #include <subdev/iccsense.h> 6 #include <subdev/bios/extdev.h>
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | base.c | 85 if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) { 93 nvkm_bar_fini(struct nvkm_subdev *subdev, bool suspend) argument 95 struct nvkm_bar *bar = nvkm_bar(subdev); 97 if (!subdev->use.enabled) 104 nvkm_bar_bar2_fini(subdev->device); 110 nvkm_bar_init(struct nvkm_subdev *subdev) argument 112 struct nvkm_bar *bar = nvkm_bar(subdev); 121 nvkm_bar_oneinit(struct nvkm_subdev *subdev) argument 123 struct nvkm_bar *bar = nvkm_bar(subdev); 128 nvkm_bar_dtor(struct nvkm_subdev *subdev) argument [all...] |
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vip.c | 29 static inline struct tegra_vip_channel *subdev_to_vip_channel(struct v4l2_subdev *subdev) argument 31 return container_of(subdev, struct tegra_vip_channel, subdev); 39 /* Find the previous subdev in the pipeline (i.e. the one connected to our sink pad) */ 51 static int tegra_vip_enable_stream(struct v4l2_subdev *subdev) argument 53 struct tegra_vip_channel *vip_chan = subdev_to_vip_channel(subdev); 78 static int tegra_vip_disable_stream(struct v4l2_subdev *subdev) argument 80 struct tegra_vip_channel *vip_chan = subdev_to_vip_channel(subdev); 91 static int tegra_vip_s_stream(struct v4l2_subdev *subdev, int enable) argument 96 err = tegra_vip_enable_stream(subdev); 160 struct v4l2_subdev *subdev; local 213 struct v4l2_subdev *subdev = &vip->chan.subdev; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | base.c | 51 nvkm_gsp_fini(struct nvkm_subdev *subdev, bool suspend) argument 53 struct nvkm_gsp *gsp = nvkm_gsp(subdev); 62 nvkm_gsp_init(struct nvkm_subdev *subdev) argument 64 struct nvkm_gsp *gsp = nvkm_gsp(subdev); 73 nvkm_gsp_oneinit(struct nvkm_subdev *subdev) argument 75 struct nvkm_gsp *gsp = nvkm_gsp(subdev); 84 nvkm_gsp_dtor(struct nvkm_subdev *subdev) argument 86 struct nvkm_gsp *gsp = nvkm_gsp(subdev); 112 nvkm_subdev_ctor(&nvkm_gsp, device, type, inst, &gsp->subdev); 114 fwif = nvkm_firmware_load(&gsp->subdev, fwi [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | intr.c | 24 #include <core/subdev.h> 25 #include <subdev/pci.h> 26 #include <subdev/top.h> 29 nvkm_intr_xlat(struct nvkm_subdev *subdev, struct nvkm_intr *intr, argument 32 struct nvkm_device *device = subdev->device; 43 tdev->type == subdev->type && 44 tdev->inst == subdev->inst) { 53 if (data->type == subdev->type && data->inst == subdev->inst) { 76 nvkm_intr_find(struct nvkm_subdev *subdev, enu argument 102 nvkm_intr_allow(struct nvkm_subdev *subdev, enum nvkm_intr_type type) argument 128 nvkm_intr_block(struct nvkm_subdev *subdev, enum nvkm_intr_type type) argument 232 nvkm_intr_add(const struct nvkm_intr_func *func, const struct nvkm_intr_data *data, struct nvkm_subdev *subdev, int leaves, struct nvkm_intr *intr) argument 263 struct nvkm_subdev *subdev = container_of(inth, typeof(*subdev), inth); local 272 struct nvkm_subdev *subdev; local 421 nvkm_inth_add(struct nvkm_intr *intr, enum nvkm_intr_type type, enum nvkm_intr_prio prio, struct nvkm_subdev *subdev, nvkm_inth_func func, struct nvkm_inth *inth) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | base.c | 27 #include <subdev/bios.h> 28 #include <subdev/bios/mxm.h> 29 #include <subdev/i2c.h> 46 struct nvkm_device *device = mxm->subdev.device; 82 struct nvkm_subdev *subdev = &mxm->subdev; local 83 struct nvkm_device *device = subdev->device; 109 nvkm_debug(subdev, "DSM MXMS failed\n"); 117 nvkm_debug(subdev, "DSM MXMS returned 0x%llx\n", 133 struct nvkm_subdev *subdev local 163 struct nvkm_subdev *subdev = &mxm->subdev; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | ad5820.c | 26 #include <media/v4l2-subdev.h> 37 #define to_ad5820_device(sd) container_of(sd, struct ad5820_device, subdev) 40 struct v4l2_subdev subdev; member in struct:ad5820_device 59 struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev); 201 coil->subdev.ctrl_handler = &coil->ctrls; 207 * V4L2 subdev operations 209 static int ad5820_registered(struct v4l2_subdev *subdev) argument 211 struct ad5820_device *coil = to_ad5820_device(subdev); 217 ad5820_set_power(struct v4l2_subdev *subdev, int on) argument 219 struct ad5820_device *coil = to_ad5820_device(subdev); 273 struct v4l2_subdev *subdev = dev_get_drvdata(dev); local 284 struct v4l2_subdev *subdev = dev_get_drvdata(dev); local 340 struct v4l2_subdev *subdev = i2c_get_clientdata(client); local [all...] |
/linux-master/drivers/media/tuners/ |
H A D | fc2580.h | 12 #include <media/v4l2-subdev.h> 24 * @get_v4l2_subdev: Get V4L2 subdev.
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/ |
H A D | base.c | 25 nvkm_vfn_dtor(struct nvkm_subdev *subdev) argument 27 return nvkm_vfn(subdev); 45 nvkm_subdev_ctor(&nvkm_vfn, device, type, inst, &vfn->subdev); 52 &vfn->subdev, 8, &vfn->intr);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | base.c | 47 nvkm_fault_intr(struct nvkm_subdev *subdev) argument 49 struct nvkm_fault *fault = nvkm_fault(subdev); 54 nvkm_fault_fini(struct nvkm_subdev *subdev, bool suspend) argument 56 struct nvkm_fault *fault = nvkm_fault(subdev); 63 nvkm_fault_init(struct nvkm_subdev *subdev) argument 65 struct nvkm_fault *fault = nvkm_fault(subdev); 74 struct nvkm_subdev *subdev = &fault->subdev; local 75 struct nvkm_device *device = subdev->device; 86 nvkm_debug(subdev, "buffe 103 nvkm_fault_oneinit(struct nvkm_subdev *subdev) argument 127 nvkm_fault_dtor(struct nvkm_subdev *subdev) argument [all...] |