subdev            170 drivers/gpu/drm/nouveau/dispnv04/disp.h 	nvbios_init(&nvxx_bios(&nouveau_drm(dev)->client.device)->subdev, table,
subdev              4 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h #define nvkm_engine(p) container_of((p), struct nvkm_engine, subdev)
subdev             11 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h 	struct nvkm_subdev subdev;
subdev              9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h 	struct nvkm_subdev subdev;
subdev              7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios.h 	struct nvkm_subdev subdev;
subdev              6 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h 	struct nvkm_subdev *subdev;
subdev             24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h 		.subdev = (s),                                                 \
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h 	struct nvkm_subdev subdev;
subdev             85 drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h 	struct nvkm_subdev subdev;
subdev              9 drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h 	struct nvkm_subdev subdev;
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h 	struct nvkm_subdev subdev;
subdev             34 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h 	struct nvkm_subdev subdev;
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/fuse.h 	struct nvkm_subdev subdev;
subdev             24 drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h 	struct nvkm_subdev subdev;
subdev              3 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h #define nvkm_gsp(p) container_of((p), struct nvkm_gsp, subdev)
subdev              7 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h 	struct nvkm_subdev subdev;
subdev             76 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h 	struct nvkm_subdev subdev;
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/iccsense.h 	struct nvkm_subdev subdev;
subdev              9 drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h 	struct nvkm_subdev subdev;
subdev             11 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h 	struct nvkm_subdev subdev;
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h 	struct nvkm_subdev subdev;
subdev             89 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h 	struct nvkm_subdev subdev;
subdev             14 drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h 	struct nvkm_subdev subdev;
subdev              9 drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h 	struct nvkm_subdev subdev;
subdev             46 drivers/gpu/drm/nouveau/include/nvkm/subdev/secboot.h 	struct nvkm_subdev subdev;
subdev             55 drivers/gpu/drm/nouveau/include/nvkm/subdev/secboot.h #define nvkm_secboot(p) container_of((p), struct nvkm_secboot, subdev)
subdev             61 drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h 	struct nvkm_subdev subdev;
subdev             22 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h 	struct nvkm_subdev subdev;
subdev             63 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h 		dev_WARN(_wait.tmr->subdev.device->dev, "timeout\n");          \
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h 	struct nvkm_subdev subdev;
subdev              8 drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h 	struct nvkm_subdev subdev;
subdev             43 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		mutex_lock(&engine->subdev.mutex);
subdev             45 drivers/gpu/drm/nouveau/nvkm/core/engine.c 			nvkm_subdev_fini(&engine->subdev, false);
subdev             46 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		mutex_unlock(&engine->subdev.mutex);
subdev             55 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		mutex_lock(&engine->subdev.mutex);
subdev             57 drivers/gpu/drm/nouveau/nvkm/core/engine.c 			int ret = nvkm_subdev_init(&engine->subdev);
subdev             60 drivers/gpu/drm/nouveau/nvkm/core/engine.c 				mutex_unlock(&engine->subdev.mutex);
subdev             64 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		mutex_unlock(&engine->subdev.mutex);
subdev             72 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_fb *fb = engine->subdev.device->fb;
subdev             78 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_intr(struct nvkm_subdev *subdev)
subdev             80 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev             86 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data)
subdev             88 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev            101 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            103 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev            110 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_init(struct nvkm_subdev *subdev)
subdev            112 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev            113 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_fb *fb = subdev->device->fb;
subdev            118 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		nvkm_trace(subdev, "init skipped, engine has no users\n");
subdev            122 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	if (engine->func->oneinit && !engine->subdev.oneinit) {
subdev            123 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		nvkm_trace(subdev, "one-time init running...\n");
subdev            127 drivers/gpu/drm/nouveau/nvkm/core/engine.c 			nvkm_trace(subdev, "one-time init failed, %d\n", ret);
subdev            131 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		engine->subdev.oneinit = true;
subdev            133 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		nvkm_trace(subdev, "one-time init completed in %lldus\n", time);
subdev            145 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_preinit(struct nvkm_subdev *subdev)
subdev            147 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev            154 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_dtor(struct nvkm_subdev *subdev)
subdev            156 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	struct nvkm_engine *engine = nvkm_engine(subdev);
subdev            177 drivers/gpu/drm/nouveau/nvkm/core/engine.c 	nvkm_subdev_ctor(&nvkm_engine_func, device, index, &engine->subdev);
subdev            181 drivers/gpu/drm/nouveau/nvkm/core/engine.c 		nvkm_debug(&engine->subdev, "disabled\n");
subdev             35 drivers/gpu/drm/nouveau/nvkm/core/firmware.c nvkm_firmware_get_version(const struct nvkm_subdev *subdev, const char *fwname,
subdev             39 drivers/gpu/drm/nouveau/nvkm/core/firmware.c 	struct nvkm_device *device = subdev->device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/core/firmware.c 			nvkm_debug(subdev, "firmware \"%s\" loaded\n", f);
subdev             64 drivers/gpu/drm/nouveau/nvkm/core/firmware.c 		nvkm_debug(subdev, "firmware \"%s\" unavailable\n", f);
subdev             67 drivers/gpu/drm/nouveau/nvkm/core/firmware.c 	nvkm_error(subdev, "failed to load firmware \"%s\"", fwname);
subdev             72 drivers/gpu/drm/nouveau/nvkm/core/firmware.c nvkm_firmware_get(const struct nvkm_subdev *subdev, const char *fwname,
subdev             75 drivers/gpu/drm/nouveau/nvkm/core/firmware.c 	return nvkm_firmware_get_version(subdev, fwname, 0, 0, fw);
subdev             36 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		mutex_lock(&fb->subdev.mutex);
subdev             42 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		mutex_unlock(&fb->subdev.mutex);
subdev             55 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	mutex_lock(&fb->subdev.mutex);
subdev             62 drivers/gpu/drm/nouveau/nvkm/core/memory.c 			mutex_unlock(&fb->subdev.mutex);
subdev             67 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		mutex_unlock(&fb->subdev.mutex);
subdev             73 drivers/gpu/drm/nouveau/nvkm/core/memory.c 		mutex_unlock(&fb->subdev.mutex);
subdev             95 drivers/gpu/drm/nouveau/nvkm/core/memory.c 	mutex_unlock(&fb->subdev.mutex);
subdev             95 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_intr(struct nvkm_subdev *subdev)
subdev             97 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->intr)
subdev             98 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		subdev->func->intr(subdev);
subdev            102 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_info(struct nvkm_subdev *subdev, u64 mthd, u64 *data)
subdev            104 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->info)
subdev            105 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		return subdev->func->info(subdev, mthd, data);
subdev            110 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            112 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	struct nvkm_device *device = subdev->device;
subdev            116 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "%s running...\n", action);
subdev            119 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->fini) {
subdev            120 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		int ret = subdev->func->fini(subdev, suspend);
subdev            122 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 			nvkm_error(subdev, "%s failed, %d\n", action, ret);
subdev            128 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_mc_reset(device, subdev->index);
subdev            131 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "%s completed in %lldus\n", action, time);
subdev            136 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_preinit(struct nvkm_subdev *subdev)
subdev            140 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "preinit running...\n");
subdev            143 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->preinit) {
subdev            144 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		int ret = subdev->func->preinit(subdev);
subdev            146 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 			nvkm_error(subdev, "preinit failed, %d\n", ret);
subdev            152 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "preinit completed in %lldus\n", time);
subdev            157 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_init(struct nvkm_subdev *subdev)
subdev            162 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "init running...\n");
subdev            165 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->oneinit && !subdev->oneinit) {
subdev            167 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		nvkm_trace(subdev, "one-time init running...\n");
subdev            169 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		ret = subdev->func->oneinit(subdev);
subdev            171 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 			nvkm_error(subdev, "one-time init failed, %d\n", ret);
subdev            175 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		subdev->oneinit = true;
subdev            177 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		nvkm_trace(subdev, "one-time init completed in %lldus\n", time);
subdev            180 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev->func->init) {
subdev            181 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		ret = subdev->func->init(subdev);
subdev            183 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 			nvkm_error(subdev, "init failed, %d\n", ret);
subdev            189 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	nvkm_trace(subdev, "init completed in %lldus\n", time);
subdev            196 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	struct nvkm_subdev *subdev = *psubdev;
subdev            199 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	if (subdev && !WARN_ON(!subdev->func)) {
subdev            200 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		nvkm_trace(subdev, "destroy running...\n");
subdev            202 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		if (subdev->func->dtor)
subdev            203 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 			*psubdev = subdev->func->dtor(subdev);
subdev            205 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		nvkm_trace(subdev, "destroy completed in %lldus\n", time);
subdev            214 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 		 struct nvkm_subdev *subdev)
subdev            217 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	subdev->func = func;
subdev            218 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	subdev->device = device;
subdev            219 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	subdev->index = index;
subdev            221 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	__mutex_init(&subdev->mutex, name, &nvkm_subdev_lock_class[index]);
subdev            222 drivers/gpu/drm/nouveau/nvkm/core/subdev.c 	subdev->debug = nvkm_dbgopt(device->dbgopt, name);
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c 	struct nvkm_device *device = ce->engine.subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c 	const int index = ce->engine.subdev.index - NVKM_ENGINE_CE0;
subdev             49 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	struct nvkm_subdev *subdev = &ce->subdev;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	struct nvkm_device *device = subdev->device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : "");
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x1000;
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	struct nvkm_subdev *subdev = &ce->subdev;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 	struct nvkm_device *device = subdev->device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 		nvkm_warn(subdev, "BLOCKPIPE\n");
subdev             72 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 		nvkm_warn(subdev, "NONBLOCKPIPE\n");
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c 		nvkm_warn(subdev, "intr %08x\n", intr);
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	struct nvkm_subdev *subdev = &ce->subdev;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	struct nvkm_device *device = subdev->device;
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : "");
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x80;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	struct nvkm_subdev *subdev = &ce->subdev;
subdev             64 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 	struct nvkm_device *device = subdev->device;
subdev             68 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 		nvkm_warn(subdev, "BLOCKPIPE\n");
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 		nvkm_warn(subdev, "NONBLOCKPIPE\n");
subdev             83 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c 		nvkm_warn(subdev, "intr %08x\n", intr);
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c 	struct nvkm_subdev *subdev = &ce->engine.subdev;
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c 	struct nvkm_device *device = subdev->device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c 	const u32 base = (subdev->index - NVKM_ENGINE_CE0) * 0x1000;
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c 	nvkm_error(subdev, "DISPATCH_ERROR %04x [%s] ch %d [%010llx %s] "
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16,
subdev             59 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 	return nvkm_gpuobj_new(object->engine->subdev.device, 256,
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 	struct nvkm_subdev *subdev = &cipher->subdev;
subdev             83 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 	struct nvkm_device *device = subdev->device;
subdev             96 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 		nvkm_error(subdev,  "%08x [%s] ch %d [%010llx %s] "
subdev            111 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c 	struct nvkm_device *device = cipher->subdev.device;
subdev           2641 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(BAR     , device->bar     , &device->bar->subdev);
subdev           2642 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(VBIOS   , device->bios    , &device->bios->subdev);
subdev           2643 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(BUS     , device->bus     , &device->bus->subdev);
subdev           2644 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(CLK     , device->clk     , &device->clk->subdev);
subdev           2645 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(DEVINIT , device->devinit , &device->devinit->subdev);
subdev           2646 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(FAULT   , device->fault   , &device->fault->subdev);
subdev           2647 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(FB      , device->fb      , &device->fb->subdev);
subdev           2648 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(FUSE    , device->fuse    , &device->fuse->subdev);
subdev           2649 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(GPIO    , device->gpio    , &device->gpio->subdev);
subdev           2650 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(GSP     , device->gsp     , &device->gsp->subdev);
subdev           2651 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(I2C     , device->i2c     , &device->i2c->subdev);
subdev           2653 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(ICCSENSE, device->iccsense, &device->iccsense->subdev);
subdev           2654 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(INSTMEM , device->imem    , &device->imem->subdev);
subdev           2655 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(LTC     , device->ltc     , &device->ltc->subdev);
subdev           2656 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(MC      , device->mc      , &device->mc->subdev);
subdev           2657 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(MMU     , device->mmu     , &device->mmu->subdev);
subdev           2659 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(PCI     , device->pci     , &device->pci->subdev);
subdev           2660 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(PMU     , device->pmu     , &device->pmu->subdev);
subdev           2661 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(SECBOOT , device->secboot , &device->secboot->subdev);
subdev           2662 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(THERM   , device->therm   , &device->therm->subdev);
subdev           2663 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(TIMER   , device->timer   , &device->timer->subdev);
subdev           2664 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(TOP     , device->top     , &device->top->subdev);
subdev           2665 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(VOLT    , device->volt    , &device->volt->subdev);
subdev           2670 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			return &engine->subdev;
subdev           2730 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	struct nvkm_subdev *subdev;
subdev           2740 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		if ((subdev = nvkm_device_subdev(device, i))) {
subdev           2741 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			ret = nvkm_subdev_fini(subdev, suspend);
subdev           2758 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		if ((subdev = nvkm_device_subdev(device, i))) {
subdev           2759 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			int rret = nvkm_subdev_init(subdev);
subdev           2761 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 				nvkm_fatal(subdev, "failed restart, %d\n", ret);
subdev           2772 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	struct nvkm_subdev *subdev;
subdev           2786 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		if ((subdev = nvkm_device_subdev(device, i))) {
subdev           2787 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			ret = nvkm_subdev_preinit(subdev);
subdev           2809 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	struct nvkm_subdev *subdev;
subdev           2829 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		if ((subdev = nvkm_device_subdev(device, i))) {
subdev           2830 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			ret = nvkm_subdev_init(subdev);
subdev           2845 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		if ((subdev = nvkm_device_subdev(device, i)))
subdev           2846 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			nvkm_subdev_fini(subdev, false);
subdev           2865 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			struct nvkm_subdev *subdev =
subdev           2867 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			nvkm_subdev_del(&subdev);
subdev           2893 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	struct nvkm_subdev *subdev;
subdev           3135 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			subdev = nvkm_device_subdev(device, (s));              \
subdev           3136 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 			nvkm_subdev_del(&subdev);                              \
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	struct nvkm_subdev *subdev;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	subdev = nvkm_device_subdev(device, subidx);
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 	if (subdev)
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 		return nvkm_subdev_info(subdev, mthd, data);
subdev            152 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	mutex_lock(&disp->engine.subdev.mutex);
subdev            155 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	mutex_unlock(&disp->engine.subdev.mutex);
subdev            178 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	mutex_lock(&disp->engine.subdev.mutex);
subdev            180 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 		mutex_unlock(&disp->engine.subdev.mutex);
subdev            184 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	mutex_unlock(&disp->engine.subdev.mutex);
subdev            273 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	struct nvkm_subdev *subdev = &disp->engine.subdev;
subdev            274 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            311 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 			nvkm_warn(subdev, "dcb %d type %d unknown\n",
subdev            325 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 			nvkm_error(subdev, "failed to create outp %d\n", i);
subdev            381 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 			nvkm_error(&disp->engine.subdev,
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = subdev->device;
subdev             58 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 			nvkm_printk_(subdev, debug, info,
subdev             70 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             75 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	if (debug > subdev->debug)
subdev             99 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 			nvkm_printk_(subdev, debug, info, "%s%s:\n", cname, sname);
subdev            110 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            119 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            170 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            180 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            190 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            217 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            249 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            277 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c 	struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio;
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c 	struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio;
subdev             28 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h 	nvkm_##l(&_conn->disp->engine.subdev, "conn %02x:%02x%02x: "f"\n",     \
subdev            172 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            173 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 	struct nvkm_device *device = subdev->device;
subdev            182 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 		nvkm_error(subdev, "core fini: %08x\n",
subdev            190 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            191 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 	struct nvkm_device *device = subdev->device;
subdev            206 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregf119.c 		nvkm_error(subdev, "core init: %08x\n",
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c 	struct nvkm_device *device = subdev->device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregp102.c 		nvkm_error(subdev, "core init: %08x\n",
subdev            138 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            157 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            166 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            176 drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.c 	struct nvkm_device *device = subdev->device;
subdev            169 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            170 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 	struct nvkm_device *device = subdev->device;
subdev            179 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 		nvkm_error(subdev, "core fini: %08x\n",
subdev            187 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            188 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 	struct nvkm_device *device = subdev->device;
subdev            209 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c 		nvkm_error(subdev, "core init: %08x\n",
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.c 	struct nvkm_device *device = subdev->device;
subdev             27 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev             86 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	struct nvkm_device *device = dac->disp->engine.subdev.device;
subdev            118 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 	struct nvkm_device *device = subdev->device;
subdev             53 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 		nvkm_error(subdev, "ch %d fini: %08x\n", user,
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 	struct nvkm_device *device = subdev->device;
subdev             79 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgf119.c 		nvkm_error(subdev, "ch %d init: %08x\n", user,
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgp102.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgp102.c 	struct nvkm_device *device = subdev->device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgp102.c 		nvkm_error(subdev, "ch %d init: %08x\n", user,
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacgv100.c 	struct nvkm_device *device = subdev->device;
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev             83 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	struct nvkm_device *device = subdev->device;
subdev             94 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 		nvkm_error(subdev, "ch %d fini timeout, %08x\n", user,
subdev            102 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	struct nvkm_subdev *subdev = &chan->disp->base.engine.subdev;
subdev            103 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 	struct nvkm_device *device = subdev->device;
subdev            120 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c 		nvkm_error(subdev, "ch %d init timeout, %08x\n", user,
subdev             78 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_bios *bios = ior->disp->engine.subdev.device->bios;
subdev            224 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_subdev *subdev = &disp->engine.subdev;
subdev            225 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            237 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	if (disp->engine.subdev.device->chipset < 0xd0)
subdev            253 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		nvbios_init(subdev, lnkcmp,
subdev            294 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[1],
subdev            306 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[2],
subdev            312 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[3],
subdev            320 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[0],
subdev            428 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&ior->disp->engine.subdev, dp->info.script[4],
subdev            573 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio;
subdev            630 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev            683 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	struct nvkm_i2c *i2c = disp->engine.subdev.device->i2c;
subdev             38 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_device *device = subdev->device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	nvkm_debug(subdev, "supervisor %d\n", ffs(disp->super));
subdev             92 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             93 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_device *device = subdev->device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	nvkm_error(subdev, "chid %d stat %08x reason %d [%s] mthd %04x "
subdev            124 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            125 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_device *device = subdev->device;
subdev            157 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 			nvkm_warn(subdev, "intr24 %08x\n", stat);
subdev            180 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            188 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c 	struct nvkm_device *device = subdev->device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c 	nvkm_error(subdev, "chid %d mthd %04x data %08x %08x %08x\n",
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat);
subdev             99 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            100 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	nvkm_error(subdev, "chid %d stat %08x reason %d [%s] mthd %04x "
subdev            130 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            131 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            166 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "ctrl %08x\n", stat);
subdev            172 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            173 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            193 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "exception %08x\n", stat);
subdev            201 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            202 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            213 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "wimm %08x\n", (u32)stat);
subdev            221 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            222 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            233 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "wndw %08x\n", (u32)stat);
subdev            241 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            242 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            258 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "head %08x\n", stat);
subdev            266 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            267 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            300 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 		nvkm_warn(subdev, "intr %08x\n", stat);
subdev            306 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            313 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagf119.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagf119.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdagt215.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmig84.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigk104.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigm200.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigt215.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             28 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigv100.c 	struct nvkm_device *device = ior->disp->engine.subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h 	nvkm_##l(&_h->disp->engine.subdev, "head-%d: "f"\n", _h->id, ##a);     \
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev            101 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             27 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             93 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c 	struct nvkm_device *device = head->disp->engine.subdev.device;
subdev            168 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h 	nvkm_##l(&_ior->disp->engine.subdev, "%s: "f"\n", _ior->name, ##a);    \
subdev             36 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c 	struct nvkm_subdev *subdev = &disp->engine.subdev;
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c 	struct nvkm_device *device = subdev->device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c 			nvkm_info(subdev, "PVIDEO intr: %08x\n", pvideo);
subdev             86 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             87 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = subdev->device;
subdev             92 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		nvkm_debug(subdev, "Window(s): %d (%08lx)\n",
subdev             97 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvkm_debug(subdev, "  Head(s): %d (%02lx)\n",
subdev            107 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		nvkm_debug(subdev, "   DAC(s): %d (%02lx)\n",
subdev            118 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		nvkm_debug(subdev, "  PIOR(s): %d (%02lx)\n",
subdev            128 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvkm_debug(subdev, "   SOR(s): %d (%02lx)\n",
subdev            186 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_bios *bios = head->disp->engine.subdev.device->bios;
subdev            200 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_subdev *subdev = &head->disp->engine.subdev;
subdev            201 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            244 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvbios_init(subdev, data,
subdev            269 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvbios_init(&head->disp->engine.subdev, iedt.script[id],
subdev            327 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_subdev *subdev = &head->disp->engine.subdev;
subdev            411 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 			nvkm_error(subdev, "unable to determine dp config\n");
subdev            480 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_devinit *devinit = disp->base.engine.subdev.device->devinit;
subdev            548 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            549 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            553 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvkm_debug(subdev, "supervisor %08x %08x\n", disp->super, super);
subdev            616 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev            617 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            628 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvkm_error(subdev,
subdev            650 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            686 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            695 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev            250 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	struct nvkm_i2c *i2c = disp->engine.subdev.device->i2c;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h 	nvkm_##l(&_outp->disp->engine.subdev, "outp %02x:%04x:%04x: "f"\n",    \
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 	struct nvkm_device *device = subdev->device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 		nvkm_error(subdev, "ch %d fini: %08x\n", user,
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             53 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 	struct nvkm_device *device = subdev->device;
subdev             64 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c 		nvkm_error(subdev, "ch %d init: %08x\n", user,
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 	struct nvkm_device *device = subdev->device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 		nvkm_error(subdev, "ch %d timeout: %08x\n", user,
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 	struct nvkm_subdev *subdev = &disp->base.engine.subdev;
subdev             53 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 	struct nvkm_device *device = subdev->device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 		nvkm_error(subdev, "ch %d timeout0: %08x\n", user,
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c 		nvkm_error(subdev, "ch %d timeout1: %08x\n", user,
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	struct nvkm_device *device = pior->disp->engine.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	struct nvkm_device *device = pior->disp->engine.subdev.device;
subdev            100 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	struct nvkm_device *device = pior->disp->engine.subdev.device;
subdev            136 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             78 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             86 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            105 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            125 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            142 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev            171 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            213 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            239 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            288 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             48 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             93 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            101 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            122 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            138 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            192 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c 	struct nvkm_device *device = outp->disp->engine.subdev.device;
subdev             68 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c 	struct nvkm_device *device = outp->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgt215.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            118 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev            103 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	struct nvkm_device *device = disp->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 	struct nvkm_device *device = sor->disp->engine.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c 	struct nvkm_device *device = disp->base.engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev            133 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c 	struct nvkm_device *device = chan->disp->base.engine.subdev.device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	return nvkm_dma_oclass_new(oclass->engine->subdev.device,
subdev             75 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c 	struct nvkm_device *device = dma->engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c 	struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c 	struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c 	struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c 	struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device;
subdev             84 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c 	struct nvkm_device *device = dma->engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c 	struct nvkm_device *device = dmaobj->base.dma->engine.subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	return nvkm_gpuobj_new(object->engine->subdev.device, 256,
subdev             62 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_subdev *subdev = &falcon->engine.subdev;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_device *device = subdev->device;
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 		nvkm_debug(subdev, "ucode halted\n");
subdev             88 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 		nvkm_error(subdev, "intr %08x\n", intr);
subdev             99 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_device *device = falcon->engine.subdev.device;
subdev            111 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	if (nvkm_mc_enabled(device, engine->subdev.index)) {
subdev            132 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_subdev *subdev = &falcon->engine.subdev;
subdev            133 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_device *device = subdev->device;
subdev            152 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	nvkm_debug(subdev, "falcon version: %d\n", falcon->version);
subdev            153 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	nvkm_debug(subdev, "secret level: %d\n", falcon->secret);
subdev            154 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	nvkm_debug(subdev, "code limit: %d\n", falcon->code.limit);
subdev            155 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	nvkm_debug(subdev, "data limit: %d\n", falcon->data.limit);
subdev            163 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_subdev *subdev = &falcon->engine.subdev;
subdev            164 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	struct nvkm_device *device = subdev->device;
subdev            217 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 			nvkm_error(subdev, "unable to load firmware data\n");
subdev            232 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 			nvkm_error(subdev, "unable to load firmware code\n");
subdev            243 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 	nvkm_debug(subdev, "firmware: %s (%s)\n", name, falcon->data.data ?
subdev            252 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 			nvkm_error(subdev, "core allocation failed, %d\n", ret);
subdev            276 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c 			nvkm_error(subdev, "ucode exceeds falcon limit(s)\n");
subdev            316 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c 	nvkm_mc_reset(engine->subdev.device, NVKM_ENGINE_FIFO);
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index];
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	const char *name = nvkm_subdev_name[engine->subdev.index];
subdev             78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index];
subdev             79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	const char *name = nvkm_subdev_name[engine->subdev.index];
subdev            111 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index];
subdev            121 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 			atomic_dec(&chan->vmm->engref[engine->subdev.index]);
subdev            138 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index];
subdev            155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 			atomic_inc(&chan->vmm->engref[engine->subdev.index]);
subdev            206 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev            360 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	switch (engine->subdev.index) {
subdev             70 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	switch (engine->subdev.index) {
subdev             95 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev             96 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	struct nvkm_device *device = subdev->device;
subdev            114 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 		nvkm_error(subdev, "channel %d [%s] unload timeout\n",
subdev            137 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index];
subdev            165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	int engn = engine->subdev.index;
subdev            181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	switch (object->engine->subdev.index) {
subdev            209 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            236 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	switch (engine->subdev.index) {
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_device *device = subdev->device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 		nvkm_error(subdev, "channel %d [%s] unload timeout\n",
subdev            106 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index];
subdev            133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	nvkm_gpuobj_del(&chan->engn[engine->subdev.index]);
subdev            142 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	int engn = engine->subdev.index;
subdev            165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	switch (object->engine->subdev.index) {
subdev            183 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            197 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            235 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	mutex_lock(&chan->fifo->base.engine.subdev.mutex);
subdev             43 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	mutex_unlock(&chan->fifo->base.engine.subdev.mutex);
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem;
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	switch (object->engine->subdev.index) {
subdev             66 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	mutex_lock(&chan->fifo->base.engine.subdev.mutex);
subdev             69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	mutex_unlock(&chan->fifo->base.engine.subdev.mutex);
subdev             78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            131 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            144 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_instmem *imem = fifo->base.engine.subdev.device->imem;
subdev            174 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             38 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	switch (engine->subdev.index) {
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 		if (engine->subdev.device->chipset < 0x44)
subdev             64 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             94 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	inst = chan->engn[engine->subdev.index]->addr >> 4;
subdev            124 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	nvkm_gpuobj_del(&chan->engn[engine->subdev.index]);
subdev            133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	const int engn = engine->subdev.index;
subdev            147 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem;
subdev            152 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	switch (object->engine->subdev.index) {
subdev            162 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	mutex_lock(&chan->fifo->base.engine.subdev.mutex);
subdev            165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	mutex_unlock(&chan->fifo->base.engine.subdev.mutex);
subdev            192 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_lock(&subdev->mutex);
subdev             76 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		mutex_unlock(&subdev->mutex);
subdev             88 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_error(subdev, "runlist update timeout\n");
subdev             89 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_unlock(&subdev->mutex);
subdev             95 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_lock(&fifo->base.engine.subdev.mutex);
subdev             97 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_unlock(&fifo->base.engine.subdev.mutex);
subdev            103 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_lock(&fifo->base.engine.subdev.mutex);
subdev            105 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	mutex_unlock(&fifo->base.engine.subdev.mutex);
subdev            128 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            148 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 			nvkm_subdev_fini(&engine->subdev, false);
subdev            166 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 			WARN_ON(nvkm_subdev_init(&engine->subdev));
subdev            179 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            180 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            183 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	nvkm_error(subdev, "%s engine fault on channel %d, recovering...\n",
subdev            184 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		   nvkm_subdev_name[engine->subdev.index], chid);
subdev            192 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		fifo->recover.mask |= 1ULL << engine->subdev.index;
subdev            260 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            261 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            296 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	nvkm_error(subdev,
subdev            319 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            353 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            354 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            361 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	nvkm_error(subdev, "SCHED_ERROR %02x [%s]\n", code, en ? en->name : "");
subdev            375 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev            407 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            408 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            430 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_error(subdev, "PBDMA%d: %08x [%s] ch %d [%010llx %s] "
subdev            445 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            446 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            456 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_error(subdev, "RUNLIST %08x\n", intr);
subdev            464 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            465 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            479 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 			nvkm_error(subdev, "ENGINE %d %d %01x",
subdev            489 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            502 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            503 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            509 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_warn(subdev, "INTR 00000001: %08x\n", intr);
subdev            522 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_warn(subdev, "INTR 00010000: %08x\n", intr);
subdev            529 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_warn(subdev, "INTR 01000000: %08x\n", intr);
subdev            567 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 		nvkm_error(subdev, "INTR %08x\n", stat);
subdev            577 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            578 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            585 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	nvkm_debug(subdev, "%d PBDMA(s)\n", fifo->pbdma_nr);
subdev            624 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            660 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev             57 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev             88 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_debug(subdev, "engine %02d: busy %d faulted %d chsw %d "
subdev            140 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev            147 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev            155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            156 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "runlist %d update timeout\n", runl);
subdev            183 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            188 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_lock(&subdev->mutex);
subdev            206 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_unlock(&subdev->mutex);
subdev            213 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_lock(&fifo->base.engine.subdev.mutex);
subdev            219 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_unlock(&fifo->base.engine.subdev.mutex);
subdev            226 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_lock(&fifo->base.engine.subdev.mutex);
subdev            234 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	mutex_unlock(&fifo->base.engine.subdev.mutex);
subdev            255 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            262 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            278 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            295 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 			nvkm_subdev_fini(&engine->subdev, false);
subdev            296 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 			WARN_ON(nvkm_subdev_init(&engine->subdev));
subdev            312 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            313 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            325 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_warn(subdev, "runlist %d: scheduled for recovery\n", runl);
subdev            359 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            360 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            380 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_warn(subdev, "channel %d: killed\n", chid);
subdev            399 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            400 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            425 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		mmui = nvkm_top_fault_id(device, engine->subdev.index);
subdev            429 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 				if (en->data2 == engine->subdev.index) {
subdev            460 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_warn(subdev, "engine %d: scheduled for recovery\n", engn);
subdev            468 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            469 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            521 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_error(subdev,
subdev            562 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            563 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            569 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_error(subdev, "BIND_ERROR %02x [%s]\n", code, en ? en->name : "");
subdev            581 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            612 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            613 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            619 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_error(subdev, "SCHED_ERROR %02x [%s]\n", code, en ? en->name : "");
subdev            633 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            634 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            636 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_error(subdev, "CHSW_ERROR %08x\n", stat);
subdev            643 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            646 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_error(subdev, "DROPPED_MMU_FAULT %08x\n", stat);
subdev            686 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            687 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            712 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "PBDMA%d: %08x [%s] ch %d [%010llx %s] "
subdev            735 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            736 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            744 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "PBDMA%d: %08x [%s] ch %d %08x %08x\n",
subdev            756 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            776 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            777 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            788 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "PIO_ERROR\n");
subdev            806 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "FB_FLUSH_TIMEOUT\n");
subdev            812 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "LB_ERROR\n");
subdev            858 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_error(subdev, "INTR %08x\n", stat);
subdev            868 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            891 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 					*data |= BIT_ULL(engine->subdev.index);
subdev            906 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            907 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            914 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	nvkm_debug(subdev, "%d PBDMA(s)\n", fifo->pbdma_nr);
subdev            934 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		nvkm_debug(subdev, "engine %2d: runlist %2d pbdma %2d (%s)\n",
subdev            981 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev           1013 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk208.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm200.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             58 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c 	struct nvkm_device *device = fifo->engine.subdev.device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	switch (engine->subdev.index) {
subdev             75 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	struct nvkm_subdev *subdev = &chan->fifo->base.engine.subdev;
subdev             76 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	struct nvkm_device *device = subdev->device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	mutex_lock(&subdev->mutex);
subdev             86 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 		nvkm_error(subdev, "channel %d [%s] kick timeout\n",
subdev             90 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	mutex_unlock(&subdev->mutex);
subdev            114 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 		u64 addr = chan->engn[engine->subdev.index].vma->addr;
subdev            129 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma);
subdev            130 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst);
subdev            139 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	int engn = engine->subdev.index;
subdev            163 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            182 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	struct nvkm_device *device = subdev->device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 		nvkm_error(subdev, "%s %d [%s] kick timeout\n",
subdev             68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	mutex_lock(&chan->base.fifo->engine.subdev.mutex);
subdev             70 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	mutex_unlock(&chan->base.fifo->engine.subdev.mutex);
subdev             77 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	switch (engine->subdev.index) {
subdev            133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 		u64   addr = chan->engn[engine->subdev.index].vma->addr;
subdev            154 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma);
subdev            155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst);
subdev            164 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	int engn = engine->subdev.index;
subdev            188 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            206 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            261 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c 			subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index);
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	struct nvkm_subdev *subdev = &chan->base.fifo->engine.subdev;
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	struct nvkm_device *device = subdev->device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	mutex_lock(&subdev->mutex);
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	mutex_unlock(&subdev->mutex);
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	if (engine->subdev.index >= NVKM_ENGINE_CE0 &&
subdev             74 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	    engine->subdev.index <= NVKM_ENGINE_CE_LAST)
subdev             96 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	if (engine->subdev.index >= NVKM_ENGINE_CE0 &&
subdev             97 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	    engine->subdev.index <= NVKM_ENGINE_CE_LAST)
subdev            100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	addr = chan->engn[engine->subdev.index].vma->addr;
subdev            129 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            144 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c 			subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index);
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             88 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev            139 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            140 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = subdev->device;
subdev            165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 		nvkm_error(subdev, "CACHE_ERROR - "
subdev            190 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            191 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = subdev->device;
subdev            208 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 		nvkm_error(subdev, "DMA_PUSHER - "
subdev            224 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 		nvkm_error(subdev, "DMA_PUSHER - ch %d [%s] get %08x put %08x "
subdev            243 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_subdev *subdev = &fifo->base.engine.subdev;
subdev            244 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = subdev->device;
subdev            290 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 		nvkm_warn(subdev, "intr %08x\n", stat);
subdev            302 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv17.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv40.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c 	mutex_lock(&fifo->base.engine.subdev.mutex);
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c 	mutex_unlock(&fifo->base.engine.subdev.mutex);
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             85 drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c 	struct nvkm_device *device = fifo->base.engine.subdev.device;
subdev             28 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c 	struct nvkm_device *device = object->engine->subdev.device;
subdev             28 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c 	struct nvkm_device *device = object->engine->subdev.device;
subdev           1012 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = info->gr->base.engine.subdev.device;
subdev           1035 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1097 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1117 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1163 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1273 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1274 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = subdev->device;
subdev           1282 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 			nvkm_warn(subdev, "missing alpha/beta mapping table\n");
subdev           1309 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1317 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1327 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1371 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1442 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1443 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	struct nvkm_device *device = subdev->device;
subdev           1490 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c 	vmm->debug = subdev->debug;
subdev            774 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            190 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            200 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            851 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            866 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = info->gr->base.engine.subdev.device;
subdev            906 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            918 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            925 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            932 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            819 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            871 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            951 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x406500, 0x00000001);
subdev            957 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             48 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x4041c4, tmp);
subdev             79 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x406500, 0x00000000);
subdev             85 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             27 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             98 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            116 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            153 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            160 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            169 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            180 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             98 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            111 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 	nvkm_error(subdev, "PGRAPH_VSTATUS%d: %08x [%s]\n", r, stat, msg);
subdev            118 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            119 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 	struct nvkm_device *device = subdev->device;
subdev            152 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 		nvkm_error(subdev, "PGRAPH TLB flush idle timeout fail\n");
subdev            156 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c 		nvkm_error(subdev, "PGRAPH_STATUS %08x [%s]\n", tmp, status);
subdev             51 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc;
subdev            102 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            114 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc;
subdev            327 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size,
subdev            387 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            721 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	return nvkm_rd32(gr->engine.subdev.device, 0x409b00);
subdev            727 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            777 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            796 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            813 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            830 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            868 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            884 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            900 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            916 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            928 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 trace = nvkm_rd32(gr->base.engine.subdev.device, 0x40981c);
subdev            932 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 mthd = nvkm_rd32(gr->base.engine.subdev.device, 0x409808);
subdev            942 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            957 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc;
subdev            993 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            994 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1013 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev,
subdev           1022 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1039 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1077 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1176 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1177 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1188 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev, "GPC%d/PROP trap: %08x [%s] x = %u, y = %u, "
subdev           1237 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1238 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1247 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev, "GPC%i/TPC%i/MP trap: "
subdev           1258 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1259 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1264 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap);
subdev           1276 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/TPC%d/POLY: %08x\n", gpc, tpc, trap);
subdev           1283 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/TPC%d/L1C: %08x\n", gpc, tpc, trap);
subdev           1290 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/TPC%d/MPC: %08x\n", gpc, tpc, trap);
subdev           1296 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/TPC%d/%08x: unknown\n", gpc, tpc, stat);
subdev           1303 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1304 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1315 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/ZCULL: %08x\n", gpc, trap);
subdev           1322 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/CCACHE: %08x\n", gpc, trap);
subdev           1329 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/ESETUP: %08x\n", gpc, trap);
subdev           1344 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "GPC%d/%08x: unknown\n", gpc, stat);
subdev           1351 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1352 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1362 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "DISPATCH %08x [%s]\n", stat, error);
subdev           1373 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "M2MF %08x [%s]\n", stat, error);
subdev           1385 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "CCACHE %08x [%s]\n", stat, error);
subdev           1393 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "SHADER %08x, sph: 0x%06x, stage: 0x%02x\n",
subdev           1405 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "UNK6 %08x [%s]\n", stat, error);
subdev           1419 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "MACRO %08x [%s], pc: 0x%03x%s, op: 0x%08x\n",
subdev           1433 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "SKED: %08x [%s]\n", stat, error);
subdev           1459 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "ROP%d %08x %08x\n",
subdev           1469 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "TRAP UNHANDLED %08x\n", trap);
subdev           1477 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1478 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1479 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev, "%06x - done %08x\n", base,
subdev           1481 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev, "%06x - stat %08x %08x %08x %08x\n", base,
subdev           1486 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_error(subdev, "%06x - stat %08x %08x %08x %08x\n", base,
subdev           1496 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1508 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1509 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1521 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "FECS MTHD subc %d class %04x "
subdev           1525 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "FECS ucode error %d\n", code);
subdev           1532 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "FECS watchdog timeout\n");
subdev           1539 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "FECS %08x\n", stat);
subdev           1549 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1550 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1586 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "ILLEGAL_MTHD ch %d [%010llx %s] "
subdev           1596 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "ILLEGAL_CLASS ch %d [%010llx %s] "
subdev           1606 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "DATA_ERROR %08x [%s] ch %d [%010llx %s] "
subdev           1615 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "TRAP ch %d [%010llx %s]\n",
subdev           1629 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev           1650 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1691 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1692 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1766 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "failed to construct context\n");
subdev           1778 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1779 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1825 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "failed to construct context\n");
subdev           1941 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1942 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           1946 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_falcon_v1_new(subdev, "FECS", 0x409000, &gr->fecs.falcon);
subdev           1952 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_falcon_v1_new(subdev, "GPCCS", 0x41a000, &gr->gpccs.falcon);
subdev           1990 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &base->engine.subdev;
subdev           1991 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           2019 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_pmu_pgob(gr->base.engine.subdev.device->pmu, false);
subdev           2021 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_falcon_get(gr->fecs.falcon, subdev);
subdev           2025 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_falcon_get(gr->gpccs.falcon, subdev);
subdev           2036 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           2037 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_falcon_put(gr->gpccs.falcon, subdev);
subdev           2038 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_falcon_put(gr->fecs.falcon, subdev);
subdev           2100 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           2101 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = subdev->device;
subdev           2116 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		nvkm_error(subdev, "failed to load %s\n", fwname);
subdev           2121 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_debug(subdev, "%s: falling back to legacy path\n", fwname);
subdev           2129 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 			nvkm_error(subdev, "failed to load %s\n", fwname);
subdev           2147 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	ret = nvkm_firmware_get(&gr->base.engine.subdev, fwname, &fw);
subdev           2203 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x400054, 0x34ce3464);
subdev           2209 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2217 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2224 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2231 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2245 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x40601c, 0xc0000000);
subdev           2252 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x409c24, data);
subdev           2258 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2274 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2281 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2309 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           2316 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x405a14, 0x80000000);
subdev            126 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            393 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x407020, 0x40000000);
subdev            399 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            408 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            417 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            432 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            341 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            189 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            190 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            196 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 		nvkm_error(subdev, "FECS mem scrubbing timeout\n");
subdev            204 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 		nvkm_error(subdev, "GPCCS mem scrubbing timeout\n");
subdev            214 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            222 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            290 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x400054, 0x2c350f63);
subdev            296 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            304 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            311 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            312 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_device *device = subdev->device;
subdev            325 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 					nvbios_init(subdev, data);
subdev            346 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            365 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             38 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c 	return nvkm_rd32(gr->base.engine.subdev.device, 0x12006c);
subdev             44 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             90 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	nvkm_wr32(gr->base.engine.subdev.device, 0x409c24, 0x000f0002);
subdev             96 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c 	struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc;
subdev             88 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_device *device = subdev->device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	nvkm_error(subdev, "GPC%i/TPC%i/SM%d trap: "
subdev             58 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             65 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             77 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             84 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1046 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, align,
subdev           1074 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1087 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = chan->gr->base.engine.subdev.device;
subdev           1102 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = chan->gr->base.engine.subdev.device;
subdev           1116 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1165 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1213 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_subdev *subdev = &gr->engine.subdev;
subdev           1214 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = subdev->device;
subdev           1224 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 		nvkm_error(subdev, "idle timed out with status %08x\n",
subdev           1275 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1276 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = subdev->device;
subdev           1316 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 		nvkm_error(subdev, "intr %08x [%s] nsource %08x [%s] "
subdev           1331 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            433 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = chan->object.engine->subdev.device;
subdev            506 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = chan->object.engine->subdev.device;
subdev            549 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            564 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            583 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            633 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            646 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 			nvkm_error(subdev, "incomplete pipe init for 0x%x :  %p/%p\n", \
subdev            788 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            794 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	nvkm_error(subdev, "unknown offset nv10_ctx_regs %d\n", reg);
subdev            801 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            807 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	nvkm_error(subdev, "unknown offset nv17_ctx_regs %d\n", reg);
subdev            815 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            886 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            913 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            934 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            958 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1007 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1052 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev           1084 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev           1085 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = subdev->device;
subdev           1124 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 		nvkm_error(subdev, "intr %08x [%s] nsource %08x [%s] "
subdev           1139 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             89 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev            152 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            183 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            184 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	struct nvkm_device *device = subdev->device;
subdev            208 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 		nvkm_error(subdev, "intr %08x [%s] nsource %08x [%s] "
subdev            223 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	return nvkm_memory_new(gr->base.engine.subdev.device,
subdev            232 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv2a.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev             36 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev            107 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c 	ret = nvkm_memory_new(gr->base.engine.subdev.device,
subdev             36 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	return nvkm_rd32(gr->engine.subdev.device, 0x1540);
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 20, align,
subdev             79 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size,
subdev             84 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 		nv40_grctx_fill(gr->base.engine.subdev.device, *pgpuobj);
subdev             96 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev             97 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            114 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 				nvkm_warn(subdev, "ctxprog timeout %08x\n", insn);
subdev            176 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev            236 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            237 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            274 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 		nvkm_error(subdev, "intr %08x [%s] nsource %08x [%s] "
subdev            290 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	return nvkm_rd32(gr->engine.subdev.device, 0x1540);
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16,
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size,
subdev             77 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj);
subdev            242 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            243 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            257 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_PROP - TP %d - CUDA_FAULT - Global read fault at address %02x%08x\n",
subdev            262 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_PROP - TP %d - CUDA_FAULT - Global write fault at address %02x%08x\n",
subdev            266 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_PROP - TP %d - Unknown CUDA fault at address %02x%08x\n",
subdev            273 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_error(subdev, "TRAP_PROP - TP %d - %08x [%s] - "
subdev            277 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	nvkm_error(subdev, "TRAP_PROP - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n",
subdev            284 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            285 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            309 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_MP_EXEC - TP %d MP %d: "
subdev            320 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_error(subdev, "TRAP_MP_EXEC - TP %d: "
subdev            328 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            329 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            349 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev, "magic set %d:\n", i);
subdev            351 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 					nvkm_error(subdev, "\t%08x: %08x\n", r,
subdev            356 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 					nvkm_error(subdev,
subdev            371 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev, "%s - TP%d: %08x [%s]\n",
subdev            385 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev, "%s - TP%d: Unhandled ustatus %08x\n", name, i, ustatus);
subdev            391 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_warn(subdev, "%s - No TPs claiming errors?\n", name);
subdev            398 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            399 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            405 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_error(subdev, "TRAP: no units reporting traps?\n");
subdev            415 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_DISPATCH - no ustatus?\n");
subdev            430 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP DISPATCH_FAULT\n");
subdev            432 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev,
subdev            440 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev, "no stuck command?\n");
subdev            456 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP DISPATCH_QUERY\n");
subdev            458 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev,
subdev            465 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 				nvkm_error(subdev, "no stuck command?\n");
subdev            473 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_DISPATCH "
subdev            490 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_M2MF %08x [%s]\n",
subdev            492 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_M2MF %08x %08x %08x %08x\n",
subdev            513 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_VFETCH %08x [%s]\n",
subdev            515 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_VFETCH %08x %08x %08x %08x\n",
subdev            533 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_STRMOUT %08x [%s]\n",
subdev            535 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_STRMOUT %08x %08x %08x %08x\n",
subdev            556 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_CCACHE %08x [%s]\n",
subdev            558 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_CCACHE %08x %08x %08x %08x "
subdev            580 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP_UNKC04 %08x\n", ustatus);
subdev            612 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 			nvkm_error(subdev, "TRAP: unknown %08x\n", status);
subdev            623 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_subdev *subdev = &gr->base.engine.subdev;
subdev            624 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            649 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_error(subdev, "DATA_ERROR %08x [%s]\n",
subdev            666 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 		nvkm_error(subdev, "%08x [%s] ch %d [%010llx %s] subc %d "
subdev            682 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c 	struct nvkm_device *device = gr->base.engine.subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, align,
subdev            117 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_device *device = mpeg->engine.subdev.device;
subdev            128 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_subdev *subdev = &mpeg->engine.subdev;
subdev            138 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 		nvkm_error(subdev, "inst %08x dma0 %08x dma1 %08x dma2 %08x\n",
subdev            171 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_device *device = mpeg->engine.subdev.device;
subdev            187 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_subdev *subdev = &mpeg->engine.subdev;
subdev            188 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_device *device = subdev->device;
subdev            215 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 		nvkm_error(subdev, "ch %d [%s] %08x %08x %08x %08x\n",
subdev            227 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_subdev *subdev = &mpeg->subdev;
subdev            228 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 	struct nvkm_device *device = subdev->device;
subdev            248 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c 		nvkm_error(subdev, "timeout %08x\n",
subdev             35 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c 	struct nvkm_subdev *subdev = &mpeg->engine.subdev;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c 		nvkm_error(subdev, "inst %08x dma0 %08x dma1 %08x dma2 %08x\n",
subdev             56 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 	int ret = nvkm_gpuobj_new(chan->object.engine->subdev.device, 264 * 4,
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 	struct nvkm_device *device = mpeg->engine.subdev.device;
subdev            146 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 	struct nvkm_subdev *subdev = &mpeg->engine.subdev;
subdev            147 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 	struct nvkm_device *device = subdev->device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 			if (nv44_mpeg_mthd(subdev->device, mthd, data))
subdev            184 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c 		nvkm_error(subdev, "ch %d [%08x %s] %08x %08x %08x %08x\n",
subdev             40 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 	int ret = nvkm_gpuobj_new(object->engine->subdev.device, 128 * 4,
subdev             63 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 	struct nvkm_subdev *subdev = &mpeg->subdev;
subdev             64 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 	struct nvkm_device *device = subdev->device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 		nvkm_info(subdev, "%08x %08x %08x %08x\n",
subdev             91 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 	struct nvkm_subdev *subdev = &mpeg->subdev;
subdev             92 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            112 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c 		nvkm_error(subdev, "timeout %08x\n",
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/g98.c 	struct nvkm_device *device = mspdec->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gf100.c 	struct nvkm_device *device = mspdec->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c 	struct nvkm_device *device = msppp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c 	struct nvkm_device *device = msppp->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/msvld/g98.c 	struct nvkm_device *device = msvld->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gf100.c 	struct nvkm_device *device = msvld->engine.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c 	struct nvkm_subdev *subdev = &nvdec->engine.subdev;
subdev             33 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c 	nvdec->addr = nvkm_top_addr(subdev->device, subdev->index);
subdev             38 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c 	return nvkm_falcon_v1_new(subdev, "NVDEC", nvdec->addr,
subdev            131 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	struct nvkm_subdev *subdev = &pm->engine.subdev;
subdev            132 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	struct nvkm_device *device = subdev->device;
subdev            159 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 			nvkm_debug(subdev,
subdev            170 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	struct nvkm_subdev *subdev = &pm->engine.subdev;
subdev            171 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	struct nvkm_device *device = subdev->device;
subdev            197 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 			nvkm_debug(subdev, "disabled source %08x %08x\n",
subdev            490 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev            631 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	mutex_lock(&pm->engine.subdev.mutex);
subdev            634 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	mutex_unlock(&pm->engine.subdev.mutex);
subdev            674 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	mutex_lock(&pm->engine.subdev.mutex);
subdev            678 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	mutex_unlock(&pm->engine.subdev.mutex);
subdev            131 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev            149 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev            163 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev            178 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	struct nvkm_device *device = pm->engine.subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c 	struct nvkm_subdev *subdev = &sec->engine.subdev;
subdev             46 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c 	struct nvkm_device *device = subdev->device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c 	nvkm_error(subdev, "DISPATCH_ERROR %04x [%s] ch %d [%010llx %s] "
subdev             41 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 	struct nvkm_subdev *subdev = &engine->subdev;
subdev             42 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 	struct nvkm_device *device = subdev->device;
subdev             53 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 		nvkm_error(subdev, "unhandled intr %08x\n", intr);
subdev             65 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 		nvkm_warn(&sec2->engine.subdev,
subdev             78 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 	struct nvkm_subdev *subdev = &sec2->engine.subdev;
subdev             81 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 		sec2->addr = nvkm_top_addr(subdev->device, subdev->index);
subdev             86 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c 	return nvkm_falcon_v1_new(subdev, "SEC2", sec2->addr, &sec2->falcon);
subdev             44 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c 	struct nvkm_device *device = sw->engine.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c 	struct nvkm_device *device = engine->subdev.device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c 	struct nvkm_disp *disp = sw->engine.subdev.device->disp;
subdev             44 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c 	struct nvkm_device *device = sw->engine.subdev.device;
subdev             66 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c 	struct nvkm_device *device = engine->subdev.device;
subdev            103 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c 	struct nvkm_disp *disp = sw->engine.subdev.device->disp;
subdev             47 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	return nvkm_gpuobj_new(object->engine->subdev.device, 0x10000, align,
subdev             60 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	struct nvkm_subdev *subdev = &xtensa->engine.subdev;
subdev             61 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	struct nvkm_device *device = subdev->device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 		nvkm_warn(subdev, "Watchdog interrupt, engine hung.\n");
subdev             73 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 		nvkm_debug(subdev, "Enabling FIFO_CTRL\n");
subdev             82 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	struct nvkm_device *device = xtensa->engine.subdev.device;
subdev             97 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	struct nvkm_subdev *subdev = &xtensa->engine.subdev;
subdev             98 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 	struct nvkm_device *device = subdev->device;
subdev            112 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 			nvkm_warn(subdev, "unable to load firmware %s\n", name);
subdev            117 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c 			nvkm_warn(subdev, "firmware %s too large\n", name);
subdev            170 drivers/gpu/drm/nouveau/nvkm/falcon/base.c 		 struct nvkm_subdev *subdev, const char *name, u32 addr,
subdev            177 drivers/gpu/drm/nouveau/nvkm/falcon/base.c 	falcon->owner = subdev;
subdev            193 drivers/gpu/drm/nouveau/nvkm/falcon/base.c 	switch (subdev->index) {
subdev            211 drivers/gpu/drm/nouveau/nvkm/falcon/base.c 		nvkm_warn(subdev, "unsupported falcon %s!\n",
subdev            212 drivers/gpu/drm/nouveau/nvkm/falcon/base.c 			  nvkm_subdev_name[subdev->index]);
subdev             76 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev             89 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_warn(subdev, "no message data available\n");
subdev             94 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_warn(subdev, "message data smaller than read request\n");
subdev            108 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            113 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "fail to open queue %d\n", queue->index);
subdev            126 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "failed to read message header: %d\n", err);
subdev            131 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "message too big (%d bytes)\n", hdr->size);
subdev            143 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 			nvkm_error(subdev, "failed to read message: %d\n", err);
subdev            198 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            206 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "queue %d rewind failed\n", queue->index);
subdev            208 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "queue %d rewinded\n", queue->index);
subdev            218 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            224 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "queue full\n");
subdev            253 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            262 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "pmu_queue_open_write failed\n");
subdev            268 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "pmu_queue_push failed\n");
subdev            280 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            289 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "no free sequence available\n");
subdev            359 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            364 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "msg for unknown sequence %d", seq->id);
subdev            386 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = falcon->owner;
subdev            403 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "falcon %s unsupported for msgqueue!\n",
subdev            416 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "message too big (%d bytes)\n", hdr->size);
subdev            497 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 	const struct nvkm_subdev *subdev = falcon->owner;
subdev            513 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_error(subdev, "unhandled firmware version 0x%08x\n",
subdev            519 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_debug(subdev, "firmware version: 0x%08x\n", version);
subdev            539 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		const struct nvkm_subdev *subdev = queue->falcon->owner;
subdev            541 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c 		nvkm_warn(subdev, "missing msgqueue recv function\n");
subdev             60 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	const struct nvkm_subdev *subdev = priv->base.falcon->owner;
subdev             68 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "invalid command queue!\n");
subdev            139 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	const struct nvkm_subdev *subdev = _queue->falcon->owner;
subdev            143 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "expected message from init unit\n");
subdev            148 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "expected PMU init msg\n");
subdev            169 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_debug(subdev,
subdev            203 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	const struct nvkm_subdev *subdev = queue->falcon->owner;
subdev            206 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "ACR WPR init failure: %d\n",
subdev            211 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	nvkm_debug(subdev, "ACR WPR init complete\n");
subdev            252 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            256 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "in bootstrap falcon callback:\n");
subdev            257 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "invalid falcon ID 0x%x\n", falcon_id);
subdev            260 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	nvkm_debug(subdev, "%s booted\n", nvkm_secboot_falcon_name[falcon_id]);
subdev            308 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            313 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_debug(subdev, "%s booted\n",
subdev            319 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "in bootstrap falcon callback:\n");
subdev            320 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c 		nvkm_error(subdev, "invalid falcon mask 0x%x\n",
subdev            108 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 	const struct nvkm_subdev *subdev = _queue->falcon->owner;
subdev            112 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "expected message from init unit\n");
subdev            117 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "expected SEC init msg\n");
subdev            139 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_debug(subdev,
subdev            174 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 	const struct nvkm_subdev *subdev = priv->falcon->owner;
subdev            178 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "in bootstrap falcon callback:\n");
subdev            179 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "expected error code 0x%x\n",
subdev            185 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "in bootstrap falcon callback:\n");
subdev            186 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 		nvkm_error(subdev, "invalid falcon ID 0x%x\n", falcon_id);
subdev            190 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c 	nvkm_debug(subdev, "%s booted\n", nvkm_secboot_falcon_name[falcon_id]);
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) {
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_bar_fini(struct nvkm_subdev *subdev, bool suspend)
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	struct nvkm_bar *bar = nvkm_bar(subdev);
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_bar_init(struct nvkm_subdev *subdev)
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	struct nvkm_bar *bar = nvkm_bar(subdev);
subdev            113 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_bar_oneinit(struct nvkm_subdev *subdev)
subdev            115 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	struct nvkm_bar *bar = nvkm_bar(subdev);
subdev            120 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_bar_dtor(struct nvkm_subdev *subdev)
subdev            122 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	struct nvkm_bar *bar = nvkm_bar(subdev);
subdev            123 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	nvkm_bar_bar2_fini(subdev->device);
subdev            139 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c 	nvkm_subdev_ctor(&nvkm_bar, device, index, &bar->subdev);
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c 	struct nvkm_device *device = bar->subdev.device;
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	nvkm_mask(bar->subdev.device, 0x001704, 0x80000000, 0x00000000);
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	struct nvkm_device *device = base->subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	nvkm_mask(bar->subdev.device, 0x001714, 0x80000000, 0x00000000);
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	struct nvkm_device *device = base->subdev.device;
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	struct nvkm_device *device = bar->base.subdev.device;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 	bar_vm->vmm->debug = bar->base.subdev.debug;
subdev            136 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 		bar->base.subdev.oneinit = true;
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c 		nvkm_bar_bar2_init(bar->base.subdev.device);
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c 	struct nvkm_device *device = bar->subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c 	struct nvkm_device *device = bar->subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	struct nvkm_device *device = bar->base.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	nvkm_wr32(bar->subdev.device, 0x001708, 0x00000000);
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	struct nvkm_device *device = base->subdev.device;
subdev             81 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	nvkm_wr32(bar->subdev.device, 0x00170c, 0x00000000);
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	struct nvkm_device *device = base->subdev.device;
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	struct nvkm_device *device = bar->base.subdev.device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	struct nvkm_device *device = bar->base.subdev.device;
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	bar->bar2_vmm->debug = bar->base.subdev.debug;
subdev            165 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	bar->base.subdev.oneinit = true;
subdev            181 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c 	bar->bar1_vmm->debug = bar->base.subdev.debug;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h #define nvkm_bar(p) container_of((p), struct nvkm_bar, subdev)
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	struct nvkm_device *device = bar->subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	nvkm_mask(bar->subdev.device, 0xb80f48, 0x80000000, 0x00000000);
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	struct nvkm_device *device = base->subdev.device;
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	struct nvkm_device *device = bar->subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	nvkm_mask(bar->subdev.device, 0xb80f40, 0x80000000, 0x00000000);
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c 	struct nvkm_device *device = base->subdev.device;
subdev            106 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c 		nvkm_warn(subdev, "M0203T not found\n");
subdev            123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c 			nvkm_warn(subdev, "M0203T type %02x\n", M0203T.type);
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		nvkm_error(&bios->subdev, "OOB %d %08x %08x\n", size, p, *addr);
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c nvkm_bios_dtor(struct nvkm_subdev *subdev)
subdev            132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 	struct nvkm_bios *bios = nvkm_bios(subdev);
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 	nvkm_subdev_ctor(&nvkm_bios, device, index, &bios->subdev);
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		nvkm_debug(&bios->subdev, "BMP version %x.%x\n",
subdev            183 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 		nvkm_debug(&bios->subdev, "BIT signature found\n");
subdev            200 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c 	nvkm_info(&bios->subdev, "version %02x.%02x.%02x.%02x.%02x\n",
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 	struct nvkm_device *device = subdev->device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 		nvkm_warn(subdev, "DCB table not found\n");
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 		nvkm_warn(subdev, "DCB version 0x%02x unknown\n", *ver);
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 		nvkm_debug(subdev, "DCB contains no useful data\n");
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c 	nvkm_warn(subdev, "DCB header validation failed\n");
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c 		nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver);
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.c 			nvkm_warn(subdev, "unknown i2c type %d\n", info->type);
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.c 		nvkm_error(subdev, "ICCSENSE version 0x%02x unknown\n", ver);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.c 		nvkm_debug(subdev, "%08x: ROM signature (%04x) unknown\n",
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	nvkm_printk(init->subdev, lvl, info, "0x%08x[%c]: "fmt,                \
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (init->subdev->debug >= NV_DBG_TRACE)                               \
subdev            124 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_devinit *devinit = init->subdev->device->devinit;
subdev            159 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (init->subdev->device->card_type >= NV_50) {
subdev            184 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_device *device = init->subdev->device;
subdev            194 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_device *device = init->subdev->device;
subdev            203 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_device *device = init->subdev->device;
subdev            217 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		return nvkm_rdport(init->subdev->device, init->head, port);
subdev            225 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		nvkm_wrport(init->subdev->device, init->head, port, value);
subdev            231 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_subdev *subdev = init->subdev;
subdev            234 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		return nvkm_rdvgai(subdev->device, head, port, index);
subdev            242 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_device *device = init->subdev->device;
subdev            265 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_i2c *i2c = init->subdev->device->i2c;
subdev            305 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_i2c *i2c = init->subdev->device->i2c;
subdev            346 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_devinit *devinit = init->subdev->device->devinit;
subdev            379 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            411 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvbios_init init = { .subdev = &bios->subdev };
subdev            441 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	return nvbios_ramcfg_count(init->subdev->device->bios);
subdev            455 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (!init->ramcfg || init->subdev->device->bios->version.major < 0x70)
subdev            456 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		init->ramcfg = 0x80000000 | nvbios_ramcfg_index(init->subdev);
subdev            463 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            481 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            497 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            514 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            585 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            623 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            660 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            686 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            742 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            781 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            798 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            850 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            869 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            888 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            905 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            922 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            952 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev            987 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1004 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1035 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1061 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1095 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1121 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1148 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1178 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1198 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1215 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1239 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1266 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1283 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1308 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1327 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1346 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1372 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1390 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1417 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1443 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1461 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_devinit *devinit = init->subdev->device->devinit;
subdev           1479 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1506 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u16 mdata = bmp_mem_init_table(init->subdev->device->bios);
subdev           1515 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1565 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1599 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1625 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1638 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	if (bios->subdev.device->card_type >= NV_50 &&
subdev           1665 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1692 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1711 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1729 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1765 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1783 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1804 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1821 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1838 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1855 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1877 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1894 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1914 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           1966 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_gpio *gpio = init->subdev->device->gpio;
subdev           1982 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2020 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2037 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2059 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2087 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2108 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2132 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2154 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2193 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2194 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_gpio *gpio = bios->subdev.device->gpio;
subdev           2304 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = init->subdev->device->bios;
subdev           2322 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c nvbios_post(struct nvkm_subdev *subdev, bool execute)
subdev           2324 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev           2330 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		nvkm_debug(subdev, "running init tables\n");
subdev           2332 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		ret = nvbios_init(subdev, data,
subdev           2341 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		ret = nvbios_init(subdev, data,
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 		nvkm_debug(subdev, "BIT 'x' table not present\n");
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 		nvkm_warn(subdev, "BIT 'x' table %d/%d unknown\n", *ver, *hdr);
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 			nvkm_warn(subdev, "unknown sor map v%02x\n", ver);
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 	nvkm_warn(subdev, "missing sor map\n");
subdev            114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.c 			nvkm_warn(subdev, "unknown ddc map v%02x\n", ver);
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/bios/npde.c 			nvkm_debug(&bios->subdev,
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c 			nvkm_debug(&bios->subdev,
subdev            119 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		switch (bios->subdev.device->chipset) {
subdev            118 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c 	struct nvkm_device *device = bios->subdev.device;
subdev            233 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            234 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c 	struct nvkm_device *device = subdev->device;
subdev            383 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c 		nvkm_error(subdev, "unknown pll limits version 0x%02x\n", ver);
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.c 		nvkm_warn(subdev,
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/bios/priv.h #define nvkm_bios(p) container_of((p), struct nvkm_bios, subdev)
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c nvbios_ramcfg_strap(struct nvkm_subdev *subdev)
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c 	return (nvkm_rd32(subdev->device, 0x101000) & 0x0000003c) >> 2;
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c nvbios_ramcfg_index(struct nvkm_subdev *subdev)
subdev             53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.c 	u8 strap = nvbios_ramcfg_strap(subdev);
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 			nvkm_debug(subdev, "%08x: header fetch failed\n",
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 			nvkm_debug(subdev, "image %d invalid\n", idx);
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	nvkm_debug(subdev, "%08x: type %02x, %d bytes\n",
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 		nvkm_debug(subdev, "%08x: fetch failed\n", image.base);
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 			nvkm_debug(subdev, "%08x: checksum failed\n",
subdev            113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 		nvkm_debug(subdev, "trying %s...\n", name ? name : func->name);
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 		nvkm_debug(subdev, "scored %d\n", mthd->score);
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	struct device *dev = bios->subdev.device->dev;
subdev            169 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            170 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	struct nvkm_device *device = subdev->device;
subdev            207 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 			nvkm_error(subdev, "%s invalid\n", source);
subdev            232 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 		nvkm_error(subdev, "unable to locate usable image\n");
subdev            236 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c 	nvkm_debug(subdev, "using image from %s\n", best->func ?
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowacpi.c 	if (!nouveau_acpi_rom_supported(bios->subdev.device->dev))
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c 	struct nvkm_device *device = bios->subdev.device;
subdev             56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 	struct nvkm_device *device = bios->subdev.device;
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c 	struct nvkm_device *device = bios->subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 	struct nvkm_device *device = bios->subdev.device;
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 		struct nvkm_device *device = priv->bios->subdev.device;
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 	struct nvkm_device *device = subdev->device;
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 		nvkm_debug(subdev, "... display disabled\n");
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 		nvkm_debug(subdev, "... not enabled\n");
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 		nvkm_debug(subdev, "... not in vram\n");
subdev            103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c 		nvkm_error(subdev, "... out of memory\n");
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.c 	struct nvkm_device *device = bios->subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c 			nvkm_error(&bios->subdev,
subdev            206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c 	if (bios->subdev.device->card_type >= NV_C0 &&
subdev             27 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c nvkm_bus_intr(struct nvkm_subdev *subdev)
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c 	struct nvkm_bus *bus = nvkm_bus(subdev);
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c nvkm_bus_init(struct nvkm_subdev *subdev)
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c 	struct nvkm_bus *bus = nvkm_bus(subdev);
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c nvkm_bus_dtor(struct nvkm_subdev *subdev)
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c 	return nvkm_bus(subdev);
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c 	nvkm_subdev_ctor(&nvkm_bus, device, index, &bus->subdev);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.c 	struct nvkm_device *device = bus->subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c 	struct nvkm_subdev *subdev = &bus->subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c 	struct nvkm_device *device = subdev->device;
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c 		nvkm_error(subdev,
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c 	struct nvkm_device *device = bus->subdev.device;
subdev             27 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	struct nvkm_subdev *subdev;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c nvkm_hwsq_init(struct nvkm_subdev *subdev, struct nvkm_hwsq **phwsq)
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 		hwsq->subdev = subdev;
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 		struct nvkm_subdev *subdev = hwsq->subdev;
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 		struct nvkm_bus *bus = subdev->device->bus;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 				nvkm_error(subdev, "hwsq exec failed: %d\n", ret);
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 			nvkm_error(subdev, "hwsq ucode too large\n");
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 			nvkm_error(subdev, "\t%08x\n", ((u32 *)hwsq->c.data)[i]);
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(hwsq->subdev, "R[%06x] = %08x\n", addr, data);
subdev            118 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(hwsq->subdev, " FLAG[%02x] = %d\n", flag, data);
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(hwsq->subdev, " WAIT[%02x] = %d\n", flag, data);
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	struct nvkm_subdev *subdev = hwsq->subdev;
subdev            138 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	struct nvkm_device *device = subdev->device;
subdev            157 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 		nvkm_debug(subdev, "WAIT VBLANK !NO ACTIVE HEAD\n");
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(subdev, "WAIT VBLANK HEAD%d\n", head_sync);
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(hwsq->subdev, "    DELAY = %d ns\n", nsec);
subdev              7 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	struct nvkm_subdev *subdev;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h hwsq_init(struct hwsq *ram, struct nvkm_subdev *subdev)
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	ret = nvkm_hwsq_init(subdev, &ram->hwsq);
subdev             70 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	ram->subdev = subdev;
subdev             78 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	if (ram->subdev) {
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 		ram->subdev = NULL;
subdev             88 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	struct nvkm_device *device = ram->subdev->device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 	struct nvkm_subdev *subdev = &bus->subdev;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 	struct nvkm_device *device = subdev->device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 		nvkm_error(subdev, "BUS ERROR\n");
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 			nvkm_subdev_intr(&gpio->subdev);
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c 	struct nvkm_device *device = bus->subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 	struct nvkm_subdev *subdev = &bus->subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 	struct nvkm_device *device = subdev->device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 			nvkm_subdev_intr(&gpio->subdev);
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 		nvkm_error(subdev, "MMIO %s of %08x FAULT at %06x\n",
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 			nvkm_subdev_intr(&therm->subdev);
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c 	struct nvkm_device *device = bus->subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 	struct nvkm_device *device = bus->subdev.device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 	struct nvkm_subdev *subdev = &bus->subdev;
subdev             56 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 	struct nvkm_device *device = subdev->device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 		nvkm_error(subdev, "MMIO %s of %08x FAULT at %06x\n",
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 			nvkm_subdev_intr(&therm->subdev);
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev             88 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c 	struct nvkm_device *device = bus->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/bus/priv.h #define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_bios *bios = clk->subdev.device->bios;
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_volt *volt = clk->subdev.device->volt;
subdev            115 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_device *device = clk->subdev.device;
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_subdev *subdev = &clk->subdev;
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_device *device = subdev->device;
subdev            179 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "failed to raise fan speed: %d\n", ret);
subdev            188 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "failed to raise voltage: %d\n", ret);
subdev            203 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "failed to lower voltage: %d\n", ret);
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "failed to lower fan speed: %d\n", ret);
subdev            225 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_bios *bios = clk->subdev.device->bios;
subdev            226 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_volt *volt = clk->subdev.device->volt;
subdev            267 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_subdev *subdev = &clk->subdev;
subdev            268 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_fb *fb = subdev->device->fb;
subdev            269 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_pci *pci = subdev->device->pci;
subdev            278 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	nvkm_debug(subdev, "setting performance state %d\n", pstatei);
subdev            301 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_subdev *subdev = &clk->subdev;
subdev            308 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	nvkm_trace(subdev, "P %d PWR %d U(AC) %d U(DC) %d A %d T %d°C D %d\n",
subdev            321 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	nvkm_trace(subdev, "-> %d\n", pstate);
subdev            325 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "error setting pstate %d: %d\n",
subdev            349 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_subdev *subdev = &clk->subdev;
subdev            363 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 		nvkm_debug(subdev, "%02x: %10d KHz\n", clock->name, lo);
subdev            368 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_debug(subdev, "%10d KHz\n", freq);
subdev            384 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	nvkm_debug(subdev, "%s: %s %s %s\n", name, info[0], info[1], info[2]);
subdev            403 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_bios *bios = clk->subdev.device->bios;
subdev            580 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            582 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_clk *clk = nvkm_clk(subdev);
subdev            591 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_init(struct nvkm_subdev *subdev)
subdev            593 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_clk *clk = nvkm_clk(subdev);
subdev            604 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			nvkm_error(subdev, "%02x freq unknown\n", clock->name);
subdev            625 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_dtor(struct nvkm_subdev *subdev)
subdev            627 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_clk *clk = nvkm_clk(subdev);
subdev            654 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	struct nvkm_subdev *subdev = &clk->subdev;
subdev            660 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	nvkm_subdev_ctor(&nvkm_clk, device, index, subdev);
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            100 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            204 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 		nvkm_error(subdev, "invalid clock source %d\n", src);
subdev            252 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            253 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            265 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
subdev            347 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            357 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            369 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            396 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            411 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            147 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            192 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            193 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = subdev->device;
subdev            217 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 		nvkm_error(subdev, "invalid clock source %d\n", src);
subdev            265 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            266 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            278 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
subdev            360 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            370 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            381 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            389 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            414 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            425 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            440 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	nvkm_debug(subdev, "low_PL %d(div%d), high_PL %d(div%d)", low_pl,
subdev            193 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 		nvkm_debug(subdev,
subdev            203 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	nvkm_debug(subdev,
subdev            213 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            214 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            258 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            286 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            298 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            299 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            463 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            464 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            474 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 		nvkm_error(subdev, "invalid clock source %d\n", src);
subdev            509 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            510 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            529 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 		nvkm_error(subdev, "invalid parent clock rate %u KHz",
subdev            545 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = base->subdev.device;
subdev            568 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            569 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            588 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 		nvkm_error(subdev, "cannot initialize clock\n");
subdev            635 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	nvkm_debug(&clk->base.subdev, "parent clock rate: %d Khz\n",
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.h 	struct nvkm_device *device = clk->base.subdev.device;
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = subdev->device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            192 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            207 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "dfs_ext_cal overflow!\n");
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "%s uv: %d coeff: %x, ext_cal: %d, det_max: %d\n",
subdev            227 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            244 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "ndiv <= 0 - setting to 1...\n");
subdev            248 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "ndiv > max_n - setting to max_n...\n");
subdev            261 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "%s n_eff: %d, n_int: %d, sdm_din: %d\n", __func__,
subdev            268 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            269 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = subdev->device;
subdev            324 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            347 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            362 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            363 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = subdev->device;
subdev            467 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &base->subdev;
subdev            468 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_volt *volt = base->subdev.device->volt;
subdev            479 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "%s uv: %d uv\n", __func__, clk->new_uv);
subdev            515 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            533 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            552 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = clk->base.base.subdev.device;
subdev            722 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = base->subdev.device;
subdev            744 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            745 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = subdev->device;
subdev            782 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "GPCPLL calibration timeout\n");
subdev            793 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "calibrated DVFS parameters: offs %d, slope %d\n",
subdev            814 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            815 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_device *device = subdev->device;
subdev            868 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "cannot initialize clock\n");
subdev            947 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            973 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "fused calibration data: slope %d, offs %d\n",
subdev            981 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev = &clk->base.base.subdev;
subdev            982 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_volt *volt = subdev->device->volt;
subdev           1005 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_error(subdev, "failed to evaluate safe fmax\n");
subdev           1011 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	nvkm_debug(subdev, "safe fmax @ vmin = %u Khz\n", clk->safe_fmax_vmin);
subdev           1021 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	struct nvkm_subdev *subdev;
subdev           1034 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 	subdev = &clk->base.base.subdev;
subdev           1051 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_warn(subdev, "cannot use NAPLL, using legacy clock...\n");
subdev           1067 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 		nvkm_warn(subdev, "no fused calibration parameters\n");
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            110 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            147 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = subdev->device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 			nvkm_error(subdev, "unknown HOST clock source %d\n", hsrc);
subdev            179 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 		nvkm_error(subdev, "invalid clock source %d\n", src);
subdev            239 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            255 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	ret = nvbios_pll_parse(subdev->device->bios, pll, &limits);
subdev            263 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	ret = gt215_pll_calc(subdev, &limits, khz, &N, NULL, &M, &P);
subdev            309 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->subdev.device;
subdev            344 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->subdev.device;
subdev            357 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            366 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            410 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            418 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            446 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_device *device = subdev->device;
subdev            160 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast);
subdev            168 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            172 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	ret = nvbios_pll_parse(subdev->device->bios, reg, &pll);
subdev            181 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	return nv04_pll_calc(subdev, &pll, clock, N, M, NULL, NULL, P);
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            273 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	nvkm_debug(subdev, "nvpll: %08x %08x %08x\n",
subdev            275 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	nvkm_debug(subdev, " spll: %08x %08x %08x\n",
subdev            277 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	nvkm_debug(subdev, " vdiv: %08x\n", clk->vdiv);
subdev            279 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "core: hrefm4\n");
subdev            281 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "core: nvpll\n");
subdev            284 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "shader: hrefm4\n");
subdev            286 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "shader: nvpll\n");
subdev            288 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "shader: spll\n");
subdev            291 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "vdec: 500MHz\n");
subdev            293 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_debug(subdev, "vdec: core\n");
subdev            302 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            303 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 	struct nvkm_device *device = subdev->device;
subdev            331 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_warn(subdev, "Reclocking failed: unknown core clock\n");
subdev            352 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c 		nvkm_warn(subdev, "Reclocking failed: unknown sclk clock\n");
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c 	int ret = nv04_pll_calc(&clock->subdev, info, clk, &N1, &M1, &N2, &M2, &P);
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c 	struct nvkm_device *device = clk->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            100 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            101 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            119 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast);
subdev            127 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	ret = nvbios_pll_parse(subdev->device->bios, reg, &pll);
subdev            138 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	ret = nv04_pll_calc(subdev, &pll, khz, N1, M1, N2, M2, log2P);
subdev            189 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = subdev->device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 			nvkm_error(subdev, "ref: bad pll %06x\n", base);
subdev             97 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 			nvkm_error(subdev, "ref: bad pll %06x\n", base);
subdev            127 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            147 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 		nvkm_error(subdev, "bad pll %06x\n", base);
subdev            160 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = clk->base.subdev.device;
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            196 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            320 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	nvkm_debug(subdev, "unknown clock source %d %08x\n", src, mast);
subdev            327 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            331 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	ret = nvbios_pll_parse(subdev->device->bios, reg, &pll);
subdev            340 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	return nv04_pll_calc(subdev, &pll, idx, N, M, NULL, NULL, P);
subdev            372 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_subdev *subdev = &clk->base.subdev;
subdev            373 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            384 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c 	out = clk_init(hwsq, subdev);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c gt215_pll_calc(struct nvkm_subdev *subdev, struct nvbios_pll *info,
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 		nvkm_error(subdev, "unable to find matching pll values\n");
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c getMNP_single(struct nvkm_subdev *subdev, struct nvbios_pll *info, int clk,
subdev             40 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c getMNP_double(struct nvkm_subdev *subdev, struct nvbios_pll *info, int clk,
subdev            139 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 	int chip_version = subdev->device->bios->version.chip;
subdev            227 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c nv04_pll_calc(struct nvkm_subdev *subdev, struct nvbios_pll *info, u32 freq,
subdev            233 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 		ret = getMNP_single(subdev, info, freq, N1, M1, P);
subdev            239 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 		ret = getMNP_double(subdev, info, freq, N1, M1, N2, M2, P);
subdev            243 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.c 		nvkm_error(subdev, "unable to compute acceptable pll values\n");
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h #define nvkm_clk(p) container_of((p), struct nvkm_clk, subdev)
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_devinit_fini(struct nvkm_subdev *subdev, bool suspend)
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	struct nvkm_devinit *init = nvkm_devinit(subdev);
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_devinit_preinit(struct nvkm_subdev *subdev)
subdev             81 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	struct nvkm_devinit *init = nvkm_devinit(subdev);
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	nvkm_lockvgac(subdev->device, false);
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_devinit_init(struct nvkm_subdev *subdev)
subdev            100 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	struct nvkm_devinit *init = nvkm_devinit(subdev);
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_devinit_dtor(struct nvkm_subdev *subdev)
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	struct nvkm_devinit *init = nvkm_devinit(subdev);
subdev            116 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	nvkm_lockvgac(subdev->device, true);
subdev            133 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c 	nvkm_subdev_ctor(&nvkm_devinit, device, index, &init->subdev);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g84.c 	struct nvkm_device *device = init->subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c 	struct nvkm_device *device = init->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	struct nvkm_device *device = subdev->device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	struct nvkm_device *device = init->subdev.device;
subdev             97 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	struct nvkm_subdev *subdev = &init->base.subdev;
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c 	struct nvkm_device *device = subdev->device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm107.c 	struct nvkm_device *device = init->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_device *device = init->base.subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_device *device = init->base.subdev.device;
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_device *device = init->base.subdev.device;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_device *device = init->base.subdev.device;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_subdev *subdev = &init->base.subdev;
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_subdev *subdev = &init->base.subdev;
subdev            122 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	struct nvkm_device *device = subdev->device;
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 		nvkm_error(subdev, "VBIOS PMU init data not found\n");
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 		nvkm_error(subdev, "VBIOS PMU/DEVINIT not found\n");
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	struct nvkm_device *device = subdev->device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	struct nvkm_device *device = init->subdev.device;
subdev            105 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c 	struct nvkm_device *device = init->base.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 	struct nvkm_device *device = subdev->device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c 	struct nvkm_device *device = init->subdev.device;
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_device *device = subdev->device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 		nvkm_error(subdev, "failed to map fb\n");
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_device *device = init->subdev.device;
subdev            201 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_device *device = init->subdev.device;
subdev            286 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_device *device = init->subdev.device;
subdev            358 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_subdev *subdev = &devinit->subdev;
subdev            359 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            370 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P);
subdev            396 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	return nvbios_post(&init->subdev, execute);
subdev            403 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_subdev *subdev = &init->base.subdev;
subdev            404 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	struct nvkm_device *device = subdev->device;
subdev            421 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 			nvkm_debug(subdev, "adaptor not initialised\n");
subdev            432 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c 	nvkm_wrvgaowner(init->base.subdev.device, init->owner);
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c 	struct nvkm_device *device = subdev->device;
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c 		nvkm_error(subdev, "failed to map fb\n");
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c 	struct nvkm_device *device = subdev->device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c 		nvkm_error(subdev, "failed to map fb\n");
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c 	struct nvkm_device *device = subdev->device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c 		nvkm_error(subdev, "failed to map fb\n");
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_device *device = subdev->device;
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 		nvkm_error(subdev, "failed to retrieve pll data, %d\n", ret);
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P);
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 		nvkm_error(subdev, "failed pll calculation\n");
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_device *device = init->subdev.device;
subdev             96 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_subdev *subdev = &base->subdev;
subdev             97 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            115 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 			nvkm_debug(subdev, "adaptor not initialised\n");
subdev            125 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_subdev *subdev = &init->base.subdev;
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            140 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 			nvbios_init(subdev, info.script[0],
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/priv.h #define nvkm_devinit(p) container_of((p), struct nvkm_devinit, subdev)
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 	struct nvkm_subdev *subdev = &init->subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 	struct nvkm_device *device = subdev->device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 	ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P);
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c 		nvkm_warn(subdev, "%08x/%dKhz unimplemented\n", type, freq);
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_intr(struct nvkm_subdev *subdev)
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_fault *fault = nvkm_fault(subdev);
subdev             70 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_fini(struct nvkm_subdev *subdev, bool suspend)
subdev             72 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_fault *fault = nvkm_fault(subdev);
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_init(struct nvkm_subdev *subdev)
subdev             81 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_fault *fault = nvkm_fault(subdev);
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_subdev *subdev = &fault->subdev;
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_device *device = subdev->device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	nvkm_debug(subdev, "buffer %d: %d entries\n", id, buffer->entries);
subdev            119 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_oneinit(struct nvkm_subdev *subdev)
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_fault *fault = nvkm_fault(subdev);
subdev            144 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_dtor(struct nvkm_subdev *subdev)
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	struct nvkm_fault *fault = nvkm_fault(subdev);
subdev            178 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c 	nvkm_subdev_ctor(&nvkm_fault, device, index, &fault->subdev);
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c 	buffer->entries = nvkm_rd32(buffer->fault->subdev.device, 0x002a78);
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_subdev *subdev = &fault->subdev;
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            154 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_subdev *subdev = &fault->subdev;
subdev            155 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	struct nvkm_device *device = subdev->device;
subdev            179 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 		nvkm_debug(subdev, "intr %08x\n", stat);
subdev            189 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	nvkm_mask(fault->subdev.device, 0x100a34, 0x80000000, 0x80000000);
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c 	nvkm_mask(fault->subdev.device, 0x100a2c, 0x80000000, 0x80000000);
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/fault/priv.h #define nvkm_fault(p) container_of((p), struct nvkm_fault, subdev)
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_subdev *subdev = &fault->subdev;
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_device *device = subdev->device;
subdev            101 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_subdev *subdev = &fault->subdev;
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 	struct nvkm_device *device = subdev->device;
subdev            127 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c 		nvkm_debug(subdev, "intr %08x\n", stat);
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c 	struct nvkm_device *device = buffer->fault->subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_device *device = fb->subdev.device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev             64 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_device *device = subdev->device;
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 			nvkm_warn(subdev, "M0203E type %02x\n", M0203E.type);
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	nvkm_warn(subdev, "M0203E not matched!\n");
subdev             89 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_intr(struct nvkm_subdev *subdev)
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_fb *fb = nvkm_fb(subdev);
subdev             97 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_oneinit(struct nvkm_subdev *subdev)
subdev             99 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_fb *fb = nvkm_fb(subdev);
subdev            105 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 			nvkm_error(subdev, "vram setup failed, %d\n", ret);
subdev            122 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 		nvkm_debug(subdev, "%d comptags\n", tags);
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_init(struct nvkm_subdev *subdev)
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_fb *fb = nvkm_fb(subdev);
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_dtor(struct nvkm_subdev *subdev)
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	struct nvkm_fb *fb = nvkm_fb(subdev);
subdev            192 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c 	nvkm_subdev_ctor(&nvkm_fb, device, index, &fb->subdev);
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_subdev *subdev = &fb->base.subdev;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_device *device = subdev->device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 		nvkm_debug(subdev, "PFFB intr\n");
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 		nvkm_debug(subdev, "PBFB intr\n");
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev             78 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_device *device = fb->subdev.device;
subdev             92 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c 	struct nvkm_device *device = fb->subdev.device;
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c 	struct nvkm_device *device = gf100_fb(base)->base.subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c 	struct nvkm_device *device = fb->subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.c 	struct nvkm_device *device = fb->subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c 	struct nvkm_device *device = fb->subdev.device;
subdev             72 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c 	struct nvkm_device *device = fb->subdev.device;
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c 	const u32 tags = nvkm_rd32(fb->subdev.device, 0x100320);
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c 	struct nvkm_device *device = fb->subdev.device;
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c 	struct nvkm_device *device = fb->subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.c 	nvkm_mask(fb->subdev.device, 0x10033c, 0x00008000, 0x00000000);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c 	struct nvkm_device *device = fb->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c 	nvkm_wr32(fb->subdev.device, 0x100800, 0x00000001);
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c 	struct nvkm_device *device = fb->subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c 	struct nvkm_device *device = fb->subdev.device;
subdev            138 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	struct nvkm_subdev *subdev = &fb->base.subdev;
subdev            139 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            182 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	nvkm_error(subdev, "trapped %s at %02x%04x%04x on channel %d [%08x %s] "
subdev            199 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev            216 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev            242 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c 	struct nvkm_device *device = fb->base.subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h #define nvkm_fb(p) container_of((p), struct nvkm_fb, subdev)
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	mutex_lock(&vram->ram->fb->subdev.mutex);
subdev             89 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	mutex_unlock(&vram->ram->fb->subdev.mutex);
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	mutex_lock(&ram->fb->subdev.mutex);
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 			mutex_unlock(&ram->fb->subdev.mutex);
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	mutex_unlock(&ram->fb->subdev.mutex);
subdev            191 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	struct nvkm_subdev *subdev = &fb->subdev;
subdev            194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	nvkm_info(subdev, "%d MiB %s\n", (int)(size >> 20), name[type]);
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h 	int ret = nvkm_memx_init(fb->subdev.device->pmu, &ram->memx);
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h 	struct nvkm_device *device = ram->fb->subdev.device;
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h 	return nvkm_memx_train_result(fb->subdev.device->pmu, result, rsize);
subdev            111 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_device *device = fb->subdev.device;
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            132 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_device *device = subdev->device;
subdev            150 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		nvkm_error(subdev, "invalid/missing rammap entry\n");
subdev            155 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	strap = nvbios_ramcfg_index(subdev);
subdev            157 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		nvkm_error(subdev, "invalid ramcfg strap\n");
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		nvkm_error(subdev, "invalid/missing ramcfg entry\n");
subdev            173 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			nvkm_error(subdev, "invalid/missing timing entry\n");
subdev            215 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		ret = gt215_pll_calc(subdev, &ram->refpll, ram->mempll.refclk,
subdev            218 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			nvkm_error(subdev, "unable to calc refpll\n");
subdev            230 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		ret = gt215_pll_calc(subdev, &ram->mempll, freq,
subdev            233 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			nvkm_error(subdev, "unable to calc refpll\n");
subdev            410 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev            438 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev            494 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_subdev *subdev = &fb->subdev;
subdev            495 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_device *device = subdev->device;
subdev            504 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	nvkm_debug(subdev, "%d FBP(s)\n", fbps);
subdev            508 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			nvkm_debug(subdev, "FBP %d: %4d MiB, %d LTC(s)\n",
subdev            514 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 			nvkm_debug(subdev, "FBP %d: disabled\n", fbp);
subdev            522 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	nvkm_debug(subdev, "Lower: %4lld MiB @ %010llx\n", lower >> 20, 0ULL);
subdev            523 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	nvkm_debug(subdev, "Upper: %4lld MiB @ %010llx\n", usize >> 20, ubase);
subdev            524 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	nvkm_debug(subdev, "Total: %4lld MiB\n", total >> 20);
subdev            570 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_subdev *subdev = &fb->subdev;
subdev            571 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            585 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		nvkm_error(subdev, "mclk refpll data not found\n");
subdev            591 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 		nvkm_error(subdev, "mclk pll data not found\n");
subdev            234 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = fb->subdev.device;
subdev            263 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP))
subdev            664 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP))
subdev            714 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP))
subdev            946 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP))
subdev            964 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            977 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	nvkm_error(subdev, "ramcfg data for %dMHz not found\n", mhz);
subdev           1044 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev           1065 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal,
subdev           1070 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_error(subdev, "unable to calc plls\n");
subdev           1073 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		nvkm_debug(subdev, "successfully calced PLLs for clock %i kHz"
subdev           1077 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gt215_pll_calc(subdev, &fuc->refpll, refclk, &ram->N1,
subdev           1081 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_error(subdev, "unable to calc refpll\n");
subdev           1115 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_clk *clk = ram->base.fb->subdev.device->clk;
subdev           1157 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev           1235 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev           1274 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_bios *bios = ram->fb->subdev.device->bios;
subdev           1334 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_subdev *subdev = &ram->fb->subdev;
subdev           1335 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = subdev->device;
subdev           1339 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		nvkm_warn(subdev, "missing link training data\n");
subdev           1370 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	u8 ramcfg = nvbios_ramcfg_index(&ram->fb->subdev);
subdev           1399 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_subdev *subdev = &ram->fb->subdev;
subdev           1400 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = subdev->device;
subdev           1427 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvbios_init(subdev, nvbios_rd32(bios, data));
subdev           1441 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_bios *bios = ram->base.fb->subdev.device->bios;
subdev           1524 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_subdev *subdev = &fb->subdev;
subdev           1525 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvkm_device *device = subdev->device;
subdev           1530 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	u8  ramcfg = nvbios_ramcfg_index(subdev);
subdev           1576 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_error(subdev, "failed to parse ramcfg data\n");
subdev           1584 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		nvkm_error(subdev, "mclk refpll data not found\n");
subdev           1590 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		nvkm_error(subdev, "mclk pll data not found\n");
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c 	struct nvkm_subdev *subdev = &ram->fb->subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c 	struct nvkm_device *device = subdev->device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c 				nvbios_init(subdev, nvbios_rd32(bios, data));
subdev            158 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            159 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_device *device = subdev->device;
subdev            248 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		nvkm_debug(subdev, "Train: %08x", result[i]);
subdev            251 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_debug(subdev, "Train: %08x %08x %08x", train->r_100720,
subdev            281 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev            351 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            352 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_device *device = subdev->device;
subdev            414 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_debug(subdev, "Entry: 220: %08x %08x %08x %08x\n",
subdev            416 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_debug(subdev, "  230: %08x %08x %08x %08x\n",
subdev            418 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_debug(subdev, "  240: %08x\n", timing[8]);
subdev            468 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_gpio *gpio = fuc->base.fb->subdev.device->gpio;
subdev            497 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            498 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_device *device = subdev->device;
subdev            522 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		nvkm_error(subdev, "invalid/missing rammap entry\n");
subdev            527 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	strap = nvbios_ramcfg_index(subdev);
subdev            529 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		nvkm_error(subdev, "invalid ramcfg strap\n");
subdev            536 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		nvkm_error(subdev, "invalid/missing ramcfg entry\n");
subdev            546 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 			nvkm_error(subdev, "invalid/missing timing entry\n");
subdev            553 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		nvkm_error(subdev, "failed mclk calculation\n");
subdev            887 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/rammcp77.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/fb/rammcp77.c 	struct nvkm_device *device = fb->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv04.c 	struct nvkm_device *device = fb->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv10.c 	struct nvkm_device *device = fb->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.c 	if (dev_is_pci(fb->subdev.device->dev))
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.c 		pdev = to_pci_dev(fb->subdev.device->dev);
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.c 		nvkm_error(&fb->subdev, "no bridge device\n");
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.c 	if (fb->subdev.device->chipset == 0x1a) {
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv20.c 	struct nvkm_device *device = fb->subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 		nvkm_error(subdev, "mclk pll data not found\n");
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	ret = nv04_pll_calc(subdev, &pll, freq, &N1, &M1, &N2, &M2, &log2P);
subdev             70 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	struct nvkm_device *device = subdev->device;
subdev            156 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 		nvbios_init(subdev, nvbios_rd16(bios, M.offset + 0x00));
subdev            204 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c 	struct nvkm_device *device = fb->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv41.c 	struct nvkm_device *device = fb->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv44.c 	struct nvkm_device *device = fb->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv49.c 	struct nvkm_device *device = fb->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv4e.c 	struct nvkm_device *device = fb->subdev.device;
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_device *device = subdev->device;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	nvkm_debug(subdev, " 220: %08x %08x %08x %08x\n",
subdev            144 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	nvkm_debug(subdev, " 230: %08x %08x %08x %08x\n",
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	nvkm_debug(subdev, " 240: %08x\n", timing[8]);
subdev            155 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            156 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_device *device = subdev->device;
subdev            194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio;
subdev            223 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;
subdev            224 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            246 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 			nvkm_error(subdev, "invalid/missing perftab entry\n");
subdev            254 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	strap = nvbios_ramcfg_index(subdev);
subdev            256 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		nvkm_error(subdev, "invalid ramcfg strap\n");
subdev            263 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		nvkm_error(subdev, "invalid/missing rammap entry ");
subdev            272 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 			nvkm_error(subdev, "invalid/missing timing entry "
subdev            282 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	ret = ram_init(hwsq, subdev);
subdev            301 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		nvkm_error(subdev, "Could not calculate MR\n");
subdev            305 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	if (subdev->device->chipset <= 0x96 && !next->bios.ramcfg_00_03_02)
subdev            331 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		ret = nv04_pll_calc(subdev, &mpll, freq,
subdev            360 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	if (subdev->device->chipset >= 0x92)
subdev            409 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	if (subdev->device->chipset <= 0x96) {
subdev            474 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	if (subdev->device->chipset <= 0x96 && next->bios.ramcfg_00_03_02)
subdev            484 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_device *device = ram->base.fb->subdev.device;
subdev            506 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_subdev *subdev = &ram->fb->subdev;
subdev            507 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_device *device = subdev->device;
subdev            515 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	nvkm_debug(subdev, "memcfg %08x %08x %08x %08x\n",
subdev            529 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 		nvkm_warn(subdev, "memory controller reports %d MiB VRAM\n",
subdev            537 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	nvkm_debug(subdev, "rblock %d bytes\n", rblock_size);
subdev            545 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c 	struct nvkm_device *device = fb->subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c nvkm_fuse_dtor(struct nvkm_subdev *subdev)
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c 	return nvkm_fuse(subdev);
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c 	nvkm_subdev_ctor(&nvkm_fuse, device, index, &fuse->subdev);
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gf100.c 	struct nvkm_device *device = fuse->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gm107.c 	struct nvkm_device *device = fuse->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/nv50.c 	struct nvkm_device *device = fuse->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/priv.h #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	struct nvkm_device *device = gpio->subdev.device;
subdev            148 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_intr(struct nvkm_subdev *subdev)
subdev            150 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	struct nvkm_gpio *gpio = nvkm_gpio(subdev);
subdev            165 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            167 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	struct nvkm_gpio *gpio = nvkm_gpio(subdev);
subdev            193 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_init(struct nvkm_subdev *subdev)
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	struct nvkm_gpio *gpio = nvkm_gpio(subdev);
subdev            203 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	if (nvkm_boolopt(subdev->device->cfgopt, "NvPowerChecks", true)) {
subdev            214 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 			nvkm_error(&gpio->subdev,
subdev            227 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_dtor(struct nvkm_subdev *subdev)
subdev            229 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	struct nvkm_gpio *gpio = nvkm_gpio(subdev);
subdev            251 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c 	nvkm_subdev_ctor(&nvkm_gpio, device, index, &gpio->subdev);
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             96 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 	struct nvkm_device *device = gpio->subdev.device;
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 	struct nvkm_device *device = gpio->subdev.device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c 	struct nvkm_device *device = gpio->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/priv.h #define nvkm_gpio(p) container_of((p), struct nvkm_gpio, subdev)
subdev             27 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c gv100_gsp_oneinit(struct nvkm_subdev *subdev)
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c 	struct nvkm_gsp *gsp = nvkm_gsp(subdev);
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c 	gsp->addr = nvkm_top_addr(subdev->device, subdev->index);
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c 	return nvkm_falcon_v1_new(subdev, "GSP", gsp->addr, &gsp->falcon);
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c gv100_gsp_dtor(struct nvkm_subdev *subdev)
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c 	struct nvkm_gsp *gsp = nvkm_gsp(subdev);
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c 	nvkm_subdev_ctor(&gv100_gsp, device, index, &gsp->subdev);
subdev            187 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c 	struct nvkm_device *device = pad->i2c->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h 	nvkm_##l(&_aux->pad->i2c->subdev, "aux %04x: "f"\n", _aux->id, ##a);   \
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c 	struct nvkm_device *device = aux->base.pad->i2c->subdev.device;
subdev             51 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_bios *bios = i2c->subdev.device->bios;
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_intr(struct nvkm_subdev *subdev)
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
subdev            159 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
subdev            188 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_preinit(struct nvkm_subdev *subdev)
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
subdev            207 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_init(struct nvkm_subdev *subdev)
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
subdev            230 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_dtor(struct nvkm_subdev *subdev)
subdev            232 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	struct nvkm_i2c *i2c = nvkm_i2c(subdev);
subdev            292 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 	nvkm_subdev_ctor(&nvkm_i2c, device, index, &i2c->subdev);
subdev            304 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 		nvkm_debug(&i2c->subdev, "ccb %02x: type %02x drive %02x "
subdev            319 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_error(&i2c->subdev, "ccb %02x pad, %d\n", i, ret);
subdev            339 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_error(&i2c->subdev, "ccb %02x bus, %d\n", i, ret);
subdev            354 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_error(&i2c->subdev, "ccb %02x aux, %d\n", i, ret);
subdev            359 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_warn(&i2c->subdev, "ccb %02x was ignored\n", i);
subdev            377 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_debug(&i2c->subdev, "dcb %02x no bus\n", i);
subdev            389 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 			nvkm_debug(&i2c->subdev, "dcb %02x drv %02x unknown\n",
subdev            400 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 				nvkm_error(&i2c->subdev, "dcb %02x pad, %d\n",
subdev            413 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 				nvkm_error(&i2c->subdev, "dcb %02x aux, %d\n",
subdev            423 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c 				nvkm_error(&i2c->subdev, "dcb %02x bus, %d\n",
subdev            212 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c 	struct nvkm_device *device = pad->i2c->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.h 	nvkm_##l(&_bus->pad->i2c->subdev, "bus %04x: "f"\n", _bus->id, ##a);   \
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busgf119.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv04.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv4e.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 	struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
subdev            101 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/busnv50.c 		nvkm_warn(&pad->i2c->subdev, "bus %d unknown\n", drive);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c 	struct nvkm_device *device = i2c->subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c 	struct nvkm_device *device = i2c->subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c 	struct nvkm_device *device = i2c->subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c 	struct nvkm_device *device = i2c->subdev.device;
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.h 	nvkm_##l(&_pad->i2c->subdev, "pad %04x: "f"\n", _pad->id, ##a);        \
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/padg94.c 	struct nvkm_subdev *subdev = &pad->i2c->subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/padg94.c 	struct nvkm_device *device = subdev->device;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/padgm200.c 	struct nvkm_subdev *subdev = &pad->i2c->subdev;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/padgm200.c 	struct nvkm_device *device = subdev->device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h #define nvkm_i2c(p) container_of((p), struct nvkm_i2c, subdev)
subdev            103 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_subdev *subdev = &iccsense->subdev;
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	nvkm_trace(subdev, "write config of extdev %i: 0x%04x\n", sensor->id, sensor->config);
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_dtor(struct nvkm_subdev *subdev)
subdev            133 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_iccsense *iccsense = nvkm_iccsense(subdev);
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_subdev *subdev = &iccsense->subdev;
subdev            153 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            154 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_i2c *i2c = subdev->device->i2c;
subdev            170 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 		nvkm_error(subdev, "Unknown sensor type %x, power reading "
subdev            186 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 		nvkm_warn(subdev, "found invalid sensor id: %i, power reading"
subdev            216 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_oneinit(struct nvkm_subdev *subdev)
subdev            218 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_iccsense *iccsense = nvkm_iccsense(subdev);
subdev            219 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            257 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 			nvkm_error(subdev, "config mismatch found for extdev %i\n", pwr_rail->extdev_id);
subdev            290 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 			nvkm_debug(subdev, "create rail for extdev %i: { idx: %i, mohm: %i }\n", pwr_rail->extdev_id, r, rail->mohm);
subdev            298 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_init(struct nvkm_subdev *subdev)
subdev            300 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	struct nvkm_iccsense *iccsense = nvkm_iccsense(subdev);
subdev            318 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c 	nvkm_subdev_ctor(&iccsense_func, device, index, &iccsense->subdev);
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/priv.h #define nvkm_iccsense(p) container_of((p), struct nvkm_iccsense, subdev)
subdev             96 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_subdev *subdev = &imem->subdev;
subdev            103 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		nvkm_error(subdev, "OOM: %08x %08x %d\n", size, align, ret);
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_trace(subdev, "new %08x %08x %d: %010llx %010llx\n", size, align,
subdev            160 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instmem_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_instmem *imem = nvkm_instmem(subdev);
subdev            172 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 		nvkm_bar_bar2_fini(subdev->device);
subdev            188 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instmem_init(struct nvkm_subdev *subdev)
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_instmem *imem = nvkm_instmem(subdev);
subdev            198 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_bar_bar2_init(subdev->device);
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instmem_oneinit(struct nvkm_subdev *subdev)
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_instmem *imem = nvkm_instmem(subdev);
subdev            218 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instmem_dtor(struct nvkm_subdev *subdev)
subdev            220 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	struct nvkm_instmem *imem = nvkm_instmem(subdev);
subdev            239 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c 	nvkm_subdev_ctor(&nvkm_instmem, device, index, &imem->subdev);
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_debug(&imem->base.subdev, "vaddr used: %x/%x\n", imem->vaddr_use,
subdev            178 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_ltc *ltc = imem->base.subdev.device->ltc;
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_ltc *ltc = imem->base.subdev.device->ltc;
subdev            212 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_error(&imem->base.subdev, "cannot map instobj - "
subdev            218 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_debug(&imem->base.subdev, "vaddr used: %x/%x\n",
subdev            233 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_ltc *ltc = imem->base.subdev.device->ltc;
subdev            245 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_ltc *ltc = imem->base.subdev.device->ltc;
subdev            299 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct device *dev = imem->base.subdev.device->dev;
subdev            316 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct device *dev = imem->base.subdev.device->dev;
subdev            387 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_subdev *subdev = &imem->base.subdev;
subdev            388 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct device *dev = subdev->device->dev;
subdev            401 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_error(subdev, "cannot allocate DMA memory\n");
subdev            407 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_warn(subdev,
subdev            425 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_subdev *subdev = &imem->base.subdev;
subdev            426 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct device *dev = subdev->device->dev;
subdev            456 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 			nvkm_error(subdev, "DMA mapping error!\n");
subdev            469 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_error(subdev, "IOMMU space is full!\n");
subdev            480 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 			nvkm_error(subdev, "IOMMU mapping failure: %d\n", ret);
subdev            518 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	struct nvkm_subdev *subdev = &imem->base.subdev;
subdev            522 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_debug(subdev, "%s (%s): size: %x align: %x\n", __func__,
subdev            541 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	nvkm_debug(subdev, "alloc size: 0x%x, align: 0x%x, gaddr: 0x%llx\n",
subdev            554 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_warn(&base->subdev, "instobj LRU not empty!\n");
subdev            557 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_warn(&base->subdev, "instobj vmap area not empty! "
subdev            595 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_info(&imem->base.subdev, "using IOMMU\n");
subdev            601 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		nvkm_info(&imem->base.subdev, "using DMA API\n");
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nvkm_device *device = iobj->imem->base.subdev.device;
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nvkm_device *device = iobj->imem->base.subdev.device;
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nvkm_device *device = iobj->imem->base.subdev.device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	mutex_lock(&iobj->imem->base.subdev.mutex);
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	mutex_unlock(&iobj->imem->base.subdev.mutex);
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	mutex_lock(&imem->base.subdev.mutex);
subdev            138 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	mutex_unlock(&imem->base.subdev.mutex);
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	return nvkm_rd32(imem->subdev.device, 0x700000 + addr);
subdev            155 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	nvkm_wr32(imem->subdev.device, 0x700000 + addr, data);
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c 	struct nvkm_device *device = imem->base.subdev.device;
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	mutex_lock(&iobj->imem->base.subdev.mutex);
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	mutex_unlock(&iobj->imem->base.subdev.mutex);
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	mutex_lock(&imem->base.subdev.mutex);
subdev            138 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	mutex_unlock(&imem->base.subdev.mutex);
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 	struct nvkm_device *device = imem->base.subdev.device;
subdev            259 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c 		nvkm_error(&imem->base.subdev, "unable to map PRAMIN BAR\n");
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_device *device = imem->base.subdev.device;
subdev             79 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_device *device = imem->base.subdev.device;
subdev            125 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_subdev *subdev = &imem->base.subdev;
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_device *device = subdev->device;
subdev            136 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_unlock(&subdev->mutex);
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_lock(&subdev->mutex);
subdev            144 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 			nvkm_debug(subdev, "evict %016llx %016llx @ %016llx\n",
subdev            154 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_unlock(&subdev->mutex);
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_lock(&subdev->mutex);
subdev            166 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_unlock(&subdev->mutex);
subdev            168 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_lock(&subdev->mutex);
subdev            177 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		nvkm_warn(subdev, "PRAMIN ioremap failed\n");
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_subdev *subdev = &imem->base.subdev;
subdev            198 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	nvkm_bar_flush(subdev->device->bar);
subdev            200 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	if (refcount_dec_and_mutex_lock(&iobj->maps, &subdev->mutex)) {
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_unlock(&subdev->mutex);
subdev            230 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_lock(&imem->subdev.mutex);
subdev            232 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		mutex_unlock(&imem->subdev.mutex);
subdev            237 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	if ((vmm = nvkm_bar_bar2_vmm(imem->subdev.device))) {
subdev            255 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_unlock(&imem->subdev.mutex);
subdev            268 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_lock(&imem->subdev.mutex);
subdev            276 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_unlock(&imem->subdev.mutex);
subdev            318 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_lock(&imem->subdev.mutex);
subdev            323 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	mutex_unlock(&imem->subdev.mutex);
subdev            326 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 		struct nvkm_vmm *vmm = nvkm_bar_bar2_vmm(imem->subdev.device);
subdev            356 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	struct nvkm_device *device = imem->base.subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h #define nvkm_instmem(p) container_of((p), struct nvkm_instmem, subdev)
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	mutex_lock(&ltc->subdev.mutex);
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	mutex_unlock(&ltc->subdev.mutex);
subdev             81 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_intr(struct nvkm_subdev *subdev)
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	struct nvkm_ltc *ltc = nvkm_ltc(subdev);
subdev             88 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_oneinit(struct nvkm_subdev *subdev)
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	struct nvkm_ltc *ltc = nvkm_ltc(subdev);
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_init(struct nvkm_subdev *subdev)
subdev             97 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	struct nvkm_ltc *ltc = nvkm_ltc(subdev);
subdev            112 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_dtor(struct nvkm_subdev *subdev)
subdev            114 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	struct nvkm_ltc *ltc = nvkm_ltc(subdev);
subdev            136 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	nvkm_subdev_ctor(&nvkm_ltc, device, index, &ltc->subdev);
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_subdev *subdev = &ltc->subdev;
subdev             96 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = subdev->device;
subdev            104 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 		nvkm_error(subdev, "LTC%d_LTS%d: %08x [%s]\n", c, s, stat, msg);
subdev            113 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            135 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 		nvkm_debug(&ltc->subdev, "LTC invalidate took %lld ns\n", taken);
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            148 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 		nvkm_debug(&ltc->subdev, "LTC flush took %lld ns\n", taken);
subdev            156 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            210 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            228 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gk104.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_subdev *subdev = &ltc->subdev;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = subdev->device;
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 		nvkm_error(subdev, "LTC%d_LTS%d: %08x [%s]\n", c, s, intr, msg);
subdev             92 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev            125 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c 	nvkm_wr32(ltc->subdev.device, 0x17e278, ltc->tag_base);
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp100.c 	struct nvkm_device *device = ltc->subdev.device;
subdev             27 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp102.c 	struct nvkm_device *device = ltc->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/priv.h #define nvkm_ltc(p) container_of((p), struct nvkm_ltc, subdev)
subdev             81 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	struct nvkm_subdev *subdev;
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 		subdev = nvkm_device_subdev(device, subidx);
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 		if (subdev)
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 			nvkm_subdev_intr(subdev);
subdev            101 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 			subdev = nvkm_device_subdev(device, map->unit);
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 			if (subdev)
subdev            103 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 				nvkm_subdev_intr(subdev);
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 		nvkm_error(&mc->subdev, "intr %08x\n", stat);
subdev            178 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            180 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	nvkm_mc_intr_unarm(subdev->device);
subdev            185 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_init(struct nvkm_subdev *subdev)
subdev            187 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	struct nvkm_mc *mc = nvkm_mc(subdev);
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	nvkm_mc_intr_rearm(subdev->device);
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_dtor(struct nvkm_subdev *subdev)
subdev            197 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	return nvkm_mc(subdev);
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c 	nvkm_subdev_ctor(&nvkm_mc, device, index, &mc->subdev);
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c 	struct nvkm_device *device = mc->subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c 	struct nvkm_device *device = mc->subdev.device;
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c 	struct nvkm_device *device = mc->subdev.device;
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c 	struct nvkm_device *device = mc->subdev.device;
subdev             99 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c 	nvkm_wr32(mc->subdev.device, 0x000260, data);
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c 	struct nvkm_device *device = mc->base.subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c 	struct nvkm_device *device = mc->subdev.device;
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c 	nvkm_mask(mc->subdev.device, 0x000640, mask, stat);
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c 	struct nvkm_device *device = mc->subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c 	struct nvkm_device *device = mc->subdev.device;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c 	return nvkm_rd32(mc->subdev.device, 0x000100);
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c 	struct nvkm_device *device = mc->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c 	struct nvkm_device *device = mc->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c 	struct nvkm_device *device = mc->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h #define nvkm_mc(p) container_of((p), struct nvkm_mc, subdev)
subdev             27 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c 	struct nvkm_device *device = mc->subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c 		struct nvkm_subdev *subdev =
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c 		if (subdev)
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c 			nvkm_subdev_intr(subdev);
subdev            207 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	ret = nvkm_memory_new(mmu->subdev.device, NVKM_MEM_TARGET_INST,
subdev            280 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	struct nvkm_device *device = mmu->subdev.device;
subdev            317 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	struct nvkm_device *device = mmu->subdev.device;
subdev            368 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_oneinit(struct nvkm_subdev *subdev)
subdev            370 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	struct nvkm_mmu *mmu = nvkm_mmu(subdev);
subdev            373 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	if (mmu->subdev.device->fb && mmu->subdev.device->fb->ram)
subdev            379 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 		int ret = nvkm_vmm_new(subdev->device, 0, 0, NULL, 0, NULL,
subdev            389 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_init(struct nvkm_subdev *subdev)
subdev            391 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	struct nvkm_mmu *mmu = nvkm_mmu(subdev);
subdev            398 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_dtor(struct nvkm_subdev *subdev)
subdev            400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	struct nvkm_mmu *mmu = nvkm_mmu(subdev);
subdev            419 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	nvkm_subdev_ctor(&nvkm_mmu, device, index, &mmu->subdev);
subdev             88 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 			dma_unmap_page(mem->mmu->subdev.device->dev,
subdev            147 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 	struct device *dev = mmu->subdev.device->dev;
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c 		mem->dma[mem->pages] = dma_map_page(mmu->subdev.device->dev,
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c 	struct nvkm_device *device = mmu->subdev.device;
subdev             92 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c 	return nvkm_ram_get(mmu->subdev.device, type, 0x01, page,
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c 	struct nvkm_device *device = mmu->subdev.device;
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c 	return nvkm_ram_get(mmu->subdev.device, type, 0x01, page,
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c 	struct nvkm_device *device = mmu->subdev.device;
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c 	return nvkm_ram_get(mmu->subdev.device, NVKM_RAM_MM_NORMAL, type,
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv41.c 	struct nvkm_device *device = mmu->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv44.c 	struct nvkm_device *device = mmu->subdev.device;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h #define nvkm_mmu(p) container_of((p), struct nvkm_mmu, subdev)
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 			struct nvkm_device *device = umem->mmu->subdev.device;
subdev           1008 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		dma_free_coherent(vmm->mmu->subdev.device->dev, 16 * 1024,
subdev           1048 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	vmm->debug = mmu->subdev.debug;
subdev           1339 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_tags_put(vma->memory, vmm->mmu->subdev.device, &vma->tags);
subdev           1501 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_memory_tags_put(vma->memory, vmm->mmu->subdev.device, &vma->tags);
subdev            280 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 		nvkm_printk_(&_vmm->mmu->subdev, 0, p, "%s: "f"\n",            \
subdev            183 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	struct nvkm_subdev *subdev = &vmm->mmu->subdev;
subdev            191 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	struct nvkm_device *device = subdev->device;
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	mutex_lock(&subdev->mutex);
subdev            225 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	mutex_unlock(&subdev->mutex);
subdev            248 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev            407 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	switch (mmu->subdev.device->fb->page) {
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct device *dev = vmm->mmu->subdev.device->dev;
subdev             78 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct device *dev = vmm->mmu->subdev.device->dev;
subdev            321 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev            393 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev            460 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	struct nvkm_subdev *subdev = &vmm->mmu->subdev;
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	struct nvkm_device *device = subdev->device;
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	mutex_lock(&subdev->mutex);
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c 	mutex_unlock(&subdev->mutex);
subdev            187 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev            212 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	struct nvkm_subdev *subdev = &mmu->subdev;
subdev            222 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 	vmm->nullp = dma_alloc_coherent(subdev->device->dev, 16 * 1024,
subdev            225 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c 		nvkm_warn(subdev, "unable to allocate dummy pages\n");
subdev            183 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	struct nvkm_subdev *subdev = &vmm->mmu->subdev;
subdev            184 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	struct nvkm_device *device = subdev->device;
subdev            187 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	mutex_lock(&subdev->mutex);
subdev            220 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 			nvkm_error(subdev, "%s mmu invalidate timeout\n",
subdev            223 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	mutex_unlock(&subdev->mutex);
subdev            235 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c 	struct nvkm_device *device = vmm->mmu->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c 	struct nvkm_subdev *subdev = &vmm->mmu->subdev;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c 	struct nvkm_device *device = subdev->device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c 	mutex_lock(&subdev->mutex);
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c 	mutex_unlock(&subdev->mutex);
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	struct nvkm_device *device = mxm->subdev.device;
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	struct nvkm_device *device = subdev->device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "DSM MXMS failed\n");
subdev            117 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "DSM MXMS returned 0x%llx\n",
subdev            133 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "WMMX MXMI returned %d\n", status);
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "WMMX MXMI version %d.%d\n",
subdev            153 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "WMMX MXMI returned non-integer\n");
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev            171 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "WMMX GUID not found\n");
subdev            183 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(subdev, "WMMX MXMS returned %d\n", status);
subdev            217 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(&mxm->subdev, "checking %s\n", shadow->name);
subdev            243 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	nvkm_subdev_ctor(&nvkm_mxm, device, index, &mxm->subdev);
subdev            247 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_debug(&mxm->subdev, "no VBIOS data, nothing to do\n");
subdev            251 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	nvkm_info(&mxm->subdev, "BIOS version %d.%d\n", ver >> 4, ver & 0x0f);
subdev            252 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	nvkm_debug(&mxm->subdev, "module flags: %02x\n",
subdev            254 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	nvkm_debug(&mxm->subdev, "config flags: %02x\n",
subdev            258 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 		nvkm_warn(&mxm->subdev, "failed to locate valid SIS\n");
subdev            271 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c 	nvkm_debug(&mxm->subdev, "MXMS Version %d.%d\n",
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	nvkm_debug(&mxm->subdev, "unknown version %d.%d\n", mxms[4], mxms[5]);
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 		nvkm_debug(&mxm->subdev, "checksum invalid\n");
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 		nvkm_debug(&mxm->subdev, "signature invalid\n");
subdev             99 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev            144 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			nvkm_debug(subdev, "unknown descriptor type %d\n", type);
subdev            148 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 		if (mxm->subdev.debug >= NV_DBG_DEBUG && (exec == NULL)) {
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			nvkm_debug(subdev, "%4s: %s\n", mxms_desc[type], data);
subdev            165 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 				nvkm_debug(subdev, "      %s\n", data);
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct nvkm_bios *bios = mxm->subdev.device->bios;
subdev            106 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		nvkm_debug(&mxm->subdev, "disable %d: %08x %08x\n",
subdev            180 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev            183 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		nvkm_info(subdev, "unmatched output device %016llx\n", desc);
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct nvkm_subdev *subdev = &mxm->subdev;
subdev            191 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		nvkm_warn(subdev, "unsupported DCB version\n");
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		*pmxm = &mxm->subdev;
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/priv.h #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
subdev             10 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/priv.h 	struct nvkm_subdev subdev;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 	struct nvkm_device *device = pci->subdev.device;
subdev             88 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 		nvkm_error(&pci->subdev, "failed to acquire agp\n");
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 	struct nvkm_subdev *subdev = &pci->subdev;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 	struct nvkm_device *device = subdev->device;
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 		nvkm_warn(subdev, "failed to acquire agp\n");
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c 			nvkm_info(subdev, "forcing default agp mode to %dX, "
subdev             72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_device *device = pci->subdev.device;
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_fini(struct nvkm_subdev *subdev, bool suspend)
subdev             89 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_pci *pci = nvkm_pci(subdev);
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_preinit(struct nvkm_subdev *subdev)
subdev            100 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_pci *pci = nvkm_pci(subdev);
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_oneinit(struct nvkm_subdev *subdev)
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_pci *pci = nvkm_pci(subdev);
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_init(struct nvkm_subdev *subdev)
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_pci *pci = nvkm_pci(subdev);
subdev            154 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_dtor(struct nvkm_subdev *subdev)
subdev            156 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	struct nvkm_pci *pci = nvkm_pci(subdev);
subdev            172 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	return nvkm_pci(subdev);
subdev            192 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 	nvkm_subdev_ctor(&nvkm_pci_func, device, index, &pci->subdev);
subdev            226 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c 			nvkm_debug(&pci->subdev, "MSI enabled\n");
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c 	struct nvkm_device *device = pci->subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c 	struct nvkm_device *device = pci->subdev.device;
subdev             52 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c 	struct nvkm_device *device = pci->subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c 	struct nvkm_device *device = pci->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c 	struct nvkm_device *device = pci->subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c 	struct nvkm_device *device = pci->subdev.device;
subdev             56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c 	struct nvkm_device *device = pci->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	struct nvkm_device *device = pci->subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 		int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000;
subdev            114 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000;
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	struct nvkm_device *device = pci->subdev.device;
subdev            153 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	struct nvkm_subdev *subdev = &pci->subdev;
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 		nvkm_trace(subdev, "adjusting cap to max speed\n");
subdev            167 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 			nvkm_warn(subdev, "failed to adjust cap speed\n");
subdev            171 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 		nvkm_debug(subdev, "adjusting lnkctl to max speed\n");
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 			nvkm_error(subdev, "failed to adjust lnkctl speed\n");
subdev            184 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 	struct nvkm_subdev *subdev = &pci->subdev;
subdev            190 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 		nvkm_warn(subdev, "dropping requested speed due too low cap"
subdev            196 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c 		nvkm_warn(subdev, "dropping requested speed due too low"
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c 	struct nvkm_device *device = pci->subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c 	struct nvkm_device *device = pci->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c 	struct nvkm_device *device = pci->subdev.device;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c 	struct nvkm_device *device = pci->subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c 	struct nvkm_device *device = pci->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c 	struct nvkm_device *device = pci->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c 	struct nvkm_device *device = pci->subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	nvkm_trace(&pci->subdev, "set to version %i\n", version);
subdev             83 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 		nvkm_debug(&pci->subdev, "pcie max speed: %s\n",
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	struct nvkm_subdev *subdev = &pci->subdev;
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 			nvkm_error(subdev, "couldn't raise version: %i\n", ret);
subdev            117 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	struct nvkm_subdev *subdev = &pci->subdev;
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	nvkm_trace(subdev, "requested %s\n", nvkm_pcie_speeds[speed]);
subdev            132 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 		nvkm_error(subdev, "setting link failed due to low version\n");
subdev            140 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	nvkm_trace(subdev, "current speed: %s\n", nvkm_pcie_speeds[cur_speed]);
subdev            143 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 		nvkm_debug(subdev, "%s not supported by bus or card, dropping"
subdev            153 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 		nvkm_debug(subdev, "requested matches current speed\n");
subdev            157 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 	nvkm_debug(subdev, "set link to %s x%i\n",
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c 		nvkm_error(subdev, "setting link failed: %i\n", ret);
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/pci/priv.h #define nvkm_pci(p) container_of((p), struct nvkm_pci, subdev)
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_intr(struct nvkm_subdev *subdev)
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_fini(struct nvkm_subdev *subdev, bool suspend)
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_device *device = pmu->subdev.device;
subdev            120 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_preinit(struct nvkm_subdev *subdev)
subdev            122 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev            127 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_init(struct nvkm_subdev *subdev)
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_oneinit(struct nvkm_subdev *subdev)
subdev            139 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev            140 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	return nvkm_falcon_v1_new(&pmu->subdev, "PMU", 0x10a000, &pmu->falcon);
subdev            144 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_dtor(struct nvkm_subdev *subdev)
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	struct nvkm_pmu *pmu = nvkm_pmu(subdev);
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	return nvkm_pmu(subdev);
subdev            166 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c 	nvkm_subdev_ctor(&nvkm_pmu, device, index, &pmu->subdev);
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf100.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             40 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf100.c 	return nvkm_mc_enabled(pmu->subdev.device, NVKM_SUBDEV_PMU);
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk104.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk110.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             53 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_clk *clk = pmu->base.subdev.device->clk;
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_clk *clk = pmu->base.subdev.device->clk;
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_clk *clk = pmu->base.subdev.device->clk;
subdev             86 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	nvkm_trace(&pmu->base.subdev, "cur level = %d, new level = %d\n",
subdev            120 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_subdev *subdev = &pmu->base.subdev;
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_device *device = subdev->device;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	nvkm_trace(subdev, "utilization = %d %%, avg_load = %d %%\n",
subdev            148 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 		nvkm_trace(subdev, "set new state to %d\n", state);
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	nvkm_timer_alarm(pmu->subdev.device->timer, 0, &gpmu->alarm);
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	nvkm_falcon_put(pmu->falcon, &pmu->subdev);
subdev            170 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_subdev *subdev = &pmu->subdev;
subdev            171 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	struct nvkm_device *device = pmu->subdev.device;
subdev            175 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 	ret = nvkm_falcon_get(falcon, subdev);
subdev            177 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 		nvkm_error(subdev, "cannot acquire %s falcon!\n", falcon->name);
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c 		nvkm_warn(&pmu->subdev,
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c 	return !(nvkm_rd32(pmu->subdev.device, 0x10a3c0) & 0x00000001);
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_subdev *subdev = &pmu->subdev;
subdev             34 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_device *device = subdev->device;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	mutex_lock(&subdev->mutex);
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 		mutex_unlock(&subdev->mutex);
subdev             82 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	mutex_unlock(&subdev->mutex);
subdev             89 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_subdev *subdev = &pmu->subdev;
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_device *device = subdev->device;
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	nvkm_warn(subdev, "%c%c%c%c %08x %08x %08x %08x\n",
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_subdev *subdev = &pmu->subdev;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_device *device = subdev->device;
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 			nvkm_error(subdev, "UAS fault at %06x addr %08x\n",
subdev            164 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 		nvkm_info(subdev, "wr32 %06x %08x\n",
subdev            172 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 		nvkm_error(subdev, "intr %08x\n", intr);
subdev            180 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	nvkm_wr32(pmu->subdev.device, 0x10a014, 0x00000060);
subdev            186 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_device *device = pmu->subdev.device;
subdev            195 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	return nvkm_rd32(pmu->subdev.device, 0x022210) & 0x00000001;
subdev            201 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             20 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_device *device = memx->pmu->subdev.device;
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_device *device = pmu->subdev.device;
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_subdev *subdev = &pmu->subdev;
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_device *device = subdev->device;
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 		nvkm_debug(subdev, "Exec took %uns, PMU_IN %08x\n",
subdev            102 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "R[%06x] = %08x\n", addr, data);
subdev            110 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "R[%06x] & %08x == %08x, %d us\n",
subdev            119 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "    DELAY = %d ns\n", nsec);
subdev            127 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_subdev *subdev = &memx->pmu->subdev;
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_device *device = subdev->device;
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 		nvkm_debug(subdev, "WAIT VBLANK !NO ACTIVE HEAD\n");
subdev            153 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(subdev, "WAIT VBLANK HEAD%d\n", head_sync);
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "   MEM TRAIN\n");
subdev            168 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	struct nvkm_device *device = pmu->subdev.device;
subdev            194 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "   HOST BLOCKED\n");
subdev            201 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "   HOST UNBLOCKED\n");
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h #define nvkm_pmu(p) container_of((p), struct nvkm_pmu, subdev)
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr.c nvkm_acr_load_firmware(const struct nvkm_subdev *subdev, const char *name,
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr.c 	ret = nvkm_firmware_get(subdev, name, &fw);
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr.c 		nvkm_error(subdev, "%s is smaller than expected size %zu\n",
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr.h 	const struct nvkm_subdev *subdev;
subdev            247 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_subdev *subdev = acr->base.subdev;
subdev            270 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "invalid signature size for %s falcon!\n",
subdev            483 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_subdev *subdev = acr->base.subdev;
subdev            504 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 				nvkm_info(subdev, "skipping %s falcon...\n",
subdev            551 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	ret = nvkm_gpuobj_new(subdev->device, ls_blob_size, WPR_ALIGNMENT,
subdev            556 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	nvkm_debug(subdev, "%d managed LS falcons, WPR size is %d bytes\n",
subdev            571 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "WPR region too small for FW blob!\n");
subdev            572 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "required: %dB\n", image_wpr_size);
subdev            573 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "available: %dB\n", wpr_size);
subdev            657 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct nvkm_subdev *subdev = &sb->subdev;
subdev            665 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	acr_image = hs_ucode_load_blob(subdev, sb->boot_falcon, fw);
subdev            683 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "more apps (%d) than supported (%d)!",
subdev            692 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	ret = nvkm_gpuobj_new(subdev->device, ALIGN(hsbin_hdr->data_size, 256),
subdev            717 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct nvkm_subdev *subdev = &sb->subdev;
subdev            749 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		acr->hsbl_blob = nvkm_acr_load_firmware(subdev, "acr/bl", 0);
subdev            757 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 			acr->hsbl_unload_blob = nvkm_acr_load_firmware(subdev,
subdev            770 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	nvkm_debug(&sb->subdev, "LS blob successfully created\n");
subdev            805 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(_acr->subdev, "invalid secure boot blob!\n");
subdev            842 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct nvkm_subdev *subdev = &sb->subdev;
subdev            849 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_debug(subdev, "running HS unload blob\n");
subdev            858 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 			nvkm_error(subdev, "HS unload failed, ret 0x%08x\n", ret);
subdev            861 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_debug(subdev, "HS unload blob completed\n");
subdev            879 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_subdev *subdev = &sb->subdev;
subdev            880 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_device *device = subdev->device;
subdev            906 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_subdev *subdev = &sb->subdev;
subdev            919 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	nvkm_debug(subdev, "running HS load blob\n");
subdev            927 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "HS load failed, ret 0x%08x\n", ret);
subdev            930 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	nvkm_debug(subdev, "HS load blob completed\n");
subdev            933 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(subdev, "ACR blob completed but WPR not set!\n");
subdev           1021 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		queue = sb->subdev.device->pmu->queue;
subdev           1024 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		queue = sb->subdev.device->sec2->queue;
subdev           1032 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_debug(&sb->subdev, "resetting %s falcon\n",
subdev           1036 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		nvkm_error(&sb->subdev, "error during falcon reset: %d\n", ret);
subdev           1039 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	nvkm_debug(&sb->subdev, "falcon reset done\n");
subdev           1143 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	const struct nvkm_pmu *pmu = acr->subdev->device->pmu;
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	const struct nvkm_pmu *pmu = acr->subdev->device->pmu;
subdev            166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	const struct nvkm_sec2 *sec = acr->subdev->device->sec2;
subdev            116 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	const struct nvkm_subdev *subdev = acr->base.subdev;
subdev            139 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		nvkm_error(subdev, "invalid signature size for %s falcon!\n",
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	const struct nvkm_sec2 *sec = acr->subdev->device->sec2;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	const struct nvkm_pmu *pmu = acr->subdev->device->pmu;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		nvkm_error(&sb->subdev, "cannot reset unmanaged falcon!\n");
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c nvkm_secboot_oneinit(struct nvkm_subdev *subdev)
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	struct nvkm_secboot *sb = nvkm_secboot(subdev);
subdev            136 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		sb->halt_falcon = sb->boot_falcon = subdev->device->pmu->falcon;
subdev            140 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		nvkm_engine_ref(&subdev->device->sec2->engine);
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		sb->boot_falcon = subdev->device->sec2->falcon;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		sb->halt_falcon = subdev->device->pmu->falcon;
subdev            145 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		nvkm_error(subdev, "Unmanaged boot falcon %s!\n",
subdev            149 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	nvkm_debug(subdev, "using %s falcon for ACR\n", sb->boot_falcon->name);
subdev            155 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		nvkm_error(subdev, "Secure Boot initialization failed: %d\n",
subdev            164 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c nvkm_secboot_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	struct nvkm_secboot *sb = nvkm_secboot(subdev);
subdev            176 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c nvkm_secboot_dtor(struct nvkm_subdev *subdev)
subdev            178 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	struct nvkm_secboot *sb = nvkm_secboot(subdev);
subdev            201 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	nvkm_subdev_ctor(&nvkm_secboot, device, index, &sb->subdev);
subdev            204 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	acr->subdev = &sb->subdev;
subdev            206 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 	nvkm_debug(&sb->subdev, "securely managed falcons:\n");
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c 		nvkm_debug(&sb->subdev, "- %s\n",
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	struct nvkm_subdev *subdev = &gsb->base.subdev;
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	ret = nvkm_falcon_get(falcon, subdev);
subdev             53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 		nvkm_falcon_put(falcon, subdev);
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	nvkm_mc_intr_mask(sb->subdev.device, falcon->owner->index, false);
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	nvkm_mc_intr_mask(sb->subdev.device, falcon->owner->index, true);
subdev             99 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	nvkm_falcon_put(falcon, subdev);
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	struct nvkm_device *device = sb->subdev.device;
subdev            123 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c 	gsb->vmm->debug = gsb->base.subdev.debug;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c 		nvkm_error(&sb->subdev, "Cannot map Tegra MC registers\n");
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c 		nvkm_error(&sb->subdev, "WPR region is empty\n");
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c 		nvkm_error(&sb->subdev, "WPR region not locked\n");
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c 	nvkm_error(&gsb->base.subdev, "Tegra support not compiled in\n");
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	struct nvkm_subdev *subdev = &sb->subdev;
subdev             37 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	struct nvkm_device *device = subdev->device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	struct nvkm_subdev *subdev = &sb->subdev;
subdev             50 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	struct nvkm_device *device = subdev->device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	nvkm_debug(subdev, "running VPR scrubber binary on NVDEC...\n");
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	nvkm_falcon_get(falcon, &sb->subdev);
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	scrub_image = hs_ucode_load_blob(subdev, falcon, "nvdec/scrubber");
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 		nvkm_error(subdev, "failed to run VPR scrubber binary!\n");
subdev            107 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 		nvkm_error(subdev, "VPR scrubber binary failed!\n");
subdev            112 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	nvkm_debug(subdev, "VPR scrub successfully completed\n");
subdev            115 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c 	nvkm_falcon_put(falcon, &sb->subdev);
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/hs_ucode.c hs_ucode_load_blob(struct nvkm_subdev *subdev, const struct nvkm_falcon *falcon,
subdev             77 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/hs_ucode.c 	acr_image = nvkm_acr_load_firmware(subdev, fw, 0);
subdev             90 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/hs_ucode.c 		nvkm_error(subdev, "unknown header for HS blob %s\n", fw);
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c ls_ucode_img_load_gr(const struct nvkm_subdev *subdev, int maxver,
subdev            101 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	ret = nvkm_firmware_get(subdev, f, &bl);
subdev            106 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	ret = nvkm_firmware_get(subdev, f, &code);
subdev            111 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	ret = nvkm_firmware_get(subdev, f, &data);
subdev            116 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	ret = nvkm_firmware_get(subdev, f, &sig);
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	return ls_ucode_img_load_gr(&sb->subdev, maxver, img, "fecs");
subdev            159 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	return ls_ucode_img_load_gr(&sb->subdev, maxver, img, "gpccs");
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c acr_ls_ucode_load_msgqueue(const struct nvkm_subdev *subdev, const char *name,
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ver = nvkm_firmware_get_version(subdev, f, 0, maxver, &image);
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = nvkm_firmware_get_version(subdev, f, ver, ver, &desc);
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = nvkm_firmware_get_version(subdev, f, ver, ver, &sig);
subdev            105 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_pmu *pmu = sb->subdev.device->pmu;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = acr_ls_ucode_load_msgqueue(&sb->subdev, "pmu", maxver, img);
subdev            124 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_device *device = sb->subdev.device;
subdev            133 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	nvkm_debug(&sb->subdev, "%s started\n",
subdev            143 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_sec2 *sec = sb->subdev.device->sec2;
subdev            146 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ver = acr_ls_ucode_load_msgqueue(&sb->subdev, "sec2", maxver, img);
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	const struct nvkm_subdev *subdev = &sb->subdev;
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_device *device = subdev->device;
subdev            173 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	nvkm_debug(&sb->subdev, "%s started\n",
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_timer *tmr = subdev->device->timer;
subdev            158 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 		nvkm_debug(subdev, "FAN target request: %d%%\n", duty);
subdev            166 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            169 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 		nvkm_debug(subdev, "default fan speed -> %d%%\n", fan);
subdev            187 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            188 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_device *device = subdev->device;
subdev            209 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	nvkm_debug(subdev, "fan management: %s\n", name[mode]);
subdev            309 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	nvkm_debug(&therm->subdev,
subdev            320 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	nvkm_debug(&therm->subdev,
subdev            332 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	nvkm_info(&therm->subdev, "Clockgating enabled\n");
subdev            336 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_intr(struct nvkm_subdev *subdev)
subdev            338 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_therm *therm = nvkm_therm(subdev);
subdev            344 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            346 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_therm *therm = nvkm_therm(subdev);
subdev            363 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_oneinit(struct nvkm_subdev *subdev)
subdev            365 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_therm *therm = nvkm_therm(subdev);
subdev            376 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_init(struct nvkm_subdev *subdev)
subdev            378 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_therm *therm = nvkm_therm(subdev);
subdev            407 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_dtor(struct nvkm_subdev *subdev)
subdev            409 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	struct nvkm_therm *therm = nvkm_therm(subdev);
subdev            427 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	nvkm_subdev_ctor(&nvkm_therm, device, index, &therm->subdev);
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_timer *tmr = subdev->device->timer;
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 		nvkm_debug(subdev, "FAN target: %d\n", target);
subdev             73 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	nvkm_debug(subdev, "FAN update: %d\n", duty);
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_device *device = therm->subdev.device;
subdev            216 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_timer *tmr = therm->subdev.device->timer;
subdev            225 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            226 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	struct nvkm_device *device = subdev->device;
subdev            237 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 			nvkm_debug(subdev, "GPIO_FAN is in input mode\n");
subdev            253 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 	nvkm_debug(subdev, "FAN control: %s\n", therm->fan->type);
subdev            273 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 		nvkm_debug(subdev, "parsing the fan table failed\n");
subdev            275 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 			nvkm_error(subdev, "parsing both fan tables failed\n");
subdev             41 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c 	struct nvkm_device *device = therm->subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c 	int card_type = therm->subdev.device->card_type;
subdev             87 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c 	struct nvkm_device *device = therm->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c 	struct nvkm_device *device = therm->subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = therm->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = therm->subdev.device;
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             58 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = subdev->device;
subdev             80 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	nvkm_debug(subdev,
subdev            100 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = therm->subdev.device;
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            142 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = subdev->device;
subdev            184 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 		nvkm_error(subdev, "intr %08x\n", intr);
subdev            196 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	struct nvkm_device *device = therm->subdev.device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 	struct nvkm_device *device = therm->subdev.device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 		nvkm_trace(&therm->subdev, "{ 0x%06x, %d, 0x%08x }\n",
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 			nvkm_trace(&therm->subdev, "\t0x%06x = 0x%08x\n",
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = subdev->device;
subdev             48 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	nvkm_error(subdev, "GPIO %d unknown PWM: %08x\n", line, gpio);
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = therm->subdev.device;
subdev             69 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = therm->subdev.device;
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = therm->subdev.device;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = therm->subdev.device;
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c 	struct nvkm_device *device = therm->subdev.device;
subdev             33 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c 	struct nvkm_device *dev = therm->base.subdev.device;
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c 	struct nvkm_device *dev = therm->base.subdev.device;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c 	struct nvkm_device *device = therm->subdev.device;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c 	struct nvkm_device *device = therm->subdev.device;
subdev             54 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c 	return therm->subdev.device->crystal * 1000;
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c 	struct nvkm_device *device = therm->subdev.device;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c 		nvkm_trace(subdev, "reading temperature from SHADOWed sensor\n");
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c 	struct nvkm_device *device = therm->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c 	struct nvkm_device *device = therm->subdev.device;
subdev             49 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	nvkm_debug(&therm->subdev,
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c 	struct nvkm_device *device = therm->subdev.device;
subdev             32 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	switch (therm->subdev.device->chipset) {
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = therm->subdev.device;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = therm->subdev.device;
subdev            108 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            114 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 		nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line);
subdev            123 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            124 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            141 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 		nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line);
subdev            151 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            160 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 		nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", line);
subdev            170 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            171 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	struct nvkm_device *device = subdev->device;
subdev            179 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c 	nvkm_error(subdev, "THERM received an IRQ: stat = %x\n", stat);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             47 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 		nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", *line);
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev            123 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c 	struct nvkm_device *device = therm->subdev.device;
subdev              3 drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h #define nvkm_therm(p) container_of((p), struct nvkm_therm, subdev)
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev             95 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 		nvkm_info(subdev,
subdev             99 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 		nvkm_info(subdev, "temperature (%i C) hit the '%s' threshold\n",
subdev            167 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	struct nvkm_timer *tmr = therm->subdev.device->timer;
subdev            197 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	nvkm_debug(&therm->subdev,
subdev            221 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	struct nvkm_timer *tmr = therm->subdev.device->timer;
subdev            235 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	nvkm_debug(&therm->subdev, "internal sensor: %s\n", sensor_avail);
subdev            241 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	struct nvkm_subdev *subdev = &therm->subdev;
subdev            242 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	struct nvkm_bios *bios = subdev->device->bios;
subdev            249 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 		nvkm_error(subdev, "nvbios_therm_sensor_parse failed\n");
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	struct nvkm_subdev *subdev = &wait->tmr->subdev;
subdev             39 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 			nvkm_fatal(subdev, "stalled at %016llx\n", time);
subdev            145 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_intr(struct nvkm_subdev *subdev)
subdev            147 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	struct nvkm_timer *tmr = nvkm_timer(subdev);
subdev            152 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_fini(struct nvkm_subdev *subdev, bool suspend)
subdev            154 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	struct nvkm_timer *tmr = nvkm_timer(subdev);
subdev            160 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_init(struct nvkm_subdev *subdev)
subdev            162 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	struct nvkm_timer *tmr = nvkm_timer(subdev);
subdev            171 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_dtor(struct nvkm_subdev *subdev)
subdev            173 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	return nvkm_timer(subdev);
subdev            193 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	nvkm_subdev_ctor(&nvkm_timer, device, index, &tmr->subdev);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_subdev *subdev = &tmr->subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = subdev->device;
subdev             35 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "time low        : %08x\n", lo);
subdev             36 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "time high       : %08x\n", hi);
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = tmr->subdev.device;
subdev             59 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = tmr->subdev.device;
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = tmr->subdev.device;
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_subdev *subdev = &tmr->subdev;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = subdev->device;
subdev             85 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 		nvkm_error(subdev, "intr %08x\n", stat);
subdev             93 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_subdev *subdev = &tmr->subdev;
subdev             94 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	struct nvkm_device *device = subdev->device;
subdev            109 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 		nvkm_warn(subdev, "unknown input clock freq\n");
subdev            128 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "input frequency : %dHz\n", f);
subdev            129 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "numerator       : %08x\n", n);
subdev            130 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "denominator     : %08x\n", d);
subdev            131 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c 	nvkm_debug(subdev, "timer frequency : %dHz\n", f * d / n);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	struct nvkm_subdev *subdev = &tmr->subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	struct nvkm_device *device = subdev->device;
subdev             46 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 		nvkm_warn(subdev, "unknown input clock freq\n");
subdev             65 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	nvkm_debug(subdev, "input frequency : %dHz\n", f);
subdev             66 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	nvkm_debug(subdev, "numerator       : %08x\n", n);
subdev             67 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	nvkm_debug(subdev, "denominator     : %08x\n", d);
subdev             68 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c 	nvkm_debug(subdev, "timer frequency : %dHz\n", f * d / n);
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	struct nvkm_subdev *subdev = &tmr->subdev;
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	struct nvkm_device *device = subdev->device;
subdev             60 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	nvkm_debug(subdev, "input frequency : %dHz\n", f);
subdev             61 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	nvkm_debug(subdev, "input multiplier: %d\n", m);
subdev             62 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	nvkm_debug(subdev, "numerator       : %08x\n", n);
subdev             63 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	nvkm_debug(subdev, "denominator     : %08x\n", d);
subdev             64 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c 	nvkm_debug(subdev, "timer frequency : %dHz\n", (f * m) * d / n);
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/timer/priv.h #define nvkm_timer(p) container_of((p), struct nvkm_timer, subdev)
subdev            161 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_oneinit(struct nvkm_subdev *subdev)
subdev            163 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c 	struct nvkm_top *top = nvkm_top(subdev);
subdev            168 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_dtor(struct nvkm_subdev *subdev)
subdev            170 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c 	struct nvkm_top *top = nvkm_top(subdev);
subdev            194 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c 	nvkm_subdev_ctor(&nvkm_top, device, index, &top->subdev);
subdev             29 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c 	struct nvkm_subdev *subdev = &top->subdev;
subdev             30 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c 	struct nvkm_device *device = subdev->device;
subdev             44 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c 		nvkm_trace(subdev, "%02x: %08x\n", i, data);
subdev             98 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c 		nvkm_debug(subdev, "%02x.%d (%8s): addr %06x fault %2d "
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h #define nvkm_top(p) container_of((p), struct nvkm_top, subdev)
subdev             53 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_subdev *subdev = &volt->subdev;
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		nvkm_error(subdev, "couldn't set %iuv\n", uv);
subdev             76 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	nvkm_debug(subdev, "set req %duv to %duv: %d\n", uv,
subdev             84 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_bios *bios = volt->subdev.device->bios;
subdev            106 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_bios *bios = volt->subdev.device->bios;
subdev            188 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_subdev *subdev = &bios->subdev;
subdev            197 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		nvkm_debug(subdev, "found ranged based VIDs\n");
subdev            211 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		nvkm_debug(subdev, "found entry based VIDs\n");
subdev            241 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_init(struct nvkm_subdev *subdev)
subdev            243 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_volt *volt = nvkm_volt(subdev);
subdev            247 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 			nvkm_debug(subdev, "current voltage unknown\n");
subdev            250 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	nvkm_debug(subdev, "current voltage: %duv\n", ret);
subdev            255 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_oneinit(struct nvkm_subdev *subdev)
subdev            257 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	struct nvkm_volt *volt = nvkm_volt(subdev);
subdev            261 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		nvkm_debug(&volt->subdev, "speedo %x\n", volt->speedo);
subdev            270 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_dtor(struct nvkm_subdev *subdev)
subdev            272 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	return nvkm_volt(subdev);
subdev            289 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 	nvkm_subdev_ctor(&nvkm_volt, device, index, &volt->subdev);
subdev            298 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		nvkm_debug(&volt->subdev, "min: %iuv max: %iuv\n",
subdev            314 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 			nvkm_debug(&volt->subdev, "VID %02x: %duv\n",
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf100.c 	struct nvkm_device *device = volt->subdev.device;
subdev             43 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf100.c 	struct nvkm_subdev *subdev = &volt->subdev;
subdev             45 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf100.c 		nvkm_error(subdev, "couldn't find speedo value, volting not "
subdev             31 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf117.c 	struct nvkm_device *device = volt->subdev.device;
subdev             42 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c 	struct nvkm_device *device = base->subdev.device;
subdev             55 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c 	struct nvkm_device *device = base->subdev.device;
subdev             71 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c 	struct nvkm_device *device = volt->subdev.device;
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c 		nvkm_error(&volt->base.subdev,
subdev            137 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c 	nvkm_debug(&volt->base.subdev, "Using %s mode\n", mode);
subdev            111 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 	struct nvkm_subdev *subdev = &volt->base.subdev;
subdev            113 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 	nvkm_debug(subdev, "set voltage as %duv\n", volt->base.vid[vid].uv);
subdev            121 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 	struct nvkm_subdev *subdev = &volt->base.subdev;
subdev            126 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 	nvkm_debug(subdev, "prev=%d, target=%d, condition=%d\n",
subdev            157 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 	nvkm_debug(&volt->base.subdev, "the default voltage is %duV\n", uv);
subdev            167 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 		nvkm_debug(&volt->base.subdev, "%2d: vid=%d, uv=%d\n", i,
subdev             38 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c 	struct nvkm_gpio *gpio = volt->subdev.device->gpio;
subdev             57 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c 	struct nvkm_gpio *gpio = volt->subdev.device->gpio;
subdev             74 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c 	struct nvkm_subdev *subdev = &volt->subdev;
subdev             75 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c 	struct nvkm_gpio *gpio = subdev->device->gpio;
subdev             91 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c 				nvkm_debug(subdev, "VID bit %d has no GPIO\n", i);
subdev              4 drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h #define nvkm_volt(p) container_of((p), struct nvkm_volt, subdev)
subdev             41 drivers/gpu/host1x/bus.c 	struct host1x_subdev *subdev;
subdev             45 drivers/gpu/host1x/bus.c 	subdev = kzalloc(sizeof(*subdev), GFP_KERNEL);
subdev             46 drivers/gpu/host1x/bus.c 	if (!subdev)
subdev             49 drivers/gpu/host1x/bus.c 	INIT_LIST_HEAD(&subdev->list);
subdev             50 drivers/gpu/host1x/bus.c 	subdev->np = of_node_get(np);
subdev             53 drivers/gpu/host1x/bus.c 	list_add_tail(&subdev->list, &device->subdevs);
subdev             76 drivers/gpu/host1x/bus.c static void host1x_subdev_del(struct host1x_subdev *subdev)
subdev             78 drivers/gpu/host1x/bus.c 	list_del(&subdev->list);
subdev             79 drivers/gpu/host1x/bus.c 	of_node_put(subdev->np);
subdev             80 drivers/gpu/host1x/bus.c 	kfree(subdev);
subdev            109 drivers/gpu/host1x/bus.c 				   struct host1x_subdev *subdev,
subdev            122 drivers/gpu/host1x/bus.c 	list_move_tail(&subdev->list, &device->active);
subdev            124 drivers/gpu/host1x/bus.c 	subdev->client = client;
subdev            138 drivers/gpu/host1x/bus.c 				       struct host1x_subdev *subdev)
subdev            140 drivers/gpu/host1x/bus.c 	struct host1x_client *client = subdev->client;
subdev            158 drivers/gpu/host1x/bus.c 	subdev->client = NULL;
subdev            160 drivers/gpu/host1x/bus.c 	list_move_tail(&subdev->list, &device->subdevs);
subdev            174 drivers/gpu/host1x/bus.c 				     struct host1x_subdev *subdev)
subdev            177 drivers/gpu/host1x/bus.c 	__host1x_subdev_unregister(device, subdev);
subdev            263 drivers/gpu/host1x/bus.c 	struct host1x_subdev *subdev;
subdev            268 drivers/gpu/host1x/bus.c 		list_for_each_entry(subdev, &device->subdevs, list) {
subdev            269 drivers/gpu/host1x/bus.c 			if (subdev->np == client->dev->of_node) {
subdev            270 drivers/gpu/host1x/bus.c 				host1x_subdev_register(device, subdev, client);
subdev            285 drivers/gpu/host1x/bus.c 	struct host1x_subdev *subdev;
subdev            290 drivers/gpu/host1x/bus.c 		list_for_each_entry(subdev, &device->active, list) {
subdev            291 drivers/gpu/host1x/bus.c 			if (subdev->client == client) {
subdev            292 drivers/gpu/host1x/bus.c 				host1x_subdev_unregister(device, subdev);
subdev            362 drivers/gpu/host1x/bus.c 	struct host1x_subdev *subdev, *sd;
subdev            368 drivers/gpu/host1x/bus.c 	list_for_each_entry_safe(subdev, sd, &device->active, list) {
subdev            378 drivers/gpu/host1x/bus.c 		client = subdev->client;
subdev            380 drivers/gpu/host1x/bus.c 		__host1x_subdev_unregister(device, subdev);
subdev            389 drivers/gpu/host1x/bus.c 	list_for_each_entry_safe(subdev, sd, &device->subdevs, list)
subdev            390 drivers/gpu/host1x/bus.c 		host1x_subdev_del(subdev);
subdev            420 drivers/gpu/host1x/bus.c 	struct host1x_subdev *subdev;
subdev            461 drivers/gpu/host1x/bus.c 		list_for_each_entry(subdev, &device->subdevs, list) {
subdev            462 drivers/gpu/host1x/bus.c 			if (subdev->np == client->dev->of_node) {
subdev            463 drivers/gpu/host1x/bus.c 				host1x_subdev_register(device, subdev, client);
subdev            535 drivers/gpu/host1x/bus.c 		struct host1x_subdev *subdev;
subdev            541 drivers/gpu/host1x/bus.c 		list_for_each_entry(subdev, &device->active, list)
subdev            542 drivers/gpu/host1x/bus.c 			seq_printf(s, "  %pOFf: %s\n", subdev->np,
subdev            543 drivers/gpu/host1x/bus.c 				   dev_name(subdev->client->dev));
subdev            545 drivers/gpu/host1x/bus.c 		list_for_each_entry(subdev, &device->subdevs, list)
subdev            546 drivers/gpu/host1x/bus.c 			seq_printf(s, "  %pOFf:\n", subdev->np);
subdev            600 drivers/hwtracing/intel_th/core.c 			 const struct intel_th_subdevice *subdev)
subdev            607 drivers/hwtracing/intel_th/core.c 	thdev = intel_th_device_alloc(th, subdev->type, subdev->name,
subdev            608 drivers/hwtracing/intel_th/core.c 				      subdev->id);
subdev            614 drivers/hwtracing/intel_th/core.c 	memcpy(res, subdev->res,
subdev            615 drivers/hwtracing/intel_th/core.c 	       sizeof(struct resource) * subdev->nres);
subdev            617 drivers/hwtracing/intel_th/core.c 	for (r = 0; r < subdev->nres; r++) {
subdev            640 drivers/hwtracing/intel_th/core.c 				subdev->name, r, &res[r]);
subdev            651 drivers/hwtracing/intel_th/core.c 	err = intel_th_device_add_resources(thdev, res, subdev->nres);
subdev            655 drivers/hwtracing/intel_th/core.c 	if (subdev->type == INTEL_TH_OUTPUT) {
subdev            656 drivers/hwtracing/intel_th/core.c 		if (subdev->mknode)
subdev            658 drivers/hwtracing/intel_th/core.c 		thdev->output.type = subdev->otype;
subdev            660 drivers/hwtracing/intel_th/core.c 		thdev->output.scratchpad = subdev->scrpd;
subdev            661 drivers/hwtracing/intel_th/core.c 	} else if (subdev->type == INTEL_TH_SWITCH) {
subdev            672 drivers/hwtracing/intel_th/core.c 	if (subdev->type == INTEL_TH_SWITCH && !req) {
subdev            755 drivers/hwtracing/intel_th/core.c 		const struct intel_th_subdevice *subdev =
subdev            761 drivers/hwtracing/intel_th/core.c 		    subdev->type == INTEL_TH_OUTPUT)
subdev            768 drivers/hwtracing/intel_th/core.c 		if (subdev->type == INTEL_TH_OUTPUT &&
subdev            769 drivers/hwtracing/intel_th/core.c 		    subdev->otype != GTH_NONE)
subdev            772 drivers/hwtracing/intel_th/core.c 		thdev = intel_th_subdevice_alloc(th, subdev);
subdev           1314 drivers/media/dvb-frontends/rtl2832_sdr.c 	struct v4l2_subdev *subdev;
subdev           1342 drivers/media/dvb-frontends/rtl2832_sdr.c 	subdev = pdata->v4l2_subdev;
subdev           1378 drivers/media/dvb-frontends/rtl2832_sdr.c 		if (subdev)
subdev           1379 drivers/media/dvb-frontends/rtl2832_sdr.c 			v4l2_ctrl_add_handler(&dev->hdl, subdev->ctrl_handler,
subdev           1407 drivers/media/dvb-frontends/rtl2832_sdr.c 		if (subdev)
subdev           1408 drivers/media/dvb-frontends/rtl2832_sdr.c 			v4l2_ctrl_add_handler(&dev->hdl, subdev->ctrl_handler,
subdev             38 drivers/media/i2c/ad5820.c #define to_ad5820_device(sd)	container_of(sd, struct ad5820_device, subdev)
subdev             41 drivers/media/i2c/ad5820.c 	struct v4l2_subdev subdev;
subdev             58 drivers/media/i2c/ad5820.c 	struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev);
subdev            195 drivers/media/i2c/ad5820.c 	coil->subdev.ctrl_handler = &coil->ctrls;
subdev            203 drivers/media/i2c/ad5820.c static int ad5820_registered(struct v4l2_subdev *subdev)
subdev            205 drivers/media/i2c/ad5820.c 	struct ad5820_device *coil = to_ad5820_device(subdev);
subdev            211 drivers/media/i2c/ad5820.c ad5820_set_power(struct v4l2_subdev *subdev, int on)
subdev            213 drivers/media/i2c/ad5820.c 	struct ad5820_device *coil = to_ad5820_device(subdev);
subdev            268 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            269 drivers/media/i2c/ad5820.c 	struct ad5820_device *coil = to_ad5820_device(subdev);
subdev            280 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            281 drivers/media/i2c/ad5820.c 	struct ad5820_device *coil = to_ad5820_device(subdev);
subdev            309 drivers/media/i2c/ad5820.c 	v4l2_i2c_subdev_init(&coil->subdev, client, &ad5820_ops);
subdev            310 drivers/media/i2c/ad5820.c 	coil->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            311 drivers/media/i2c/ad5820.c 	coil->subdev.internal_ops = &ad5820_internal_ops;
subdev            312 drivers/media/i2c/ad5820.c 	coil->subdev.entity.function = MEDIA_ENT_F_LENS;
subdev            313 drivers/media/i2c/ad5820.c 	strscpy(coil->subdev.name, "ad5820 focus", sizeof(coil->subdev.name));
subdev            315 drivers/media/i2c/ad5820.c 	ret = media_entity_pads_init(&coil->subdev.entity, 0, NULL);
subdev            319 drivers/media/i2c/ad5820.c 	ret = v4l2_async_register_subdev(&coil->subdev);
subdev            328 drivers/media/i2c/ad5820.c 	media_entity_cleanup(&coil->subdev.entity);
subdev            334 drivers/media/i2c/ad5820.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            335 drivers/media/i2c/ad5820.c 	struct ad5820_device *coil = to_ad5820_device(subdev);
subdev            337 drivers/media/i2c/ad5820.c 	v4l2_async_unregister_subdev(&coil->subdev);
subdev            339 drivers/media/i2c/ad5820.c 	media_entity_cleanup(&coil->subdev.entity);
subdev             40 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
subdev             79 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
subdev            108 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
subdev            252 drivers/media/i2c/adp1653.c 	flash->subdev.ctrl_handler = &flash->ctrls;
subdev            263 drivers/media/i2c/adp1653.c 	struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev);
subdev            301 drivers/media/i2c/adp1653.c 		ret = flash->platform_data->power(&flash->subdev, on);
subdev            319 drivers/media/i2c/adp1653.c 		flash->platform_data->power(&flash->subdev, 0);
subdev            327 drivers/media/i2c/adp1653.c adp1653_set_power(struct v4l2_subdev *subdev, int on)
subdev            329 drivers/media/i2c/adp1653.c 	struct adp1653_flash *flash = to_adp1653_flash(subdev);
subdev            383 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            384 drivers/media/i2c/adp1653.c 	struct adp1653_flash *flash = to_adp1653_flash(subdev);
subdev            395 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            396 drivers/media/i2c/adp1653.c 	struct adp1653_flash *flash = to_adp1653_flash(subdev);
subdev            493 drivers/media/i2c/adp1653.c 	v4l2_i2c_subdev_init(&flash->subdev, client, &adp1653_ops);
subdev            494 drivers/media/i2c/adp1653.c 	flash->subdev.internal_ops = &adp1653_internal_ops;
subdev            495 drivers/media/i2c/adp1653.c 	flash->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            501 drivers/media/i2c/adp1653.c 	ret = media_entity_pads_init(&flash->subdev.entity, 0, NULL);
subdev            505 drivers/media/i2c/adp1653.c 	flash->subdev.entity.function = MEDIA_ENT_F_FLASH;
subdev            517 drivers/media/i2c/adp1653.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            518 drivers/media/i2c/adp1653.c 	struct adp1653_flash *flash = to_adp1653_flash(subdev);
subdev            520 drivers/media/i2c/adp1653.c 	v4l2_device_unregister_subdev(&flash->subdev);
subdev            522 drivers/media/i2c/adp1653.c 	media_entity_cleanup(&flash->subdev.entity);
subdev             46 drivers/media/i2c/ak7375.c static inline struct ak7375_device *sd_to_ak7375_vcm(struct v4l2_subdev *subdev)
subdev             48 drivers/media/i2c/ak7375.c 	return container_of(subdev, struct ak7375_device, sd);
subdev             29 drivers/media/i2c/ak881x.c 	struct v4l2_subdev subdev;
subdev             57 drivers/media/i2c/ak881x.c 	return container_of(i2c_get_clientdata(client), struct ak881x, subdev);
subdev            246 drivers/media/i2c/ak881x.c 	v4l2_i2c_subdev_init(&ak881x->subdev, client, &ak881x_subdev_ops);
subdev            304 drivers/media/i2c/ak881x.c 	v4l2_device_unregister_subdev(&ak881x->subdev);
subdev             45 drivers/media/i2c/dw9714.c static inline struct dw9714_device *sd_to_dw9714_vcm(struct v4l2_subdev *subdev)
subdev             47 drivers/media/i2c/dw9714.c 	return container_of(subdev, struct dw9714_device, sd);
subdev             48 drivers/media/i2c/dw9807-vcm.c 					struct v4l2_subdev *subdev)
subdev             50 drivers/media/i2c/dw9807-vcm.c 	return container_of(subdev, struct dw9807_device, sd);
subdev             41 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev subdev;
subdev             62 drivers/media/i2c/et8ek8/et8ek8_driver.c #define to_et8ek8_sensor(sd)	container_of(sd, struct et8ek8_sensor, subdev)
subdev            556 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            584 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            648 drivers/media/i2c/et8ek8/et8ek8_driver.c 			v4l2_get_subdevdata(&sensor->subdev);
subdev            716 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor->subdev.ctrl_handler = &sensor->ctrl_handler;
subdev            748 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = &sensor->subdev;
subdev            749 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            774 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            781 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            786 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_s_stream(struct v4l2_subdev *subdev, int streaming)
subdev            788 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev            817 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = &sensor->subdev;
subdev            818 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            884 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            922 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_enum_frame_size(struct v4l2_subdev *subdev,
subdev            960 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_enum_frame_ival(struct v4l2_subdev *subdev,
subdev            998 drivers/media/i2c/et8ek8/et8ek8_driver.c 		return v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad);
subdev           1006 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_get_pad_format(struct v4l2_subdev *subdev,
subdev           1010 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1022 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_set_pad_format(struct v4l2_subdev *subdev,
subdev           1026 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1046 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_get_frame_interval(struct v4l2_subdev *subdev,
subdev           1049 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1057 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_set_frame_interval(struct v4l2_subdev *subdev,
subdev           1060 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1079 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_g_priv_mem(struct v4l2_subdev *subdev)
subdev           1081 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1082 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1154 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_dev_init(struct v4l2_subdev *subdev)
subdev           1156 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1157 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1213 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_g_priv_mem(subdev);
subdev           1240 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(to_i2c_client(dev));
subdev           1241 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1258 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_registered(struct v4l2_subdev *subdev)
subdev           1260 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1261 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1272 drivers/media/i2c/et8ek8/et8ek8_driver.c 	rval = et8ek8_dev_init(subdev);
subdev           1297 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_set_power(struct v4l2_subdev *subdev, int on)
subdev           1299 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1378 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1379 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1390 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1391 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1436 drivers/media/i2c/et8ek8/et8ek8_driver.c 	v4l2_i2c_subdev_init(&sensor->subdev, client, &et8ek8_ops);
subdev           1437 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1438 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor->subdev.internal_ops = &et8ek8_internal_ops;
subdev           1440 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1442 drivers/media/i2c/et8ek8/et8ek8_driver.c 	ret = media_entity_pads_init(&sensor->subdev.entity, 1, &sensor->pad);
subdev           1448 drivers/media/i2c/et8ek8/et8ek8_driver.c 	ret = v4l2_async_register_subdev_sensor_common(&sensor->subdev);
subdev           1457 drivers/media/i2c/et8ek8/et8ek8_driver.c 	media_entity_cleanup(&sensor->subdev.entity);
subdev           1465 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1466 drivers/media/i2c/et8ek8/et8ek8_driver.c 	struct et8ek8_sensor *sensor = to_et8ek8_sensor(subdev);
subdev           1474 drivers/media/i2c/et8ek8/et8ek8_driver.c 	v4l2_device_unregister_subdev(&sensor->subdev);
subdev           1477 drivers/media/i2c/et8ek8/et8ek8_driver.c 	v4l2_async_unregister_subdev(&sensor->subdev);
subdev           1478 drivers/media/i2c/et8ek8/et8ek8_driver.c 	media_entity_cleanup(&sensor->subdev.entity);
subdev            487 drivers/media/i2c/imx214.c static int imx214_enum_frame_size(struct v4l2_subdev *subdev,
subdev            504 drivers/media/i2c/imx214.c static int imx214_s_register(struct v4l2_subdev *subdev,
subdev            507 drivers/media/i2c/imx214.c 	struct imx214 *imx214 = container_of(subdev, struct imx214, sd);
subdev            512 drivers/media/i2c/imx214.c static int imx214_g_register(struct v4l2_subdev *subdev,
subdev            515 drivers/media/i2c/imx214.c 	struct imx214 *imx214 = container_of(subdev, struct imx214, sd);
subdev            634 drivers/media/i2c/imx214.c static int imx214_entity_init_cfg(struct v4l2_subdev *subdev,
subdev            643 drivers/media/i2c/imx214.c 	imx214_set_format(subdev, cfg, &fmt);
subdev            769 drivers/media/i2c/imx214.c static int imx214_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            771 drivers/media/i2c/imx214.c 	struct imx214 *imx214 = to_imx214(subdev);
subdev            802 drivers/media/i2c/imx214.c static int imx214_g_frame_interval(struct v4l2_subdev *subdev,
subdev            812 drivers/media/i2c/imx214.c static int imx214_enum_frame_interval(struct v4l2_subdev *subdev,
subdev            321 drivers/media/i2c/m5mols/m5mols.h static inline struct m5mols_info *to_m5mols(struct v4l2_subdev *subdev)
subdev            323 drivers/media/i2c/m5mols/m5mols.h 	return container_of(subdev, struct m5mols_info, sd);
subdev             91 drivers/media/i2c/ml86v7667.c static inline struct ml86v7667_priv *to_ml86v7667(struct v4l2_subdev *subdev)
subdev             93 drivers/media/i2c/ml86v7667.c 	return container_of(subdev, struct ml86v7667_priv, sd);
subdev             89 drivers/media/i2c/mt9m001.c 	struct v4l2_subdev subdev;
subdev            112 drivers/media/i2c/mt9m001.c 	return container_of(i2c_get_clientdata(client), struct mt9m001, subdev);
subdev            507 drivers/media/i2c/mt9m001.c 	struct v4l2_subdev *sd = &mt9m001->subdev;
subdev            759 drivers/media/i2c/mt9m001.c 	v4l2_i2c_subdev_init(&mt9m001->subdev, client, &mt9m001_subdev_ops);
subdev            760 drivers/media/i2c/mt9m001.c 	mt9m001->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
subdev            776 drivers/media/i2c/mt9m001.c 	mt9m001->subdev.ctrl_handler = &mt9m001->hdl;
subdev            805 drivers/media/i2c/mt9m001.c 	mt9m001->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev            806 drivers/media/i2c/mt9m001.c 	ret = media_entity_pads_init(&mt9m001->subdev.entity, 1, &mt9m001->pad);
subdev            810 drivers/media/i2c/mt9m001.c 	ret = v4l2_async_register_subdev(&mt9m001->subdev);
subdev            819 drivers/media/i2c/mt9m001.c 	media_entity_cleanup(&mt9m001->subdev.entity);
subdev            838 drivers/media/i2c/mt9m001.c 	v4l2_async_unregister_subdev(&mt9m001->subdev);
subdev            839 drivers/media/i2c/mt9m001.c 	media_entity_cleanup(&mt9m001->subdev.entity);
subdev            133 drivers/media/i2c/mt9m032.c 	struct v4l2_subdev subdev;
subdev            154 drivers/media/i2c/mt9m032.c #define to_mt9m032(sd)	container_of(sd, struct mt9m032, subdev)
subdev            156 drivers/media/i2c/mt9m032.c 	(&((struct i2c_client *)v4l2_get_subdevdata(&(sensor)->subdev))->dev)
subdev            182 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            217 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            238 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            267 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            306 drivers/media/i2c/mt9m032.c static int mt9m032_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            317 drivers/media/i2c/mt9m032.c static int mt9m032_enum_frame_size(struct v4l2_subdev *subdev,
subdev            346 drivers/media/i2c/mt9m032.c 		return v4l2_subdev_get_try_crop(&sensor->subdev, cfg, 0);
subdev            368 drivers/media/i2c/mt9m032.c 		return v4l2_subdev_get_try_format(&sensor->subdev, cfg, 0);
subdev            376 drivers/media/i2c/mt9m032.c static int mt9m032_get_pad_format(struct v4l2_subdev *subdev,
subdev            380 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            389 drivers/media/i2c/mt9m032.c static int mt9m032_set_pad_format(struct v4l2_subdev *subdev,
subdev            393 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            412 drivers/media/i2c/mt9m032.c static int mt9m032_get_pad_selection(struct v4l2_subdev *subdev,
subdev            416 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            428 drivers/media/i2c/mt9m032.c static int mt9m032_set_pad_selection(struct v4l2_subdev *subdev,
subdev            432 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            487 drivers/media/i2c/mt9m032.c static int mt9m032_get_frame_interval(struct v4l2_subdev *subdev,
subdev            490 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            500 drivers/media/i2c/mt9m032.c static int mt9m032_set_frame_interval(struct v4l2_subdev *subdev,
subdev            503 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            526 drivers/media/i2c/mt9m032.c static int mt9m032_s_stream(struct v4l2_subdev *subdev, int streaming)
subdev            528 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            549 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            569 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            584 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            595 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            636 drivers/media/i2c/mt9m032.c 	struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev);
subdev            731 drivers/media/i2c/mt9m032.c 	v4l2_i2c_subdev_init(&sensor->subdev, client, &mt9m032_ops);
subdev            732 drivers/media/i2c/mt9m032.c 	sensor->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            787 drivers/media/i2c/mt9m032.c 	sensor->subdev.ctrl_handler = &sensor->ctrls;
subdev            788 drivers/media/i2c/mt9m032.c 	sensor->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev            790 drivers/media/i2c/mt9m032.c 	ret = media_entity_pads_init(&sensor->subdev.entity, 1, &sensor->pad);
subdev            849 drivers/media/i2c/mt9m032.c 	media_entity_cleanup(&sensor->subdev.entity);
subdev            859 drivers/media/i2c/mt9m032.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            860 drivers/media/i2c/mt9m032.c 	struct mt9m032 *sensor = to_mt9m032(subdev);
subdev            862 drivers/media/i2c/mt9m032.c 	v4l2_device_unregister_subdev(subdev);
subdev            864 drivers/media/i2c/mt9m032.c 	media_entity_cleanup(&subdev->entity);
subdev            230 drivers/media/i2c/mt9m111.c 	struct v4l2_subdev subdev;
subdev            298 drivers/media/i2c/mt9m111.c 	return container_of(i2c_get_clientdata(client), struct mt9m111, subdev);
subdev            379 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            387 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            401 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            432 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            438 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            525 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev            555 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            632 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev            714 drivers/media/i2c/mt9m111.c 		dev_info(mt9m111->subdev.dev,
subdev            722 drivers/media/i2c/mt9m111.c 		dev_dbg(mt9m111->subdev.dev,
subdev            789 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            802 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            814 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            832 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            841 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            861 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            869 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            919 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            937 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            962 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev            977 drivers/media/i2c/mt9m111.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev);
subdev           1014 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev           1058 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev           1068 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev           1115 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev           1143 drivers/media/i2c/mt9m111.c 	struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev);
subdev           1189 drivers/media/i2c/mt9m111.c 	ret = mt9m111_s_power(&mt9m111->subdev, 1);
subdev           1218 drivers/media/i2c/mt9m111.c 	mt9m111_s_power(&mt9m111->subdev, 0);
subdev           1282 drivers/media/i2c/mt9m111.c 	v4l2_i2c_subdev_init(&mt9m111->subdev, client, &mt9m111_subdev_ops);
subdev           1283 drivers/media/i2c/mt9m111.c 	mt9m111->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
subdev           1310 drivers/media/i2c/mt9m111.c 	mt9m111->subdev.ctrl_handler = &mt9m111->hdl;
subdev           1318 drivers/media/i2c/mt9m111.c 	mt9m111->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1319 drivers/media/i2c/mt9m111.c 	ret = media_entity_pads_init(&mt9m111->subdev.entity, 1, &mt9m111->pad);
subdev           1343 drivers/media/i2c/mt9m111.c 	mt9m111->subdev.dev = &client->dev;
subdev           1344 drivers/media/i2c/mt9m111.c 	ret = v4l2_async_register_subdev(&mt9m111->subdev);
subdev           1352 drivers/media/i2c/mt9m111.c 	media_entity_cleanup(&mt9m111->subdev.entity);
subdev           1366 drivers/media/i2c/mt9m111.c 	v4l2_async_unregister_subdev(&mt9m111->subdev);
subdev           1367 drivers/media/i2c/mt9m111.c 	media_entity_cleanup(&mt9m111->subdev.entity);
subdev            120 drivers/media/i2c/mt9p031.c 	struct v4l2_subdev subdev;
subdev            148 drivers/media/i2c/mt9p031.c 	return container_of(sd, struct mt9p031, subdev);
subdev            164 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            178 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            192 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            230 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            266 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            295 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            355 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            382 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            445 drivers/media/i2c/mt9p031.c static int mt9p031_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            447 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            473 drivers/media/i2c/mt9p031.c static int mt9p031_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            477 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            486 drivers/media/i2c/mt9p031.c static int mt9p031_enum_frame_size(struct v4l2_subdev *subdev,
subdev            490 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            510 drivers/media/i2c/mt9p031.c 		return v4l2_subdev_get_try_format(&mt9p031->subdev, cfg, pad);
subdev            524 drivers/media/i2c/mt9p031.c 		return v4l2_subdev_get_try_crop(&mt9p031->subdev, cfg, pad);
subdev            532 drivers/media/i2c/mt9p031.c static int mt9p031_get_format(struct v4l2_subdev *subdev,
subdev            536 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            543 drivers/media/i2c/mt9p031.c static int mt9p031_set_format(struct v4l2_subdev *subdev,
subdev            547 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            581 drivers/media/i2c/mt9p031.c static int mt9p031_get_selection(struct v4l2_subdev *subdev,
subdev            585 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            594 drivers/media/i2c/mt9p031.c static int mt9p031_set_selection(struct v4l2_subdev *subdev,
subdev            598 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            654 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            678 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
subdev            882 drivers/media/i2c/mt9p031.c static int mt9p031_set_power(struct v4l2_subdev *subdev, int on)
subdev            884 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            911 drivers/media/i2c/mt9p031.c static int mt9p031_registered(struct v4l2_subdev *subdev)
subdev            913 drivers/media/i2c/mt9p031.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            914 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            940 drivers/media/i2c/mt9p031.c static int mt9p031_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            942 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev            946 drivers/media/i2c/mt9p031.c 	crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0);
subdev            952 drivers/media/i2c/mt9p031.c 	format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
subdev            964 drivers/media/i2c/mt9p031.c 	return mt9p031_set_power(subdev, 1);
subdev            967 drivers/media/i2c/mt9p031.c static int mt9p031_close(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            969 drivers/media/i2c/mt9p031.c 	return mt9p031_set_power(subdev, 0);
subdev           1095 drivers/media/i2c/mt9p031.c 	mt9p031->subdev.ctrl_handler = &mt9p031->ctrls;
subdev           1108 drivers/media/i2c/mt9p031.c 	v4l2_i2c_subdev_init(&mt9p031->subdev, client, &mt9p031_subdev_ops);
subdev           1109 drivers/media/i2c/mt9p031.c 	mt9p031->subdev.internal_ops = &mt9p031_subdev_internal_ops;
subdev           1111 drivers/media/i2c/mt9p031.c 	mt9p031->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1113 drivers/media/i2c/mt9p031.c 	ret = media_entity_pads_init(&mt9p031->subdev.entity, 1, &mt9p031->pad);
subdev           1117 drivers/media/i2c/mt9p031.c 	mt9p031->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1141 drivers/media/i2c/mt9p031.c 	ret = v4l2_async_register_subdev(&mt9p031->subdev);
subdev           1146 drivers/media/i2c/mt9p031.c 		media_entity_cleanup(&mt9p031->subdev.entity);
subdev           1155 drivers/media/i2c/mt9p031.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1156 drivers/media/i2c/mt9p031.c 	struct mt9p031 *mt9p031 = to_mt9p031(subdev);
subdev           1159 drivers/media/i2c/mt9p031.c 	v4l2_async_unregister_subdev(subdev);
subdev           1160 drivers/media/i2c/mt9p031.c 	media_entity_cleanup(&subdev->entity);
subdev            116 drivers/media/i2c/mt9t001.c 	struct v4l2_subdev subdev;
subdev            137 drivers/media/i2c/mt9t001.c 	return container_of(sd, struct mt9t001, subdev);
subdev            153 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
subdev            170 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
subdev            218 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
subdev            260 drivers/media/i2c/mt9t001.c 		return v4l2_subdev_get_try_format(&mt9t001->subdev, cfg, pad);
subdev            274 drivers/media/i2c/mt9t001.c 		return v4l2_subdev_get_try_crop(&mt9t001->subdev, cfg, pad);
subdev            282 drivers/media/i2c/mt9t001.c static int mt9t001_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            285 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            287 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            337 drivers/media/i2c/mt9t001.c static int mt9t001_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            348 drivers/media/i2c/mt9t001.c static int mt9t001_enum_frame_size(struct v4l2_subdev *subdev,
subdev            363 drivers/media/i2c/mt9t001.c static int mt9t001_get_format(struct v4l2_subdev *subdev,
subdev            367 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            374 drivers/media/i2c/mt9t001.c static int mt9t001_set_format(struct v4l2_subdev *subdev,
subdev            378 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            412 drivers/media/i2c/mt9t001.c static int mt9t001_get_selection(struct v4l2_subdev *subdev,
subdev            416 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            425 drivers/media/i2c/mt9t001.c static int mt9t001_set_selection(struct v4l2_subdev *subdev,
subdev            429 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            534 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev);
subdev            738 drivers/media/i2c/mt9t001.c static int mt9t001_set_power(struct v4l2_subdev *subdev, int on)
subdev            740 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            767 drivers/media/i2c/mt9t001.c static int mt9t001_registered(struct v4l2_subdev *subdev)
subdev            769 drivers/media/i2c/mt9t001.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            770 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            796 drivers/media/i2c/mt9t001.c static int mt9t001_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            801 drivers/media/i2c/mt9t001.c 	crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0);
subdev            807 drivers/media/i2c/mt9t001.c 	format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
subdev            814 drivers/media/i2c/mt9t001.c 	return mt9t001_set_power(subdev, 1);
subdev            817 drivers/media/i2c/mt9t001.c static int mt9t001_close(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            819 drivers/media/i2c/mt9t001.c 	return mt9t001_set_power(subdev, 0);
subdev            919 drivers/media/i2c/mt9t001.c 	mt9t001->subdev.ctrl_handler = &mt9t001->ctrls;
subdev            939 drivers/media/i2c/mt9t001.c 	v4l2_i2c_subdev_init(&mt9t001->subdev, client, &mt9t001_subdev_ops);
subdev            940 drivers/media/i2c/mt9t001.c 	mt9t001->subdev.internal_ops = &mt9t001_subdev_internal_ops;
subdev            941 drivers/media/i2c/mt9t001.c 	mt9t001->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            943 drivers/media/i2c/mt9t001.c 	mt9t001->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev            945 drivers/media/i2c/mt9t001.c 	ret = media_entity_pads_init(&mt9t001->subdev.entity, 1, &mt9t001->pad);
subdev            950 drivers/media/i2c/mt9t001.c 		media_entity_cleanup(&mt9t001->subdev.entity);
subdev            958 drivers/media/i2c/mt9t001.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            959 drivers/media/i2c/mt9t001.c 	struct mt9t001 *mt9t001 = to_mt9t001(subdev);
subdev            962 drivers/media/i2c/mt9t001.c 	v4l2_device_unregister_subdev(subdev);
subdev            963 drivers/media/i2c/mt9t001.c 	media_entity_cleanup(&subdev->entity);
subdev             91 drivers/media/i2c/mt9t112.c 	struct v4l2_subdev		 subdev;
subdev            147 drivers/media/i2c/mt9t112.c 			    subdev);
subdev           1033 drivers/media/i2c/mt9t112.c 	ret = mt9t112_s_power(&priv->subdev, 1);
subdev           1058 drivers/media/i2c/mt9t112.c 	mt9t112_s_power(&priv->subdev, 0);
subdev           1081 drivers/media/i2c/mt9t112.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &mt9t112_subdev_ops);
subdev           1102 drivers/media/i2c/mt9t112.c 	return v4l2_async_register_subdev(&priv->subdev);
subdev           1110 drivers/media/i2c/mt9t112.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev            185 drivers/media/i2c/mt9v032.c 	struct v4l2_subdev subdev;
subdev            222 drivers/media/i2c/mt9v032.c 	return container_of(sd, struct mt9v032, subdev);
subdev            357 drivers/media/i2c/mt9v032.c 		return v4l2_subdev_get_try_format(&mt9v032->subdev, cfg, pad);
subdev            371 drivers/media/i2c/mt9v032.c 		return v4l2_subdev_get_try_crop(&mt9v032->subdev, cfg, pad);
subdev            379 drivers/media/i2c/mt9v032.c static int mt9v032_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            383 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            427 drivers/media/i2c/mt9v032.c static int mt9v032_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            431 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            440 drivers/media/i2c/mt9v032.c static int mt9v032_enum_frame_size(struct v4l2_subdev *subdev,
subdev            444 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            459 drivers/media/i2c/mt9v032.c static int mt9v032_get_format(struct v4l2_subdev *subdev,
subdev            463 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            472 drivers/media/i2c/mt9v032.c 	struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
subdev            494 drivers/media/i2c/mt9v032.c static int mt9v032_set_format(struct v4l2_subdev *subdev,
subdev            498 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            538 drivers/media/i2c/mt9v032.c static int mt9v032_get_selection(struct v4l2_subdev *subdev,
subdev            542 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            551 drivers/media/i2c/mt9v032.c static int mt9v032_set_selection(struct v4l2_subdev *subdev,
subdev            555 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            842 drivers/media/i2c/mt9v032.c static int mt9v032_set_power(struct v4l2_subdev *subdev, int on)
subdev            844 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            871 drivers/media/i2c/mt9v032.c static int mt9v032_registered(struct v4l2_subdev *subdev)
subdev            873 drivers/media/i2c/mt9v032.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev            874 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            919 drivers/media/i2c/mt9v032.c static int mt9v032_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            921 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev            925 drivers/media/i2c/mt9v032.c 	crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0);
subdev            931 drivers/media/i2c/mt9v032.c 	format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
subdev            943 drivers/media/i2c/mt9v032.c 	return mt9v032_set_power(subdev, 1);
subdev            946 drivers/media/i2c/mt9v032.c static int mt9v032_close(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            948 drivers/media/i2c/mt9v032.c 	return mt9v032_set_power(subdev, 0);
subdev           1133 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.ctrl_handler = &mt9v032->ctrls;
subdev           1164 drivers/media/i2c/mt9v032.c 	v4l2_i2c_subdev_init(&mt9v032->subdev, client, &mt9v032_subdev_ops);
subdev           1165 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.internal_ops = &mt9v032_subdev_internal_ops;
subdev           1166 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1168 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1170 drivers/media/i2c/mt9v032.c 	ret = media_entity_pads_init(&mt9v032->subdev.entity, 1, &mt9v032->pad);
subdev           1174 drivers/media/i2c/mt9v032.c 	mt9v032->subdev.dev = &client->dev;
subdev           1175 drivers/media/i2c/mt9v032.c 	ret = v4l2_async_register_subdev(&mt9v032->subdev);
subdev           1182 drivers/media/i2c/mt9v032.c 	media_entity_cleanup(&mt9v032->subdev.entity);
subdev           1189 drivers/media/i2c/mt9v032.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1190 drivers/media/i2c/mt9v032.c 	struct mt9v032 *mt9v032 = to_mt9v032(subdev);
subdev           1192 drivers/media/i2c/mt9v032.c 	v4l2_async_unregister_subdev(subdev);
subdev           1194 drivers/media/i2c/mt9v032.c 	media_entity_cleanup(&subdev->entity);
subdev            684 drivers/media/i2c/mt9v111.c static int mt9v111_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            686 drivers/media/i2c/mt9v111.c 	struct mt9v111_dev *mt9v111 = sd_to_mt9v111(subdev);
subdev            696 drivers/media/i2c/mt9v111.c 	ret = mt9v111_s_power(subdev, enable);
subdev            812 drivers/media/i2c/mt9v111.c static int mt9v111_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            847 drivers/media/i2c/mt9v111.c static int mt9v111_enum_frame_size(struct v4l2_subdev *subdev,
subdev            862 drivers/media/i2c/mt9v111.c static int mt9v111_get_format(struct v4l2_subdev *subdev,
subdev            866 drivers/media/i2c/mt9v111.c 	struct mt9v111_dev *mt9v111 = sd_to_mt9v111(subdev);
subdev            879 drivers/media/i2c/mt9v111.c static int mt9v111_set_format(struct v4l2_subdev *subdev,
subdev            883 drivers/media/i2c/mt9v111.c 	struct mt9v111_dev *mt9v111 = sd_to_mt9v111(subdev);
subdev            956 drivers/media/i2c/mt9v111.c static int mt9v111_init_cfg(struct v4l2_subdev *subdev,
subdev            297 drivers/media/i2c/ov2640.c 	struct v4l2_subdev		subdev;
subdev            651 drivers/media/i2c/ov2640.c 			    subdev);
subdev            717 drivers/media/i2c/ov2640.c 		&container_of(ctrl->handler, struct ov2640_priv, hdl)->subdev;
subdev           1088 drivers/media/i2c/ov2640.c 	ret = ov2640_s_power(&priv->subdev, 1);
subdev           1117 drivers/media/i2c/ov2640.c 	ov2640_s_power(&priv->subdev, 0);
subdev           1225 drivers/media/i2c/ov2640.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops);
subdev           1226 drivers/media/i2c/ov2640.c 	priv->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
subdev           1239 drivers/media/i2c/ov2640.c 	priv->subdev.ctrl_handler = &priv->hdl;
subdev           1246 drivers/media/i2c/ov2640.c 	priv->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1247 drivers/media/i2c/ov2640.c 	ret = media_entity_pads_init(&priv->subdev.entity, 1, &priv->pad);
subdev           1256 drivers/media/i2c/ov2640.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev           1265 drivers/media/i2c/ov2640.c 	media_entity_cleanup(&priv->subdev.entity);
subdev           1278 drivers/media/i2c/ov2640.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev           1281 drivers/media/i2c/ov2640.c 	media_entity_cleanup(&priv->subdev.entity);
subdev           1282 drivers/media/i2c/ov2640.c 	v4l2_device_unregister_subdev(&priv->subdev);
subdev             91 drivers/media/i2c/ov2685.c 	struct v4l2_subdev	subdev;
subdev            103 drivers/media/i2c/ov2685.c #define to_ov2685(sd) container_of(sd, struct ov2685, subdev)
subdev            672 drivers/media/i2c/ov2685.c 	ov2685->subdev.ctrl_handler = handler;
subdev            753 drivers/media/i2c/ov2685.c 	v4l2_i2c_subdev_init(&ov2685->subdev, client, &ov2685_subdev_ops);
subdev            767 drivers/media/i2c/ov2685.c 	ov2685->subdev.internal_ops = &ov2685_internal_ops;
subdev            768 drivers/media/i2c/ov2685.c 	ov2685->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            772 drivers/media/i2c/ov2685.c 	ov2685->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev            773 drivers/media/i2c/ov2685.c 	ret = media_entity_pads_init(&ov2685->subdev.entity, 1, &ov2685->pad);
subdev            778 drivers/media/i2c/ov2685.c 	ret = v4l2_async_register_subdev(&ov2685->subdev);
subdev            792 drivers/media/i2c/ov2685.c 	media_entity_cleanup(&ov2685->subdev.entity);
subdev            851 drivers/media/i2c/ov5645.c static int ov5645_enum_frame_size(struct v4l2_subdev *subdev,
subdev            958 drivers/media/i2c/ov5645.c static int ov5645_entity_init_cfg(struct v4l2_subdev *subdev,
subdev            967 drivers/media/i2c/ov5645.c 	ov5645_set_format(subdev, cfg, &fmt);
subdev            986 drivers/media/i2c/ov5645.c static int ov5645_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            988 drivers/media/i2c/ov5645.c 	struct ov5645 *ov5645 = to_ov5645(subdev);
subdev            101 drivers/media/i2c/ov5695.c 	struct v4l2_subdev	subdev;
subdev            115 drivers/media/i2c/ov5695.c #define to_ov5695(sd) container_of(sd, struct ov5695, subdev)
subdev           1232 drivers/media/i2c/ov5695.c 	ov5695->subdev.ctrl_handler = handler;
subdev           1315 drivers/media/i2c/ov5695.c 	sd = &ov5695->subdev;
subdev            179 drivers/media/i2c/ov6650.c 	struct v4l2_subdev	subdev;
subdev            307 drivers/media/i2c/ov6650.c 	return container_of(i2c_get_clientdata(client), struct ov6650, subdev);
subdev            320 drivers/media/i2c/ov6650.c 	struct v4l2_subdev *sd = &priv->subdev;
subdev            353 drivers/media/i2c/ov6650.c 	struct v4l2_subdev *sd = &priv->subdev;
subdev            994 drivers/media/i2c/ov6650.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov6650_subdev_ops);
subdev           1024 drivers/media/i2c/ov6650.c 	priv->subdev.ctrl_handler = &priv->hdl;
subdev           1044 drivers/media/i2c/ov6650.c 	priv->subdev.internal_ops = &ov6650_internal_ops;
subdev           1046 drivers/media/i2c/ov6650.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev           1060 drivers/media/i2c/ov6650.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev            912 drivers/media/i2c/ov7251.c static int ov7251_enum_frame_size(struct v4l2_subdev *subdev,
subdev            930 drivers/media/i2c/ov7251.c static int ov7251_enum_frame_ival(struct v4l2_subdev *subdev,
subdev           1100 drivers/media/i2c/ov7251.c static int ov7251_entity_init_cfg(struct v4l2_subdev *subdev,
subdev           1112 drivers/media/i2c/ov7251.c 	ov7251_set_format(subdev, cfg, &fmt);
subdev           1134 drivers/media/i2c/ov7251.c static int ov7251_s_stream(struct v4l2_subdev *subdev, int enable)
subdev           1136 drivers/media/i2c/ov7251.c 	struct ov7251 *ov7251 = to_ov7251(subdev);
subdev           1169 drivers/media/i2c/ov7251.c static int ov7251_get_frame_interval(struct v4l2_subdev *subdev,
subdev           1172 drivers/media/i2c/ov7251.c 	struct ov7251 *ov7251 = to_ov7251(subdev);
subdev           1181 drivers/media/i2c/ov7251.c static int ov7251_set_frame_interval(struct v4l2_subdev *subdev,
subdev           1184 drivers/media/i2c/ov7251.c 	struct ov7251 *ov7251 = to_ov7251(subdev);
subdev            416 drivers/media/i2c/ov772x.c 	struct v4l2_subdev                subdev;
subdev            552 drivers/media/i2c/ov772x.c 	return container_of(sd, struct ov772x_priv, subdev);
subdev            844 drivers/media/i2c/ov772x.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
subdev           1236 drivers/media/i2c/ov772x.c 	struct i2c_client  *client = v4l2_get_subdevdata(&priv->subdev);
subdev           1384 drivers/media/i2c/ov772x.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov772x_subdev_ops);
subdev           1385 drivers/media/i2c/ov772x.c 	priv->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
subdev           1397 drivers/media/i2c/ov772x.c 	priv->subdev.ctrl_handler = &priv->hdl;
subdev           1424 drivers/media/i2c/ov772x.c 	priv->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
subdev           1425 drivers/media/i2c/ov772x.c 	ret = media_entity_pads_init(&priv->subdev.entity, 1, &priv->pad);
subdev           1434 drivers/media/i2c/ov772x.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev           1441 drivers/media/i2c/ov772x.c 	media_entity_cleanup(&priv->subdev.entity);
subdev           1459 drivers/media/i2c/ov772x.c 	media_entity_cleanup(&priv->subdev.entity);
subdev           1463 drivers/media/i2c/ov772x.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev             85 drivers/media/i2c/ov7740.c 	struct v4l2_subdev subdev;
subdev            273 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            288 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            532 drivers/media/i2c/ov7740.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov7740->subdev);
subdev            611 drivers/media/i2c/ov7740.c 	return __v4l2_ctrl_handler_setup(ov7740->subdev.ctrl_handler);
subdev            616 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            763 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            809 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            854 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            894 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            906 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev            977 drivers/media/i2c/ov7740.c 	struct i2c_client *client = v4l2_get_subdevdata(&ov7740->subdev);
subdev           1043 drivers/media/i2c/ov7740.c 	ov7740->subdev.ctrl_handler = ctrl_hdlr;
subdev           1054 drivers/media/i2c/ov7740.c 	v4l2_ctrl_handler_free(ov7740->subdev.ctrl_handler);
subdev           1102 drivers/media/i2c/ov7740.c 	sd = &ov7740->subdev;
subdev           1153 drivers/media/i2c/ov7740.c 	v4l2_ctrl_handler_free(ov7740->subdev.ctrl_handler);
subdev           1160 drivers/media/i2c/ov7740.c 	media_entity_cleanup(&ov7740->subdev.entity);
subdev           1168 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev           1171 drivers/media/i2c/ov7740.c 	v4l2_ctrl_handler_free(ov7740->subdev.ctrl_handler);
subdev           1172 drivers/media/i2c/ov7740.c 	media_entity_cleanup(&ov7740->subdev.entity);
subdev           1189 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev           1200 drivers/media/i2c/ov7740.c 	struct ov7740 *ov7740 = container_of(sd, struct ov7740, subdev);
subdev             39 drivers/media/i2c/ov9640.c #define to_ov9640_sensor(sd)	container_of(sd, struct ov9640_priv, subdev)
subdev            276 drivers/media/i2c/ov9640.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
subdev            595 drivers/media/i2c/ov9640.c 	ret = ov9640_s_power(&priv->subdev, 1);
subdev            634 drivers/media/i2c/ov9640.c 	ov9640_s_power(&priv->subdev, 0);
subdev            706 drivers/media/i2c/ov9640.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov9640_subdev_ops);
subdev            719 drivers/media/i2c/ov9640.c 	priv->subdev.ctrl_handler = &priv->hdl;
subdev            731 drivers/media/i2c/ov9640.c 	priv->subdev.dev = &client->dev;
subdev            732 drivers/media/i2c/ov9640.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev            752 drivers/media/i2c/ov9640.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev            197 drivers/media/i2c/ov9640.h 	struct v4l2_subdev		subdev;
subdev            152 drivers/media/i2c/rj54n1cb0c.c 	struct v4l2_subdev subdev;
subdev            427 drivers/media/i2c/rj54n1cb0c.c 	return container_of(i2c_get_clientdata(client), struct rj54n1, subdev);
subdev           1192 drivers/media/i2c/rj54n1cb0c.c 	struct v4l2_subdev *sd = &rj54n1->subdev;
subdev           1270 drivers/media/i2c/rj54n1cb0c.c 	ret = rj54n1_s_power(&rj54n1->subdev, 1);
subdev           1296 drivers/media/i2c/rj54n1cb0c.c 	rj54n1_s_power(&rj54n1->subdev, 0);
subdev           1325 drivers/media/i2c/rj54n1cb0c.c 	v4l2_i2c_subdev_init(&rj54n1->subdev, client, &rj54n1_subdev_ops);
subdev           1335 drivers/media/i2c/rj54n1cb0c.c 	rj54n1->subdev.ctrl_handler = &rj54n1->hdl;
subdev           1379 drivers/media/i2c/rj54n1cb0c.c 	ret = v4l2_async_register_subdev(&rj54n1->subdev);
subdev           1412 drivers/media/i2c/rj54n1cb0c.c 	v4l2_async_unregister_subdev(&rj54n1->subdev);
subdev             59 drivers/media/i2c/s5k6a3.c 	struct v4l2_subdev subdev;
subdev             78 drivers/media/i2c/s5k6a3.c 	return container_of(sd, struct s5k6a3, subdev);
subdev            130 drivers/media/i2c/s5k6a3.c 		return cfg ? v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad) : NULL;
subdev            324 drivers/media/i2c/s5k6a3.c 	sd = &sensor->subdev;
subdev            326 drivers/media/i2c/s5k6a3.c 	sensor->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1201 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1202 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1351 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           1352 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1536 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_stream(struct v4l2_subdev *subdev, int enable)
subdev           1538 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1569 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_enum_mbus_code(struct v4l2_subdev *subdev,
subdev           1573 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1574 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1582 drivers/media/i2c/smiapp/smiapp-core.c 		subdev->name, code->pad, code->index);
subdev           1584 drivers/media/i2c/smiapp/smiapp-core.c 	if (subdev != &sensor->src->sd || code->pad != SMIAPP_PAD_SRC) {
subdev           1612 drivers/media/i2c/smiapp/smiapp-core.c static u32 __smiapp_get_mbus_code(struct v4l2_subdev *subdev,
subdev           1615 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1617 drivers/media/i2c/smiapp/smiapp-core.c 	if (subdev == &sensor->src->sd && pad == SMIAPP_PAD_SRC)
subdev           1623 drivers/media/i2c/smiapp/smiapp-core.c static int __smiapp_get_format(struct v4l2_subdev *subdev,
subdev           1627 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1630 drivers/media/i2c/smiapp/smiapp-core.c 		fmt->format = *v4l2_subdev_get_try_format(subdev, cfg,
subdev           1640 drivers/media/i2c/smiapp/smiapp-core.c 		fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad);
subdev           1649 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_get_format(struct v4l2_subdev *subdev,
subdev           1653 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1657 drivers/media/i2c/smiapp/smiapp-core.c 	rval = __smiapp_get_format(subdev, cfg, fmt);
subdev           1663 drivers/media/i2c/smiapp/smiapp-core.c static void smiapp_get_crop_compose(struct v4l2_subdev *subdev,
subdev           1668 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1673 drivers/media/i2c/smiapp/smiapp-core.c 			for (i = 0; i < subdev->entity.num_pads; i++)
subdev           1679 drivers/media/i2c/smiapp/smiapp-core.c 			for (i = 0; i < subdev->entity.num_pads; i++) {
subdev           1680 drivers/media/i2c/smiapp/smiapp-core.c 				crops[i] = v4l2_subdev_get_try_crop(subdev, cfg, i);
subdev           1685 drivers/media/i2c/smiapp/smiapp-core.c 			*comps = v4l2_subdev_get_try_compose(subdev, cfg,
subdev           1693 drivers/media/i2c/smiapp/smiapp-core.c static void smiapp_propagate(struct v4l2_subdev *subdev,
subdev           1697 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1698 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1701 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_get_crop_compose(subdev, cfg, crops, &comp, which);
subdev           1742 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_format_source(struct v4l2_subdev *subdev,
subdev           1746 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1754 drivers/media/i2c/smiapp/smiapp-core.c 	rval = __smiapp_get_format(subdev, cfg, fmt);
subdev           1762 drivers/media/i2c/smiapp/smiapp-core.c 	if (subdev != &sensor->src->sd)
subdev           1795 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_format(struct v4l2_subdev *subdev,
subdev           1799 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1800 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           1808 drivers/media/i2c/smiapp/smiapp-core.c 		rval = smiapp_set_format_source(subdev, cfg, fmt);
subdev           1816 drivers/media/i2c/smiapp/smiapp-core.c 	fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad);
subdev           1830 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_get_crop_compose(subdev, cfg, crops, NULL, fmt->which);
subdev           1838 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_propagate(subdev, cfg, fmt->which,
subdev           1852 drivers/media/i2c/smiapp/smiapp-core.c static int scaling_goodness(struct v4l2_subdev *subdev, int w, int ask_w,
subdev           1855 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1856 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1890 drivers/media/i2c/smiapp/smiapp-core.c static void smiapp_set_compose_binner(struct v4l2_subdev *subdev,
subdev           1896 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1900 drivers/media/i2c/smiapp/smiapp-core.c 		subdev,
subdev           1906 drivers/media/i2c/smiapp/smiapp-core.c 			subdev,
subdev           1938 drivers/media/i2c/smiapp/smiapp-core.c static void smiapp_set_compose_scaler(struct v4l2_subdev *subdev,
subdev           1944 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           1945 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           1996 drivers/media/i2c/smiapp/smiapp-core.c 			subdev,
subdev           2018 drivers/media/i2c/smiapp/smiapp-core.c 			subdev, crops[SMIAPP_PAD_SINK]->width
subdev           2054 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_compose(struct v4l2_subdev *subdev,
subdev           2058 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2059 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           2062 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_get_crop_compose(subdev, cfg, crops, &comp, sel->which);
subdev           2068 drivers/media/i2c/smiapp/smiapp-core.c 		smiapp_set_compose_binner(subdev, cfg, sel, crops, comp);
subdev           2070 drivers/media/i2c/smiapp/smiapp-core.c 		smiapp_set_compose_scaler(subdev, cfg, sel, crops, comp);
subdev           2073 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_propagate(subdev, cfg, sel->which, V4L2_SEL_TGT_COMPOSE);
subdev           2081 drivers/media/i2c/smiapp/smiapp-core.c static int __smiapp_sel_supported(struct v4l2_subdev *subdev,
subdev           2084 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2085 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           2124 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_crop(struct v4l2_subdev *subdev,
subdev           2128 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2129 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           2133 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_get_crop_compose(subdev, cfg, crops, NULL, sel->which);
subdev           2144 drivers/media/i2c/smiapp/smiapp-core.c 			_r.width = v4l2_subdev_get_try_format(subdev, cfg, sel->pad)
subdev           2146 drivers/media/i2c/smiapp/smiapp-core.c 			_r.height = v4l2_subdev_get_try_format(subdev, cfg, sel->pad)
subdev           2151 drivers/media/i2c/smiapp/smiapp-core.c 				subdev, cfg, ssd->sink_pad);
subdev           2169 drivers/media/i2c/smiapp/smiapp-core.c 		smiapp_propagate(subdev, cfg, sel->which,
subdev           2184 drivers/media/i2c/smiapp/smiapp-core.c static int __smiapp_get_selection(struct v4l2_subdev *subdev,
subdev           2188 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2189 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_subdev *ssd = to_smiapp_subdev(subdev);
subdev           2194 drivers/media/i2c/smiapp/smiapp-core.c 	ret = __smiapp_sel_supported(subdev, sel);
subdev           2198 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_get_crop_compose(subdev, cfg, crops, &comp, sel->which);
subdev           2204 drivers/media/i2c/smiapp/smiapp-core.c 			v4l2_subdev_get_try_format(subdev, cfg, ssd->sink_pad);
subdev           2234 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_get_selection(struct v4l2_subdev *subdev,
subdev           2238 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2242 drivers/media/i2c/smiapp/smiapp-core.c 	rval = __smiapp_get_selection(subdev, cfg, sel);
subdev           2247 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_set_selection(struct v4l2_subdev *subdev,
subdev           2251 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2254 drivers/media/i2c/smiapp/smiapp-core.c 	ret = __smiapp_sel_supported(subdev, sel);
subdev           2274 drivers/media/i2c/smiapp/smiapp-core.c 		ret = smiapp_set_crop(subdev, cfg, sel);
subdev           2277 drivers/media/i2c/smiapp/smiapp-core.c 		ret = smiapp_set_compose(subdev, cfg, sel);
subdev           2287 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_get_skip_frames(struct v4l2_subdev *subdev, u32 *frames)
subdev           2289 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2295 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_get_skip_top_lines(struct v4l2_subdev *subdev, u32 *lines)
subdev           2297 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2312 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(to_i2c_client(dev));
subdev           2313 drivers/media/i2c/smiapp/smiapp-core.c 	struct i2c_client *client = v4l2_get_subdevdata(subdev);
subdev           2314 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2357 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(to_i2c_client(dev));
subdev           2358 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2544 drivers/media/i2c/smiapp/smiapp-core.c static void smiapp_unregistered(struct v4l2_subdev *subdev)
subdev           2546 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2553 drivers/media/i2c/smiapp/smiapp-core.c static int smiapp_registered(struct v4l2_subdev *subdev)
subdev           2555 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2577 drivers/media/i2c/smiapp/smiapp-core.c 	smiapp_unregistered(subdev);
subdev           2712 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           2713 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           2737 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           2738 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           3135 drivers/media/i2c/smiapp/smiapp-core.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev           3136 drivers/media/i2c/smiapp/smiapp-core.c 	struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
subdev           3139 drivers/media/i2c/smiapp/smiapp-core.c 	v4l2_async_unregister_subdev(subdev);
subdev            348 drivers/media/i2c/st-mipid02.c 						    struct v4l2_subdev *subdev)
subdev            354 drivers/media/i2c/st-mipid02.c 	ctrl = v4l2_ctrl_find(subdev->ctrl_handler, V4L2_CID_LINK_FREQ);
subdev            359 drivers/media/i2c/st-mipid02.c 	ret = v4l2_querymenu(subdev->ctrl_handler, &qm);
subdev            367 drivers/media/i2c/st-mipid02.c 						     struct v4l2_subdev *subdev)
subdev            374 drivers/media/i2c/st-mipid02.c 	ctrl = v4l2_ctrl_find(subdev->ctrl_handler, V4L2_CID_PIXEL_RATE);
subdev            390 drivers/media/i2c/st-mipid02.c 	struct v4l2_subdev *subdev = bridge->s_subdev;
subdev            393 drivers/media/i2c/st-mipid02.c 	link_freq = mipid02_get_link_freq_from_cid_link_freq(bridge, subdev);
subdev            396 drivers/media/i2c/st-mipid02.c 								      subdev);
subdev            229 drivers/media/i2c/tw9910.c 	struct v4l2_subdev		subdev;
subdev            335 drivers/media/i2c/tw9910.c 			    subdev);
subdev            597 drivers/media/i2c/tw9910.c 	struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev);
subdev            849 drivers/media/i2c/tw9910.c 	ret = tw9910_s_power(&priv->subdev, 1);
subdev            875 drivers/media/i2c/tw9910.c 	tw9910_s_power(&priv->subdev, 0);
subdev            959 drivers/media/i2c/tw9910.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &tw9910_subdev_ops);
subdev            981 drivers/media/i2c/tw9910.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev           1003 drivers/media/i2c/tw9910.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev            607 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	v4l2_event_queue(q->subdev.devnode, &event);
subdev           1245 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct cio2_queue *q = container_of(sd, struct cio2_queue, subdev);
subdev           1284 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct cio2_queue *q = container_of(sd, struct cio2_queue, subdev);
subdev           1459 drivers/media/pci/intel/ipu3/ipu3-cio2.c 				&q->subdev.entity, CIO2_PAD_SINK,
subdev           1555 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	struct v4l2_subdev *subdev = &q->subdev;
subdev           1589 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	subdev->entity.ops = &cio2_media_ops;
subdev           1590 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	subdev->internal_ops = &cio2_subdev_internal_ops;
subdev           1591 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	r = media_entity_pads_init(&subdev->entity, CIO2_PADS, q->subdev_pads);
subdev           1608 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	v4l2_subdev_init(subdev, &cio2_subdev_ops);
subdev           1609 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	subdev->flags = V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS;
subdev           1610 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	subdev->owner = THIS_MODULE;
subdev           1611 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	snprintf(subdev->name, sizeof(subdev->name),
subdev           1613 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
subdev           1614 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	v4l2_set_subdevdata(subdev, cio2);
subdev           1615 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	r = v4l2_device_register_subdev(&cio2->v4l2_dev, subdev);
subdev           1659 drivers/media/pci/intel/ipu3/ipu3-cio2.c 		&subdev->entity, CIO2_PAD_SOURCE, &vdev->entity, 0,
subdev           1671 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	v4l2_device_unregister_subdev(subdev);
subdev           1675 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	media_entity_cleanup(&subdev->entity);
subdev           1689 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	v4l2_device_unregister_subdev(&q->subdev);
subdev           1690 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	media_entity_cleanup(&q->subdev.entity);
subdev            334 drivers/media/pci/intel/ipu3/ipu3-cio2.h 	struct v4l2_subdev subdev;
subdev           1708 drivers/media/platform/am437x/am437x-vpfe.c 	int subdev, index;
subdev           1712 drivers/media/platform/am437x/am437x-vpfe.c 	if (vpfe_get_subdev_input_index(vpfe, &subdev, &index,
subdev           1718 drivers/media/platform/am437x/am437x-vpfe.c 	sdinfo = &vpfe->cfg->sub_devs[subdev];
subdev           2279 drivers/media/platform/am437x/am437x-vpfe.c 		 struct v4l2_subdev *subdev,
subdev           2295 drivers/media/platform/am437x/am437x-vpfe.c 			vpfe->sd[i] = subdev;
subdev           2303 drivers/media/platform/am437x/am437x-vpfe.c 		vpfe_info(vpfe, "sub device (%s) not matched\n", subdev->name);
subdev           2317 drivers/media/platform/am437x/am437x-vpfe.c 		ret = v4l2_subdev_call(subdev, pad, enum_mbus_code,
subdev            729 drivers/media/platform/atmel/atmel-isc-base.c 	struct isc_subdev_entity *subdev = isc->current_subdev;
subdev            738 drivers/media/platform/atmel/atmel-isc-base.c 	pfe_cfg0  |= subdev->pfe_cfg0 | ISC_PFE_CFG0_MODE_PROGRESSIVE;
subdev           1900 drivers/media/platform/atmel/atmel-isc-base.c 			    struct v4l2_subdev *subdev,
subdev           1913 drivers/media/platform/atmel/atmel-isc-base.c 	subdev_entity->sd = subdev;
subdev           1919 drivers/media/platform/atmel/atmel-isc-base.c 			      struct v4l2_subdev *subdev,
subdev           1949 drivers/media/platform/atmel/atmel-isc-base.c 	struct v4l2_subdev *subdev = isc->current_subdev->sd;
subdev           1957 drivers/media/platform/atmel/atmel-isc-base.c 	while (!v4l2_subdev_call(subdev, pad, enum_mbus_code,
subdev             74 drivers/media/platform/atmel/atmel-isi.c 	struct v4l2_subdev *subdev;
subdev            428 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 1);
subdev            456 drivers/media/platform/atmel/atmel-isi.c 	v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0);
subdev            482 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0);
subdev            579 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, pad, set_fmt,
subdev            610 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, pad,
subdev            689 drivers/media/platform/atmel/atmel-isi.c 	return v4l2_g_parm_cap(video_devdata(file), isi->entity.subdev, a);
subdev            696 drivers/media/platform/atmel/atmel-isi.c 	return v4l2_s_parm_cap(video_devdata(file), isi->entity.subdev, a);
subdev            716 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, pad, enum_frame_size,
subdev            747 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, pad,
subdev            840 drivers/media/platform/atmel/atmel-isi.c 	struct v4l2_subdev *sd = isi->entity.subdev;
subdev            871 drivers/media/platform/atmel/atmel-isi.c 	struct v4l2_subdev *sd = isi->entity.subdev;
subdev           1000 drivers/media/platform/atmel/atmel-isi.c 	struct v4l2_subdev *subdev = isi->entity.subdev;
subdev           1005 drivers/media/platform/atmel/atmel-isi.c 	while (!v4l2_subdev_call(subdev, pad, enum_mbus_code,
subdev           1045 drivers/media/platform/atmel/atmel-isi.c 	isi->vdev->ctrl_handler = isi->entity.subdev->ctrl_handler;
subdev           1083 drivers/media/platform/atmel/atmel-isi.c 				   struct v4l2_subdev *subdev,
subdev           1088 drivers/media/platform/atmel/atmel-isi.c 	dev_dbg(isi->dev, "subdev %s bound\n", subdev->name);
subdev           1090 drivers/media/platform/atmel/atmel-isi.c 	isi->entity.subdev = subdev;
subdev             79 drivers/media/platform/cadence/cdns-csi2rx.c 	struct v4l2_subdev		subdev;
subdev             90 drivers/media/platform/cadence/cdns-csi2rx.c struct csi2rx_priv *v4l2_subdev_to_csi2rx(struct v4l2_subdev *subdev)
subdev             92 drivers/media/platform/cadence/cdns-csi2rx.c 	return container_of(subdev, struct csi2rx_priv, subdev);
subdev            206 drivers/media/platform/cadence/cdns-csi2rx.c static int csi2rx_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            208 drivers/media/platform/cadence/cdns-csi2rx.c 	struct csi2rx_priv *csi2rx = v4l2_subdev_to_csi2rx(subdev);
subdev            252 drivers/media/platform/cadence/cdns-csi2rx.c 	struct v4l2_subdev *subdev = notifier->sd;
subdev            253 drivers/media/platform/cadence/cdns-csi2rx.c 	struct csi2rx_priv *csi2rx = v4l2_subdev_to_csi2rx(subdev);
subdev            271 drivers/media/platform/cadence/cdns-csi2rx.c 				     &csi2rx->subdev.entity, 0,
subdev            412 drivers/media/platform/cadence/cdns-csi2rx.c 	ret = v4l2_async_subdev_notifier_register(&csi2rx->subdev,
subdev            441 drivers/media/platform/cadence/cdns-csi2rx.c 	csi2rx->subdev.owner = THIS_MODULE;
subdev            442 drivers/media/platform/cadence/cdns-csi2rx.c 	csi2rx->subdev.dev = &pdev->dev;
subdev            443 drivers/media/platform/cadence/cdns-csi2rx.c 	v4l2_subdev_init(&csi2rx->subdev, &csi2rx_subdev_ops);
subdev            444 drivers/media/platform/cadence/cdns-csi2rx.c 	v4l2_set_subdevdata(&csi2rx->subdev, &pdev->dev);
subdev            445 drivers/media/platform/cadence/cdns-csi2rx.c 	snprintf(csi2rx->subdev.name, V4L2_SUBDEV_NAME_SIZE, "%s.%s",
subdev            449 drivers/media/platform/cadence/cdns-csi2rx.c 	csi2rx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
subdev            454 drivers/media/platform/cadence/cdns-csi2rx.c 	ret = media_entity_pads_init(&csi2rx->subdev.entity, CSI2RX_PAD_MAX,
subdev            459 drivers/media/platform/cadence/cdns-csi2rx.c 	ret = v4l2_async_register_subdev(&csi2rx->subdev);
subdev            481 drivers/media/platform/cadence/cdns-csi2rx.c 	v4l2_async_unregister_subdev(&csi2rx->subdev);
subdev            109 drivers/media/platform/cadence/cdns-csi2tx.c 	struct v4l2_subdev		subdev;
subdev            142 drivers/media/platform/cadence/cdns-csi2tx.c struct csi2tx_priv *v4l2_subdev_to_csi2tx(struct v4l2_subdev *subdev)
subdev            144 drivers/media/platform/cadence/cdns-csi2tx.c 	return container_of(subdev, struct csi2tx_priv, subdev);
subdev            158 drivers/media/platform/cadence/cdns-csi2tx.c static int csi2tx_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            171 drivers/media/platform/cadence/cdns-csi2tx.c __csi2tx_get_pad_format(struct v4l2_subdev *subdev,
subdev            175 drivers/media/platform/cadence/cdns-csi2tx.c 	struct csi2tx_priv *csi2tx = v4l2_subdev_to_csi2tx(subdev);
subdev            178 drivers/media/platform/cadence/cdns-csi2tx.c 		return v4l2_subdev_get_try_format(subdev, cfg,
subdev            184 drivers/media/platform/cadence/cdns-csi2tx.c static int csi2tx_get_pad_format(struct v4l2_subdev *subdev,
subdev            194 drivers/media/platform/cadence/cdns-csi2tx.c 	format = __csi2tx_get_pad_format(subdev, cfg, fmt);
subdev            203 drivers/media/platform/cadence/cdns-csi2tx.c static int csi2tx_set_pad_format(struct v4l2_subdev *subdev,
subdev            217 drivers/media/platform/cadence/cdns-csi2tx.c 	dst_format = __csi2tx_get_pad_format(subdev, cfg, fmt);
subdev            303 drivers/media/platform/cadence/cdns-csi2tx.c 	struct media_entity *entity = &csi2tx->subdev.entity;
subdev            390 drivers/media/platform/cadence/cdns-csi2tx.c static int csi2tx_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            392 drivers/media/platform/cadence/cdns-csi2tx.c 	struct csi2tx_priv *csi2tx = v4l2_subdev_to_csi2tx(subdev);
subdev            586 drivers/media/platform/cadence/cdns-csi2tx.c 	v4l2_subdev_init(&csi2tx->subdev, &csi2tx_subdev_ops);
subdev            587 drivers/media/platform/cadence/cdns-csi2tx.c 	csi2tx->subdev.owner = THIS_MODULE;
subdev            588 drivers/media/platform/cadence/cdns-csi2tx.c 	csi2tx->subdev.dev = &pdev->dev;
subdev            589 drivers/media/platform/cadence/cdns-csi2tx.c 	csi2tx->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            590 drivers/media/platform/cadence/cdns-csi2tx.c 	snprintf(csi2tx->subdev.name, V4L2_SUBDEV_NAME_SIZE, "%s.%s",
subdev            598 drivers/media/platform/cadence/cdns-csi2tx.c 	csi2tx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
subdev            612 drivers/media/platform/cadence/cdns-csi2tx.c 	ret = media_entity_pads_init(&csi2tx->subdev.entity, CSI2TX_PAD_MAX,
subdev            617 drivers/media/platform/cadence/cdns-csi2tx.c 	ret = v4l2_async_register_subdev(&csi2tx->subdev);
subdev            637 drivers/media/platform/cadence/cdns-csi2tx.c 	v4l2_async_unregister_subdev(&csi2tx->subdev);
subdev            991 drivers/media/platform/davinci/vpfe_capture.c 	int subdev, index ;
subdev            996 drivers/media/platform/davinci/vpfe_capture.c 					&subdev,
subdev           1002 drivers/media/platform/davinci/vpfe_capture.c 	sdinfo = &vpfe_dev->cfg->sub_devs[subdev];
subdev           1378 drivers/media/platform/davinci/vpif_capture.c 			    struct v4l2_subdev *subdev,
subdev           1387 drivers/media/platform/davinci/vpif_capture.c 		if (fwnode == subdev->fwnode) {
subdev           1388 drivers/media/platform/davinci/vpif_capture.c 			vpif_obj.sd[i] = subdev;
subdev           1390 drivers/media/platform/davinci/vpif_capture.c 				(char *)to_of_node(subdev->fwnode)->full_name;
subdev           1401 drivers/media/platform/davinci/vpif_capture.c 			    subdev->name)) {
subdev           1402 drivers/media/platform/davinci/vpif_capture.c 			vpif_obj.sd[i] = subdev;
subdev           1121 drivers/media/platform/davinci/vpif_display.c 			    struct v4l2_subdev *subdev,
subdev           1128 drivers/media/platform/davinci/vpif_display.c 			    subdev->name)) {
subdev           1129 drivers/media/platform/davinci/vpif_display.c 			vpif_obj.sd[i] = subdev;
subdev            806 drivers/media/platform/exynos4-is/fimc-capture.c 		while (me != &fimc->vid_cap.subdev.entity) {
subdev           1110 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_subdev *sd = &vc->subdev;
subdev           1138 drivers/media/platform/exynos4-is/fimc-capture.c 		if (sd == &vc->subdev) {
subdev           1415 drivers/media/platform/exynos4-is/fimc-capture.c 	sensor = fimc_find_remote_sensor(&vc->subdev.entity);
subdev           1885 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_subdev *sd = &fimc->vid_cap.subdev;
subdev           1908 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_subdev *sd = &fimc->vid_cap.subdev;
subdev            307 drivers/media/platform/exynos4-is/fimc-core.h 	struct v4l2_subdev		subdev;
subdev            448 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct v4l2_subdev *sd = &isp->subdev;
subdev            175 drivers/media/platform/exynos4-is/fimc-isp.c 			format = v4l2_subdev_get_try_format(&isp->subdev, cfg,
subdev            654 drivers/media/platform/exynos4-is/fimc-isp.c 		v4l2_err(&isp->subdev, "Failed to set control: %s (%d)\n",
subdev            689 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_subdev *sd = &isp->subdev;
subdev            775 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_subdev *sd = &isp->subdev;
subdev            160 drivers/media/platform/exynos4-is/fimc-isp.h 	struct v4l2_subdev		subdev;
subdev            339 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	v4l2_info(&dev->subdev, "--- %s ---\n", label);
subdev            343 drivers/media/platform/exynos4-is/fimc-lite-reg.c 		v4l2_info(&dev->subdev, "%9s: 0x%08x\n",
subdev            575 drivers/media/platform/exynos4-is/fimc-lite.c 			sink_fmt = v4l2_subdev_get_try_format(&fimc->subdev, cfg,
subdev            581 drivers/media/platform/exynos4-is/fimc-lite.c 			rect = v4l2_subdev_get_try_crop(&fimc->subdev, cfg,
subdev            596 drivers/media/platform/exynos4-is/fimc-lite.c 	v4l2_dbg(1, debug, &fimc->subdev, "code: %#x (%d), %dx%d\n",
subdev            614 drivers/media/platform/exynos4-is/fimc-lite.c 	v4l2_dbg(1, debug, &fimc->subdev, "(%d,%d)/%dx%d, sink fmt: %dx%d\n",
subdev            634 drivers/media/platform/exynos4-is/fimc-lite.c 	v4l2_dbg(1, debug, &fimc->subdev, "(%d,%d)/%dx%d, source fmt: %dx%d\n",
subdev            767 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_subdev *sd = &fimc->subdev;
subdev            778 drivers/media/platform/exynos4-is/fimc-lite.c 		if (sd == &fimc->subdev) {
subdev            829 drivers/media/platform/exynos4-is/fimc-lite.c 	fimc->sensor = fimc_find_remote_sensor(&fimc->subdev.entity);
subdev           1397 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_subdev *sd = &fimc->subdev;
subdev           1432 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_subdev *sd = &fimc->subdev;
subdev            147 drivers/media/platform/exynos4-is/fimc-lite.h 	struct v4l2_subdev	subdev;
subdev            564 drivers/media/platform/exynos4-is/media-dev.c 	sd = &fimc_lite->subdev;
subdev            591 drivers/media/platform/exynos4-is/media-dev.c 	sd = &fimc->vid_cap.subdev;
subdev            640 drivers/media/platform/exynos4-is/media-dev.c 	struct v4l2_subdev *sd = &is->isp.subdev;
subdev            756 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_device_unregister_subdev(&dev->vid_cap.subdev);
subdev            764 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_device_unregister_subdev(&dev->subdev);
subdev            776 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_device_unregister_subdev(&fmd->fimc_is->isp.subdev);
subdev            818 drivers/media/platform/exynos4-is/media-dev.c 		sink = &fmd->fimc[i]->vid_cap.subdev.entity;
subdev            838 drivers/media/platform/exynos4-is/media-dev.c 		sink = &fmd->fimc_lite[i]->subdev.entity;
subdev            868 drivers/media/platform/exynos4-is/media-dev.c 		source = &fimc->subdev.entity;
subdev            876 drivers/media/platform/exynos4-is/media-dev.c 		sink = &fmd->fimc_is->isp.subdev.entity;
subdev            893 drivers/media/platform/exynos4-is/media-dev.c 	source = &isp->subdev.entity;
subdev            900 drivers/media/platform/exynos4-is/media-dev.c 		sink = &fmd->fimc[i]->vid_cap.subdev.entity;
subdev            941 drivers/media/platform/exynos4-is/media-dev.c 		if (fmd->sensor[i].subdev == NULL)
subdev            944 drivers/media/platform/exynos4-is/media-dev.c 		sensor = fmd->sensor[i].subdev;
subdev           1014 drivers/media/platform/exynos4-is/media-dev.c 		source = &fmd->fimc[i]->vid_cap.subdev.entity;
subdev           1369 drivers/media/platform/exynos4-is/media-dev.c 				 struct v4l2_subdev *subdev,
subdev           1379 drivers/media/platform/exynos4-is/media-dev.c 		    of_fwnode_handle(subdev->dev->of_node))
subdev           1385 drivers/media/platform/exynos4-is/media-dev.c 	v4l2_set_subdev_hostdata(subdev, &si->pdata);
subdev           1388 drivers/media/platform/exynos4-is/media-dev.c 		subdev->grp_id = GRP_ID_FIMC_IS_SENSOR;
subdev           1390 drivers/media/platform/exynos4-is/media-dev.c 		subdev->grp_id = GRP_ID_SENSOR;
subdev           1392 drivers/media/platform/exynos4-is/media-dev.c 	si->subdev = subdev;
subdev           1395 drivers/media/platform/exynos4-is/media-dev.c 		  subdev->name, fmd->num_sensors);
subdev             89 drivers/media/platform/exynos4-is/media-dev.h 	struct v4l2_subdev *subdev;
subdev           1773 drivers/media/platform/marvell-ccic/mcam-core.c 	struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd)
subdev           1785 drivers/media/platform/marvell-ccic/mcam-core.c 	v4l2_set_subdev_hostdata(subdev, cam);
subdev           1786 drivers/media/platform/marvell-ccic/mcam-core.c 	cam->sensor = subdev;
subdev           1811 drivers/media/platform/marvell-ccic/mcam-core.c 	cam_dbg(cam, "sensor %s bound\n", subdev->name);
subdev           1818 drivers/media/platform/marvell-ccic/mcam-core.c 	struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd)
subdev           1823 drivers/media/platform/marvell-ccic/mcam-core.c 	if (cam->sensor != subdev) {
subdev           1824 drivers/media/platform/marvell-ccic/mcam-core.c 		cam_err(cam, "sensor %s not bound\n", subdev->name);
subdev           1830 drivers/media/platform/marvell-ccic/mcam-core.c 	cam_dbg(cam, "sensor %s unbound\n", subdev->name);
subdev            546 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity);
subdev            552 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity);
subdev            558 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity);
subdev            564 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity);
subdev            573 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_res.subdev.entity);
subdev            678 drivers/media/platform/omap3isp/isp.c 	struct v4l2_subdev *subdev;
subdev            707 drivers/media/platform/omap3isp/isp.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            709 drivers/media/platform/omap3isp/isp.c 		ret = v4l2_subdev_call(subdev, video, s_stream, mode);
subdev            713 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_ccdc.subdev) {
subdev            714 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_aewb.subdev, video,
subdev            716 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_af.subdev, video,
subdev            718 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_hist.subdev, video,
subdev            724 drivers/media/platform/omap3isp/isp.c 		if (subdev->dev != isp->dev)
subdev            781 drivers/media/platform/omap3isp/isp.c 	struct v4l2_subdev *subdev;
subdev            800 drivers/media/platform/omap3isp/isp.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            802 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_ccdc.subdev) {
subdev            803 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_aewb.subdev,
subdev            805 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_af.subdev,
subdev            807 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_hist.subdev,
subdev            811 drivers/media/platform/omap3isp/isp.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 0);
subdev            813 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_res.subdev)
subdev            815 drivers/media/platform/omap3isp/isp.c 		else if (subdev == &isp->isp_prev.subdev)
subdev            817 drivers/media/platform/omap3isp/isp.c 		else if (subdev == &isp->isp_ccdc.subdev)
subdev            833 drivers/media/platform/omap3isp/isp.c 			dev_info(isp->dev, "Unable to stop %s\n", subdev->name);
subdev            835 drivers/media/platform/omap3isp/isp.c 			if (subdev == &isp->isp_prev.subdev)
subdev            837 drivers/media/platform/omap3isp/isp.c 						      &subdev->entity);
subdev            842 drivers/media/platform/omap3isp/isp.c 		if (subdev->dev != isp->dev)
subdev            986 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_res.subdev.entity);
subdev            987 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_prev.subdev.entity);
subdev            988 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_ccdc.subdev.entity);
subdev            989 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_csi2a.subdev.entity);
subdev            990 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_ccp2.subdev.entity);
subdev           1018 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_res.subdev.entity);
subdev           1019 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_prev.subdev.entity);
subdev           1020 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_ccdc.subdev.entity);
subdev           1021 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_csi2a.subdev.entity);
subdev           1022 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_ccp2.subdev.entity);
subdev           1626 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_ccdc.subdev.entity;
subdev           1632 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_csi2a.subdev.entity;
subdev           1639 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_ccp2.subdev.entity;
subdev           1645 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_csi2c.subdev.entity;
subdev           1756 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.subdev.entity, CSI2_PAD_SOURCE,
subdev           1763 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.subdev.entity, CCP2_PAD_SINK, 0);
subdev           1768 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_OF,
subdev           1775 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SINK, 0);
subdev           1780 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SOURCE,
subdev           1787 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
subdev           1792 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SOURCE,
subdev           1800 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.subdev.entity, CSI2_PAD_SOURCE,
subdev           1801 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SINK, 0);
subdev           1806 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.subdev.entity, CCP2_PAD_SOURCE,
subdev           1807 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SINK, 0);
subdev           1812 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
subdev           1813 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SINK, 0);
subdev           1818 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_OF,
subdev           1819 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
subdev           1824 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SOURCE,
subdev           1825 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
subdev           1830 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
subdev           1831 drivers/media/platform/omap3isp/isp.c 			&isp->isp_aewb.subdev.entity, 0,
subdev           1837 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
subdev           1838 drivers/media/platform/omap3isp/isp.c 			&isp->isp_af.subdev.entity, 0,
subdev           1844 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
subdev           1845 drivers/media/platform/omap3isp/isp.c 			&isp->isp_hist.subdev.entity, 0,
subdev            349 drivers/media/platform/omap3isp/isp.h isp_pad_buffer_type(const struct v4l2_subdev *subdev, int pad)
subdev            351 drivers/media/platform/omap3isp/isp.h 	if (pad >= subdev->entity.num_pads)
subdev            354 drivers/media/platform/omap3isp/isp.h 	if (subdev->entity.pads[pad].flags & MEDIA_PAD_FL_SINK)
subdev            805 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
subdev            938 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
subdev           1140 drivers/media/platform/omap3isp/ispccdc.c 			to_isp_pipeline(&ccdc->subdev.entity)->external;
subdev           1458 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
subdev           1459 drivers/media/platform/omap3isp/ispccdc.c 	struct video_device *vdev = ccdc->subdev.devnode;
subdev           1483 drivers/media/platform/omap3isp/ispccdc.c 			to_isp_pipeline(&ccdc->subdev.entity);
subdev           1536 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
subdev           1580 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccdc->subdev.entity);
subdev           1605 drivers/media/platform/omap3isp/ispccdc.c 		media_entity_enum_set(&isp->crashed, &ccdc->subdev.entity);
subdev           1643 drivers/media/platform/omap3isp/ispccdc.c 			to_isp_pipeline(&ccdc->subdev.entity);
subdev           1936 drivers/media/platform/omap3isp/ispccdc.c 		return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad);
subdev           1946 drivers/media/platform/omap3isp/ispccdc.c 		return v4l2_subdev_get_try_crop(&ccdc->subdev, cfg, CCDC_PAD_SOURCE_OF);
subdev           2529 drivers/media/platform/omap3isp/ispccdc.c 		if (remote->entity == &isp->isp_ccp2.subdev.entity)
subdev           2531 drivers/media/platform/omap3isp/ispccdc.c 		else if (remote->entity == &isp->isp_csi2a.subdev.entity)
subdev           2533 drivers/media/platform/omap3isp/ispccdc.c 		else if (remote->entity == &isp->isp_csi2c.subdev.entity)
subdev           2595 drivers/media/platform/omap3isp/ispccdc.c 	v4l2_device_unregister_subdev(&ccdc->subdev);
subdev           2605 drivers/media/platform/omap3isp/ispccdc.c 	ccdc->subdev.dev = vdev->mdev->dev;
subdev           2606 drivers/media/platform/omap3isp/ispccdc.c 	ret = v4l2_device_register_subdev(vdev, &ccdc->subdev);
subdev           2633 drivers/media/platform/omap3isp/ispccdc.c 	struct v4l2_subdev *sd = &ccdc->subdev;
subdev           2724 drivers/media/platform/omap3isp/ispccdc.c 	media_entity_cleanup(&ccdc->subdev.entity);
subdev            128 drivers/media/platform/omap3isp/ispccdc.h 	struct v4l2_subdev subdev;
subdev            350 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
subdev            386 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
subdev            538 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
subdev            562 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
subdev            625 drivers/media/platform/omap3isp/ispccp2.c 		return v4l2_subdev_get_try_format(&ccp2->subdev, cfg, pad);
subdev           1017 drivers/media/platform/omap3isp/ispccp2.c 	v4l2_device_unregister_subdev(&ccp2->subdev);
subdev           1034 drivers/media/platform/omap3isp/ispccp2.c 	ccp2->subdev.dev = vdev->mdev->dev;
subdev           1035 drivers/media/platform/omap3isp/ispccp2.c 	ret = v4l2_device_register_subdev(vdev, &ccp2->subdev);
subdev           1061 drivers/media/platform/omap3isp/ispccp2.c 	struct v4l2_subdev *sd = &ccp2->subdev;
subdev           1112 drivers/media/platform/omap3isp/ispccp2.c 	media_entity_cleanup(&ccp2->subdev.entity);
subdev           1173 drivers/media/platform/omap3isp/ispccp2.c 	media_entity_cleanup(&ccp2->subdev.entity);
subdev             61 drivers/media/platform/omap3isp/ispccp2.h 	struct v4l2_subdev subdev;
subdev            548 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity);
subdev            737 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity);
subdev            834 drivers/media/platform/omap3isp/ispcsi2.c 		return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad);
subdev           1191 drivers/media/platform/omap3isp/ispcsi2.c 	v4l2_device_unregister_subdev(&csi2->subdev);
subdev           1201 drivers/media/platform/omap3isp/ispcsi2.c 	csi2->subdev.dev = vdev->mdev->dev;
subdev           1202 drivers/media/platform/omap3isp/ispcsi2.c 	ret = v4l2_device_register_subdev(vdev, &csi2->subdev);
subdev           1228 drivers/media/platform/omap3isp/ispcsi2.c 	struct v4l2_subdev *sd = &csi2->subdev;
subdev           1268 drivers/media/platform/omap3isp/ispcsi2.c 	media_entity_cleanup(&csi2->subdev.entity);
subdev           1314 drivers/media/platform/omap3isp/ispcsi2.c 	media_entity_cleanup(&csi2a->subdev.entity);
subdev            119 drivers/media/platform/omap3isp/ispcsi2.h 	struct v4l2_subdev subdev;
subdev           1164 drivers/media/platform/omap3isp/isppreview.c 	struct isp_pipeline *pipe = to_isp_pipeline(&prev->subdev.entity);
subdev           1476 drivers/media/platform/omap3isp/isppreview.c 	struct isp_pipeline *pipe = to_isp_pipeline(&prev->subdev.entity);
subdev           1686 drivers/media/platform/omap3isp/isppreview.c 		return v4l2_subdev_get_try_format(&prev->subdev, cfg, pad);
subdev           1696 drivers/media/platform/omap3isp/isppreview.c 		return v4l2_subdev_get_try_crop(&prev->subdev, cfg, PREV_PAD_SINK);
subdev           2217 drivers/media/platform/omap3isp/isppreview.c 	v4l2_device_unregister_subdev(&prev->subdev);
subdev           2228 drivers/media/platform/omap3isp/isppreview.c 	prev->subdev.dev = vdev->mdev->dev;
subdev           2229 drivers/media/platform/omap3isp/isppreview.c 	ret = v4l2_device_register_subdev(vdev, &prev->subdev);
subdev           2259 drivers/media/platform/omap3isp/isppreview.c 	struct v4l2_subdev *sd = &prev->subdev;
subdev           2322 drivers/media/platform/omap3isp/isppreview.c 	media_entity_cleanup(&prev->subdev.entity);
subdev           2349 drivers/media/platform/omap3isp/isppreview.c 	media_entity_cleanup(&prev->subdev.entity);
subdev            121 drivers/media/platform/omap3isp/isppreview.h 	struct v4l2_subdev subdev;
subdev            121 drivers/media/platform/omap3isp/ispresizer.c 		return v4l2_subdev_get_try_format(&res->subdev, cfg, pad);
subdev            137 drivers/media/platform/omap3isp/ispresizer.c 		return v4l2_subdev_get_try_crop(&res->subdev, cfg, RESZ_PAD_SINK);
subdev            500 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity);
subdev            541 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity);
subdev           1014 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_pipeline *pipe = to_isp_pipeline(&res->subdev.entity);
subdev           1673 drivers/media/platform/omap3isp/ispresizer.c 	v4l2_device_unregister_subdev(&res->subdev);
subdev           1684 drivers/media/platform/omap3isp/ispresizer.c 	res->subdev.dev = vdev->mdev->dev;
subdev           1685 drivers/media/platform/omap3isp/ispresizer.c 	ret = v4l2_device_register_subdev(vdev, &res->subdev);
subdev           1715 drivers/media/platform/omap3isp/ispresizer.c 	struct v4l2_subdev *sd = &res->subdev;
subdev           1766 drivers/media/platform/omap3isp/ispresizer.c 	media_entity_cleanup(&res->subdev.entity);
subdev           1792 drivers/media/platform/omap3isp/ispresizer.c 	media_entity_cleanup(&res->subdev.entity);
subdev             92 drivers/media/platform/omap3isp/ispresizer.h 	struct v4l2_subdev subdev;
subdev            116 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            126 drivers/media/platform/omap3isp/ispstat.c 				stat->subdev.name);
subdev            243 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            261 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            291 drivers/media/platform/omap3isp/ispstat.c 				stat->subdev.name);
subdev            297 drivers/media/platform/omap3isp/ispstat.c 				stat->subdev.name);
subdev            313 drivers/media/platform/omap3isp/ispstat.c 			 stat->subdev.name);
subdev            327 drivers/media/platform/omap3isp/ispstat.c 			 stat->subdev.name, rval);
subdev            358 drivers/media/platform/omap3isp/ispstat.c 		stat->subdev.name);
subdev            423 drivers/media/platform/omap3isp/ispstat.c 			 stat->subdev.name);
subdev            442 drivers/media/platform/omap3isp/ispstat.c 				stat->subdev.name, i);
subdev            451 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name, i, &buf->dma_addr, buf->virt_addr);
subdev            459 drivers/media/platform/omap3isp/ispstat.c 	struct video_device *vdev = stat->subdev.devnode;
subdev            488 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            548 drivers/media/platform/omap3isp/ispstat.c 		stat->subdev.name, (unsigned long)buf_size);
subdev            554 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            561 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name,
subdev            614 drivers/media/platform/omap3isp/ispstat.c 		stat->subdev.name);
subdev            725 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            770 drivers/media/platform/omap3isp/ispstat.c 		stat->subdev.name, enable ? "enable" : "disable");
subdev            782 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            810 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            812 drivers/media/platform/omap3isp/ispstat.c 	struct ispstat *stat = v4l2_get_subdevdata(subdev);
subdev            843 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev            878 drivers/media/platform/omap3isp/ispstat.c 				stat->subdev.name);
subdev            917 drivers/media/platform/omap3isp/ispstat.c 		pipe = to_isp_pipeline(&stat->subdev.entity);
subdev            984 drivers/media/platform/omap3isp/ispstat.c 			stat->subdev.name);
subdev           1002 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_subscribe_event(struct v4l2_subdev *subdev,
subdev           1006 drivers/media/platform/omap3isp/ispstat.c 	struct ispstat *stat = v4l2_get_subdevdata(subdev);
subdev           1014 drivers/media/platform/omap3isp/ispstat.c int omap3isp_stat_unsubscribe_event(struct v4l2_subdev *subdev,
subdev           1023 drivers/media/platform/omap3isp/ispstat.c 	v4l2_device_unregister_subdev(&stat->subdev);
subdev           1029 drivers/media/platform/omap3isp/ispstat.c 	stat->subdev.dev = vdev->mdev->dev;
subdev           1031 drivers/media/platform/omap3isp/ispstat.c 	return v4l2_device_register_subdev(vdev, &stat->subdev);
subdev           1037 drivers/media/platform/omap3isp/ispstat.c 	struct v4l2_subdev *subdev = &stat->subdev;
subdev           1038 drivers/media/platform/omap3isp/ispstat.c 	struct media_entity *me = &subdev->entity;
subdev           1040 drivers/media/platform/omap3isp/ispstat.c 	v4l2_subdev_init(subdev, sd_ops);
subdev           1041 drivers/media/platform/omap3isp/ispstat.c 	snprintf(subdev->name, V4L2_SUBDEV_NAME_SIZE, "OMAP3 ISP %s", name);
subdev           1042 drivers/media/platform/omap3isp/ispstat.c 	subdev->grp_id = BIT(16);	/* group ID for isp subdevs */
subdev           1043 drivers/media/platform/omap3isp/ispstat.c 	subdev->flags |= V4L2_SUBDEV_FL_HAS_EVENTS | V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1044 drivers/media/platform/omap3isp/ispstat.c 	v4l2_set_subdevdata(subdev, stat);
subdev           1076 drivers/media/platform/omap3isp/ispstat.c 	media_entity_cleanup(&stat->subdev.entity);
subdev             85 drivers/media/platform/omap3isp/ispstat.h 	struct v4l2_subdev subdev;
subdev            135 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_subscribe_event(struct v4l2_subdev *subdev,
subdev            138 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_unsubscribe_event(struct v4l2_subdev *subdev,
subdev            141 drivers/media/platform/omap3isp/ispstat.h int omap3isp_stat_s_stream(struct v4l2_subdev *subdev, int enable);
subdev            281 drivers/media/platform/omap3isp/ispvideo.c 	struct v4l2_subdev *subdev;
subdev            285 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
subdev            286 drivers/media/platform/omap3isp/ispvideo.c 	if (subdev == NULL)
subdev            293 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            744 drivers/media/platform/omap3isp/ispvideo.c 	struct v4l2_subdev *subdev;
subdev            751 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
subdev            752 drivers/media/platform/omap3isp/ispvideo.c 	if (subdev == NULL)
subdev            759 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            772 drivers/media/platform/omap3isp/ispvideo.c 	struct v4l2_subdev *subdev;
subdev            796 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
subdev            797 drivers/media/platform/omap3isp/ispvideo.c 	if (subdev == NULL)
subdev            804 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel);
subdev            812 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format);
subdev            828 drivers/media/platform/omap3isp/ispvideo.c 	struct v4l2_subdev *subdev;
subdev            850 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
subdev            851 drivers/media/platform/omap3isp/ispvideo.c 	if (subdev == NULL)
subdev            856 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_subdev_call(subdev, pad, set_selection, NULL, &sdsel);
subdev            961 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_csi2a.subdev.entity,
subdev            962 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_csi2c.subdev.entity,
subdev            963 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_ccp2.subdev.entity,
subdev            964 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_ccdc.subdev.entity
subdev           1034 drivers/media/platform/omap3isp/ispvideo.c 				   &isp->isp_ccdc.subdev.entity)) {
subdev            753 drivers/media/platform/pxa_camera.c 	struct v4l2_device *v4l2_dev, struct v4l2_subdev *subdev,
subdev            764 drivers/media/platform/pxa_camera.c 	while (!v4l2_subdev_call(subdev, pad, enum_mbus_code, NULL, &code)) {
subdev           2133 drivers/media/platform/pxa_camera.c 		     struct v4l2_subdev *subdev,
subdev           2152 drivers/media/platform/pxa_camera.c 	pcdev->sensor = subdev;
subdev           2155 drivers/media/platform/pxa_camera.c 	pcdev->vdev.ctrl_handler = subdev->ctrl_handler;
subdev           2201 drivers/media/platform/pxa_camera.c 			 subdev->name);
subdev           2212 drivers/media/platform/pxa_camera.c 		     struct v4l2_subdev *subdev,
subdev           2220 drivers/media/platform/pxa_camera.c 		 subdev->name);
subdev            468 drivers/media/platform/qcom/camss/camss-csid.c 	ret = camss_get_pixel_clock(&csid->subdev.entity, &pixel_clock);
subdev            768 drivers/media/platform/qcom/camss/camss-csid.c 		return v4l2_subdev_get_try_format(&csid->subdev, cfg, pad);
subdev           1270 drivers/media/platform/qcom/camss/camss-csid.c 		csid_set_format(&csid->subdev, NULL, &format);
subdev           1318 drivers/media/platform/qcom/camss/camss-csid.c 	struct v4l2_subdev *sd = &csid->subdev;
subdev           1348 drivers/media/platform/qcom/camss/camss-csid.c 	csid->subdev.ctrl_handler = &csid->ctrls;
subdev           1389 drivers/media/platform/qcom/camss/camss-csid.c 	v4l2_device_unregister_subdev(&csid->subdev);
subdev           1390 drivers/media/platform/qcom/camss/camss-csid.c 	media_entity_cleanup(&csid->subdev.entity);
subdev             47 drivers/media/platform/qcom/camss/camss-csid.h 	struct v4l2_subdev subdev;
subdev            109 drivers/media/platform/qcom/camss/camss-csiphy.c 	ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock);
subdev            248 drivers/media/platform/qcom/camss/camss-csiphy.c 	ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock);
subdev            324 drivers/media/platform/qcom/camss/camss-csiphy.c 		return v4l2_subdev_get_try_format(&csiphy->subdev, cfg, pad);
subdev            719 drivers/media/platform/qcom/camss/camss-csiphy.c 	struct v4l2_subdev *sd = &csiphy->subdev;
subdev            763 drivers/media/platform/qcom/camss/camss-csiphy.c 	v4l2_device_unregister_subdev(&csiphy->subdev);
subdev            764 drivers/media/platform/qcom/camss/camss-csiphy.c 	media_entity_cleanup(&csiphy->subdev.entity);
subdev             62 drivers/media/platform/qcom/camss/camss-csiphy.h 	struct v4l2_subdev subdev;
subdev            850 drivers/media/platform/qcom/camss/camss-ispif.c 		return v4l2_subdev_get_try_format(&line->subdev, cfg, pad);
subdev           1307 drivers/media/platform/qcom/camss/camss-ispif.c 		struct v4l2_subdev *sd = &ispif->line[i].subdev;
subdev           1347 drivers/media/platform/qcom/camss/camss-ispif.c 		struct v4l2_subdev *sd = &ispif->line[i].subdev;
subdev           1368 drivers/media/platform/qcom/camss/camss-ispif.c 		struct v4l2_subdev *sd = &ispif->line[i].subdev;
subdev             43 drivers/media/platform/qcom/camss/camss-ispif.h 	struct v4l2_subdev subdev;
subdev            672 drivers/media/platform/qcom/camss/camss-vfe.c 	sensor = camss_find_sensor(&line->subdev.entity);
subdev            674 drivers/media/platform/qcom/camss/camss-vfe.c 		struct v4l2_subdev *subdev =
subdev            677 drivers/media/platform/qcom/camss/camss-vfe.c 		v4l2_subdev_call(subdev, sensor, g_skip_frames, &frame_skip);
subdev           1119 drivers/media/platform/qcom/camss/camss-vfe.c 		ret = camss_get_pixel_clock(&vfe->line[i].subdev.entity,
subdev           1201 drivers/media/platform/qcom/camss/camss-vfe.c 		ret = camss_get_pixel_clock(&vfe->line[i].subdev.entity,
subdev           1476 drivers/media/platform/qcom/camss/camss-vfe.c 		return v4l2_subdev_get_try_format(&line->subdev, cfg, pad);
subdev           1495 drivers/media/platform/qcom/camss/camss-vfe.c 		return v4l2_subdev_get_try_compose(&line->subdev, cfg,
subdev           1515 drivers/media/platform/qcom/camss/camss-vfe.c 		return v4l2_subdev_get_try_crop(&line->subdev, cfg,
subdev           2243 drivers/media/platform/qcom/camss/camss-vfe.c 		sd = &vfe->line[i].subdev;
subdev           2325 drivers/media/platform/qcom/camss/camss-vfe.c 		sd = &vfe->line[i].subdev;
subdev           2348 drivers/media/platform/qcom/camss/camss-vfe.c 		struct v4l2_subdev *sd = &vfe->line[i].subdev;
subdev             67 drivers/media/platform/qcom/camss/camss-vfe.h 	struct v4l2_subdev subdev;
subdev            289 drivers/media/platform/qcom/camss/camss-video.c 	struct v4l2_subdev *subdev;
subdev            293 drivers/media/platform/qcom/camss/camss-video.c 	subdev = video_remote_subdev(video, &pad);
subdev            294 drivers/media/platform/qcom/camss/camss-video.c 	if (subdev == NULL)
subdev            300 drivers/media/platform/qcom/camss/camss-video.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            436 drivers/media/platform/qcom/camss/camss-video.c 	struct v4l2_subdev *subdev;
subdev            458 drivers/media/platform/qcom/camss/camss-video.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            460 drivers/media/platform/qcom/camss/camss-video.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 1);
subdev            481 drivers/media/platform/qcom/camss/camss-video.c 	struct v4l2_subdev *subdev;
subdev            494 drivers/media/platform/qcom/camss/camss-video.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            496 drivers/media/platform/qcom/camss/camss-video.c 		v4l2_subdev_call(subdev, video, s_stream, 0);
subdev            379 drivers/media/platform/qcom/camss/camss.c 	struct v4l2_subdev *subdev;
subdev            386 drivers/media/platform/qcom/camss/camss.c 	subdev = media_entity_to_v4l2_subdev(sensor);
subdev            388 drivers/media/platform/qcom/camss/camss.c 	ctrl = v4l2_ctrl_find(subdev->ctrl_handler, V4L2_CID_PIXEL_RATE);
subdev            637 drivers/media/platform/qcom/camss/camss.c 				&camss->csiphy[i].subdev.entity,
subdev            639 drivers/media/platform/qcom/camss/camss.c 				&camss->csid[j].subdev.entity,
subdev            645 drivers/media/platform/qcom/camss/camss.c 					camss->csiphy[i].subdev.entity.name,
subdev            646 drivers/media/platform/qcom/camss/camss.c 					camss->csid[j].subdev.entity.name,
subdev            656 drivers/media/platform/qcom/camss/camss.c 				&camss->csid[i].subdev.entity,
subdev            658 drivers/media/platform/qcom/camss/camss.c 				&camss->ispif.line[j].subdev.entity,
subdev            664 drivers/media/platform/qcom/camss/camss.c 					camss->csid[i].subdev.entity.name,
subdev            665 drivers/media/platform/qcom/camss/camss.c 					camss->ispif.line[j].subdev.entity.name,
subdev            676 drivers/media/platform/qcom/camss/camss.c 					&camss->ispif.line[i].subdev.entity,
subdev            678 drivers/media/platform/qcom/camss/camss.c 					&camss->vfe[k].line[j].subdev.entity,
subdev            684 drivers/media/platform/qcom/camss/camss.c 						camss->ispif.line[i].subdev.entity.name,
subdev            685 drivers/media/platform/qcom/camss/camss.c 						camss->vfe[k].line[j].subdev.entity.name,
subdev            738 drivers/media/platform/qcom/camss/camss.c 				       struct v4l2_subdev *subdev,
subdev            748 drivers/media/platform/qcom/camss/camss.c 	subdev->host_priv = csiphy;
subdev            765 drivers/media/platform/qcom/camss/camss.c 			struct media_entity *input = &csiphy->subdev.entity;
subdev             61 drivers/media/platform/rcar-vin/rcar-core.c 		if (group->csi[i].subdev == sd)
subdev            189 drivers/media/platform/rcar-vin/rcar-core.c 			    group->vin[i]->parallel->subdev == sd) {
subdev            438 drivers/media/platform/rcar-vin/rcar-core.c 					  struct v4l2_subdev *subdev)
subdev            446 drivers/media/platform/rcar-vin/rcar-core.c 	ret = rvin_find_pad(subdev, MEDIA_PAD_FL_SOURCE);
subdev            451 drivers/media/platform/rcar-vin/rcar-core.c 	ret = rvin_find_pad(subdev, MEDIA_PAD_FL_SINK);
subdev            455 drivers/media/platform/rcar-vin/rcar-core.c 		vin->parallel->subdev = subdev;
subdev            464 drivers/media/platform/rcar-vin/rcar-core.c 	       !v4l2_subdev_call(subdev, pad, enum_mbus_code, NULL, &code)) {
subdev            474 drivers/media/platform/rcar-vin/rcar-core.c 				subdev->name, vin->mbus_code);
subdev            483 drivers/media/platform/rcar-vin/rcar-core.c 			subdev->name);
subdev            488 drivers/media/platform/rcar-vin/rcar-core.c 	ret = v4l2_subdev_call(subdev, video, g_tvnorms, &vin->vdev.tvnorms);
subdev            494 drivers/media/platform/rcar-vin/rcar-core.c 	ret = v4l2_subdev_call(subdev, video, g_std, &vin->std);
subdev            512 drivers/media/platform/rcar-vin/rcar-core.c 	ret = v4l2_ctrl_add_handler(&vin->ctrl_handler, subdev->ctrl_handler,
subdev            521 drivers/media/platform/rcar-vin/rcar-core.c 	vin->parallel->subdev = subdev;
subdev            529 drivers/media/platform/rcar-vin/rcar-core.c 	vin->parallel->subdev = NULL;
subdev            560 drivers/media/platform/rcar-vin/rcar-core.c 	source = &vin->parallel->subdev->entity;
subdev            573 drivers/media/platform/rcar-vin/rcar-core.c 					struct v4l2_subdev *subdev,
subdev            578 drivers/media/platform/rcar-vin/rcar-core.c 	vin_dbg(vin, "unbind parallel subdev %s\n", subdev->name);
subdev            586 drivers/media/platform/rcar-vin/rcar-core.c 				      struct v4l2_subdev *subdev,
subdev            593 drivers/media/platform/rcar-vin/rcar-core.c 	ret = rvin_parallel_subdevice_attach(vin, subdev);
subdev            598 drivers/media/platform/rcar-vin/rcar-core.c 	v4l2_set_subdev_hostdata(subdev, vin);
subdev            601 drivers/media/platform/rcar-vin/rcar-core.c 		subdev->name, vin->parallel->source_pad,
subdev            717 drivers/media/platform/rcar-vin/rcar-core.c 		if (!vin->group->csi[route->csi].subdev)
subdev            720 drivers/media/platform/rcar-vin/rcar-core.c 		source = &vin->group->csi[route->csi].subdev->entity;
subdev            744 drivers/media/platform/rcar-vin/rcar-core.c 				     struct v4l2_subdev *subdev,
subdev            759 drivers/media/platform/rcar-vin/rcar-core.c 		vin->group->csi[i].subdev = NULL;
subdev            760 drivers/media/platform/rcar-vin/rcar-core.c 		vin_dbg(vin, "Unbind CSI-2 %s from slot %u\n", subdev->name, i);
subdev            768 drivers/media/platform/rcar-vin/rcar-core.c 				   struct v4l2_subdev *subdev,
subdev            779 drivers/media/platform/rcar-vin/rcar-core.c 		vin->group->csi[i].subdev = subdev;
subdev            780 drivers/media/platform/rcar-vin/rcar-core.c 		vin_dbg(vin, "Bound CSI-2 %s to slot %u\n", subdev->name, i);
subdev            360 drivers/media/platform/rcar-vin/rcar-csi2.c 	struct v4l2_subdev subdev;
subdev            378 drivers/media/platform/rcar-vin/rcar-csi2.c 	return container_of(sd, struct rcar_csi2, subdev);
subdev            737 drivers/media/platform/rcar-vin/rcar-csi2.c 			      struct v4l2_subdev *subdev,
subdev            743 drivers/media/platform/rcar-vin/rcar-csi2.c 	pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode,
subdev            746 drivers/media/platform/rcar-vin/rcar-csi2.c 		dev_err(priv->dev, "Failed to find pad for %s\n", subdev->name);
subdev            750 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->remote = subdev;
subdev            752 drivers/media/platform/rcar-vin/rcar-csi2.c 	dev_dbg(priv->dev, "Bound %s pad: %d\n", subdev->name, pad);
subdev            754 drivers/media/platform/rcar-vin/rcar-csi2.c 	return media_create_pad_link(&subdev->entity, pad,
subdev            755 drivers/media/platform/rcar-vin/rcar-csi2.c 				     &priv->subdev.entity, 0,
subdev            761 drivers/media/platform/rcar-vin/rcar-csi2.c 				struct v4l2_subdev *subdev,
subdev            768 drivers/media/platform/rcar-vin/rcar-csi2.c 	dev_dbg(priv->dev, "Unbind %s\n", subdev->name);
subdev            855 drivers/media/platform/rcar-vin/rcar-csi2.c 	ret = v4l2_async_subdev_notifier_register(&priv->subdev,
subdev           1166 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->subdev.owner = THIS_MODULE;
subdev           1167 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->subdev.dev = &pdev->dev;
subdev           1168 drivers/media/platform/rcar-vin/rcar-csi2.c 	v4l2_subdev_init(&priv->subdev, &rcar_csi2_subdev_ops);
subdev           1169 drivers/media/platform/rcar-vin/rcar-csi2.c 	v4l2_set_subdevdata(&priv->subdev, &pdev->dev);
subdev           1170 drivers/media/platform/rcar-vin/rcar-csi2.c 	snprintf(priv->subdev.name, V4L2_SUBDEV_NAME_SIZE, "%s %s",
subdev           1172 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->subdev.flags = V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev           1174 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
subdev           1175 drivers/media/platform/rcar-vin/rcar-csi2.c 	priv->subdev.entity.ops = &rcar_csi2_entity_ops;
subdev           1181 drivers/media/platform/rcar-vin/rcar-csi2.c 	ret = media_entity_pads_init(&priv->subdev.entity, NR_OF_RCAR_CSI2_PAD,
subdev           1188 drivers/media/platform/rcar-vin/rcar-csi2.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev           1209 drivers/media/platform/rcar-vin/rcar-csi2.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev           1113 drivers/media/platform/rcar-vin/rcar-dma.c 		ret = v4l2_subdev_call(vin->parallel->subdev, video, s_stream,
subdev             85 drivers/media/platform/rcar-vin/rcar-vin.h 	struct v4l2_subdev *subdev;
subdev            224 drivers/media/platform/rcar-vin/rcar-vin.h #define vin_to_source(vin)		((vin)->parallel->subdev)
subdev            257 drivers/media/platform/rcar-vin/rcar-vin.h 		struct v4l2_subdev *subdev;
subdev            187 drivers/media/platform/rcar_drif.c 	struct v4l2_subdev *subdev;	/* Async matched subdev */
subdev            988 drivers/media/platform/rcar_drif.c 	return v4l2_subdev_call(sdr->ep.subdev, tuner, enum_freq_bands, band);
subdev            996 drivers/media/platform/rcar_drif.c 	return v4l2_subdev_call(sdr->ep.subdev, tuner, g_frequency, f);
subdev           1004 drivers/media/platform/rcar_drif.c 	return v4l2_subdev_call(sdr->ep.subdev, tuner, s_frequency, f);
subdev           1012 drivers/media/platform/rcar_drif.c 	return v4l2_subdev_call(sdr->ep.subdev, tuner, g_tuner, vt);
subdev           1020 drivers/media/platform/rcar_drif.c 	return v4l2_subdev_call(sdr->ep.subdev, tuner, s_tuner, vt);
subdev           1102 drivers/media/platform/rcar_drif.c 				   struct v4l2_subdev *subdev,
subdev           1109 drivers/media/platform/rcar_drif.c 	    of_fwnode_handle(subdev->dev->of_node)) {
subdev           1110 drivers/media/platform/rcar_drif.c 		rdrif_err(sdr, "subdev %s cannot bind\n", subdev->name);
subdev           1114 drivers/media/platform/rcar_drif.c 	v4l2_set_subdev_hostdata(subdev, sdr);
subdev           1115 drivers/media/platform/rcar_drif.c 	sdr->ep.subdev = subdev;
subdev           1116 drivers/media/platform/rcar_drif.c 	rdrif_dbg(sdr, "bound asd %s\n", subdev->name);
subdev           1123 drivers/media/platform/rcar_drif.c 				   struct v4l2_subdev *subdev,
subdev           1129 drivers/media/platform/rcar_drif.c 	if (sdr->ep.subdev != subdev) {
subdev           1130 drivers/media/platform/rcar_drif.c 		rdrif_err(sdr, "subdev %s is not bound\n", subdev->name);
subdev           1137 drivers/media/platform/rcar_drif.c 	sdr->ep.subdev = NULL;
subdev           1140 drivers/media/platform/rcar_drif.c 	rdrif_dbg(sdr, "unbind asd %s\n", subdev->name);
subdev           1168 drivers/media/platform/rcar_drif.c 				    sdr->ep.subdev->ctrl_handler, NULL, true);
subdev           1277 drivers/media/platform/s3c-camif/camif-capture.c 	v4l2_dbg(1, debug, &camif->subdev, "%ux%u\n", mf->width, mf->height);
subdev           1544 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_subdev *sd = &camif->subdev;
subdev           1595 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_subdev *sd = &camif->subdev;
subdev            229 drivers/media/platform/s3c-camif/camif-core.c 	v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format);
subdev            258 drivers/media/platform/s3c-camif/camif-core.c 				&camif->subdev.entity, CAMIF_SD_PAD_SINK,
subdev            265 drivers/media/platform/s3c-camif/camif-core.c 		ret = media_create_pad_link(&camif->subdev.entity, i,
subdev            473 drivers/media/platform/s3c-camif/camif-core.c 	ret = v4l2_device_register_subdev(&camif->v4l2_dev, &camif->subdev);
subdev            264 drivers/media/platform/s3c-camif/camif-core.h 	struct v4l2_subdev		subdev;
subdev           1223 drivers/media/platform/sh_vou.c 	struct v4l2_subdev *subdev;
subdev           1319 drivers/media/platform/sh_vou.c 	subdev = v4l2_i2c_new_subdev_board(&vou_dev->v4l2_dev, i2c_adap,
subdev           1321 drivers/media/platform/sh_vou.c 	if (!subdev) {
subdev            613 drivers/media/platform/stm32/stm32-dcmi.c 	struct v4l2_subdev *subdev;
subdev            640 drivers/media/platform/stm32/stm32-dcmi.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            647 drivers/media/platform/stm32/stm32-dcmi.c 			subdev->name, pad->index, format->format.code,
subdev            651 drivers/media/platform/stm32/stm32-dcmi.c 		ret = v4l2_subdev_call(subdev, pad, set_fmt, pad_cfg, &fmt);
subdev            656 drivers/media/platform/stm32/stm32-dcmi.c 				subdev->name, pad->index, ret);
subdev            664 drivers/media/platform/stm32/stm32-dcmi.c 				subdev->name, pad->index, fmt.format.code,
subdev            683 drivers/media/platform/stm32/stm32-dcmi.c 	struct v4l2_subdev *subdev;
subdev            698 drivers/media/platform/stm32/stm32-dcmi.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            700 drivers/media/platform/stm32/stm32-dcmi.c 		ret = v4l2_subdev_call(subdev, video, s_stream, state);
subdev            703 drivers/media/platform/stm32/stm32-dcmi.c 				__func__, subdev->name,
subdev            709 drivers/media/platform/stm32/stm32-dcmi.c 			subdev->name, state ? "started" : "stopped");
subdev           1586 drivers/media/platform/stm32/stm32-dcmi.c 	struct v4l2_subdev *subdev = dcmi->entity.source;
subdev           1591 drivers/media/platform/stm32/stm32-dcmi.c 	while (!v4l2_subdev_call(subdev, pad, enum_mbus_code,
subdev           1640 drivers/media/platform/stm32/stm32-dcmi.c 	struct v4l2_subdev *subdev = dcmi->entity.source;
subdev           1649 drivers/media/platform/stm32/stm32-dcmi.c 	while (!v4l2_subdev_call(subdev, pad, enum_frame_size,
subdev           1670 drivers/media/platform/stm32/stm32-dcmi.c 		ret = v4l2_subdev_call(subdev, pad, enum_frame_size,
subdev           1741 drivers/media/platform/stm32/stm32-dcmi.c 				   struct v4l2_subdev *subdev,
subdev           1748 drivers/media/platform/stm32/stm32-dcmi.c 	dev_dbg(dcmi->dev, "Subdev \"%s\" bound\n", subdev->name);
subdev           1754 drivers/media/platform/stm32/stm32-dcmi.c 	src_pad = media_entity_get_fwnode_pad(&subdev->entity,
subdev           1755 drivers/media/platform/stm32/stm32-dcmi.c 					      subdev->fwnode,
subdev           1758 drivers/media/platform/stm32/stm32-dcmi.c 	ret = media_create_pad_link(&subdev->entity, src_pad,
subdev           1764 drivers/media/platform/stm32/stm32-dcmi.c 			subdev->name);
subdev           1767 drivers/media/platform/stm32/stm32-dcmi.c 			subdev->name);
subdev             37 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 				  struct v4l2_subdev *subdev,
subdev             43 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	csi->src_subdev = subdev;
subdev             44 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	csi->src_pad = media_entity_get_fwnode_pad(&subdev->entity,
subdev             45 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 						   subdev->fwnode,
subdev             49 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 			subdev->name);
subdev             53 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	dev_dbg(csi->dev, "Bound %s pad: %d\n", subdev->name, csi->src_pad);
subdev             61 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	struct v4l2_subdev *subdev = &csi->subdev;
subdev             65 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	ret = v4l2_device_register_subdev(&csi->v4l, subdev);
subdev             78 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	ret = media_create_pad_link(&subdev->entity, CSI_SUBDEV_SOURCE,
subdev             86 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 				    &subdev->entity, CSI_SUBDEV_SINK,
subdev            144 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	struct v4l2_subdev *subdev;
subdev            156 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	subdev = &csi->subdev;
subdev            221 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	v4l2_subdev_init(subdev, &sun4i_csi_subdev_ops);
subdev            222 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	subdev->flags = V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS;
subdev            223 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
subdev            224 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	subdev->owner = THIS_MODULE;
subdev            225 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	snprintf(subdev->name, sizeof(subdev->name), "sun4i-csi-0");
subdev            226 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	v4l2_set_subdevdata(subdev, csi);
subdev            231 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c 	ret = media_entity_pads_init(&subdev->entity, CSI_SUBDEV_PADS,
subdev            135 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h 	struct v4l2_subdev		subdev;
subdev            276 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_subdev_init_cfg(struct v4l2_subdev *subdev,
subdev            281 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	fmt = v4l2_subdev_get_try_format(subdev, cfg, CSI_SUBDEV_SINK);
subdev            287 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_subdev_get_fmt(struct v4l2_subdev *subdev,
subdev            291 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = container_of(subdev, struct sun4i_csi, subdev);
subdev            295 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 		subdev_fmt = v4l2_subdev_get_try_format(subdev, cfg, fmt->pad);
subdev            304 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c static int sun4i_csi_subdev_set_fmt(struct v4l2_subdev *subdev,
subdev            308 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 	struct sun4i_csi *csi = container_of(subdev, struct sun4i_csi, subdev);
subdev            312 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c 		subdev_fmt = v4l2_subdev_get_try_format(subdev, cfg, fmt->pad);
subdev            330 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c sun4i_csi_subdev_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            138 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct v4l2_subdev *subdev;
subdev            153 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	subdev = sun6i_video_remote_subdev(video, NULL);
subdev            154 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (!subdev)
subdev            199 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = v4l2_subdev_call(subdev, video, s_stream, 1);
subdev            222 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct v4l2_subdev *subdev;
subdev            226 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	subdev = sun6i_video_remote_subdev(video, NULL);
subdev            227 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (subdev)
subdev            228 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		v4l2_subdev_call(subdev, video, s_stream, 0);
subdev           1428 drivers/media/platform/ti-vpe/cal.c 			   struct v4l2_subdev *subdev,
subdev           1438 drivers/media/platform/ti-vpe/cal.c 			 subdev->name);
subdev           1442 drivers/media/platform/ti-vpe/cal.c 	ctx->sensor = subdev;
subdev           1443 drivers/media/platform/ti-vpe/cal.c 	ctx_dbg(1, ctx, "Using sensor %s for capture\n", subdev->name);
subdev           1452 drivers/media/platform/ti-vpe/cal.c 		ret = v4l2_subdev_call(subdev, pad, enum_mbus_code,
subdev           1459 drivers/media/platform/ti-vpe/cal.c 			subdev->name, mbus_code.code, j);
subdev           1477 drivers/media/platform/ti-vpe/cal.c 			subdev->name);
subdev             23 drivers/media/platform/video-mux.c 	struct v4l2_subdev subdev;
subdev             40 drivers/media/platform/video-mux.c 	return container_of(sd, struct video_mux, subdev);
subdev            358 drivers/media/platform/video-mux.c 		&vmux->subdev, sizeof(struct v4l2_async_subdev),
subdev            381 drivers/media/platform/video-mux.c 	v4l2_subdev_init(&vmux->subdev, &video_mux_subdev_ops);
subdev            382 drivers/media/platform/video-mux.c 	snprintf(vmux->subdev.name, sizeof(vmux->subdev.name), "%pOFn", np);
subdev            383 drivers/media/platform/video-mux.c 	vmux->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            384 drivers/media/platform/video-mux.c 	vmux->subdev.dev = dev;
subdev            429 drivers/media/platform/video-mux.c 	vmux->subdev.entity.function = MEDIA_ENT_F_VID_MUX;
subdev            430 drivers/media/platform/video-mux.c 	ret = media_entity_pads_init(&vmux->subdev.entity, num_pads,
subdev            435 drivers/media/platform/video-mux.c 	vmux->subdev.entity.ops = &video_mux_ops;
subdev            443 drivers/media/platform/video-mux.c 	struct v4l2_subdev *sd = &vmux->subdev;
subdev             67 drivers/media/platform/vsp1/vsp1_brx.c static int brx_enum_mbus_code(struct v4l2_subdev *subdev,
subdev             76 drivers/media/platform/vsp1/vsp1_brx.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, codes,
subdev             80 drivers/media/platform/vsp1/vsp1_brx.c static int brx_enum_frame_size(struct v4l2_subdev *subdev,
subdev            103 drivers/media/platform/vsp1/vsp1_brx.c 	return v4l2_subdev_get_try_compose(&brx->entity.subdev, cfg, pad);
subdev            134 drivers/media/platform/vsp1/vsp1_brx.c static int brx_set_format(struct v4l2_subdev *subdev,
subdev            138 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
subdev            183 drivers/media/platform/vsp1/vsp1_brx.c static int brx_get_selection(struct v4l2_subdev *subdev,
subdev            187 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
subdev            217 drivers/media/platform/vsp1/vsp1_brx.c static int brx_set_selection(struct v4l2_subdev *subdev,
subdev            221 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(subdev);
subdev            289 drivers/media/platform/vsp1/vsp1_brx.c 	struct vsp1_brx *brx = to_brx(&entity->subdev);
subdev            443 drivers/media/platform/vsp1/vsp1_brx.c 	brx->entity.subdev.ctrl_handler = &brx->ctrls;
subdev             36 drivers/media/platform/vsp1/vsp1_brx.h static inline struct vsp1_brx *to_brx(struct v4l2_subdev *subdev)
subdev             38 drivers/media/platform/vsp1/vsp1_brx.h 	return container_of(subdev, struct vsp1_brx, entity.subdev);
subdev            125 drivers/media/platform/vsp1/vsp1_clu.c static int clu_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            129 drivers/media/platform/vsp1/vsp1_clu.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, clu_codes,
subdev            133 drivers/media/platform/vsp1/vsp1_clu.c static int clu_enum_frame_size(struct v4l2_subdev *subdev,
subdev            137 drivers/media/platform/vsp1/vsp1_clu.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, CLU_MIN_SIZE,
subdev            142 drivers/media/platform/vsp1/vsp1_clu.c static int clu_set_format(struct v4l2_subdev *subdev,
subdev            146 drivers/media/platform/vsp1/vsp1_clu.c 	return vsp1_subdev_set_pad_format(subdev, cfg, fmt, clu_codes,
subdev            177 drivers/media/platform/vsp1/vsp1_clu.c 	struct vsp1_clu *clu = to_clu(&entity->subdev);
subdev            195 drivers/media/platform/vsp1/vsp1_clu.c 	struct vsp1_clu *clu = to_clu(&entity->subdev);
subdev            223 drivers/media/platform/vsp1/vsp1_clu.c 	struct vsp1_clu *clu = to_clu(&entity->subdev);
subdev            273 drivers/media/platform/vsp1/vsp1_clu.c 	clu->entity.subdev.ctrl_handler = &clu->ctrls;
subdev             38 drivers/media/platform/vsp1/vsp1_clu.h static inline struct vsp1_clu *to_clu(struct v4l2_subdev *subdev)
subdev             40 drivers/media/platform/vsp1/vsp1_clu.h 	return container_of(subdev, struct vsp1_clu, entity.subdev);
subdev             45 drivers/media/platform/vsp1/vsp1_drm.c 		crc = uif ? vsp1_uif_get_crc(to_uif(&uif->subdev)) : 0;
subdev             89 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format);
subdev             95 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format);
subdev            140 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL,
subdev            156 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_selection, NULL,
subdev            172 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&rpf->entity.subdev, pad, get_fmt, NULL,
subdev            184 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&rpf->entity.subdev, pad, set_fmt, NULL,
subdev            198 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL,
subdev            211 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL,
subdev            343 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&brx->subdev, pad, set_fmt, NULL,
subdev            410 drivers/media/platform/vsp1/vsp1_drm.c 	brx = to_brx(&pipe->brx->subdev);
subdev            490 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, set_fmt, NULL,
subdev            500 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->output->entity.subdev, pad, get_fmt, NULL,
subdev            510 drivers/media/platform/vsp1/vsp1_drm.c 	ret = v4l2_subdev_call(&pipe->lif->subdev, pad, set_fmt, NULL,
subdev            660 drivers/media/platform/vsp1/vsp1_drm.c 		brx = to_brx(&pipe->brx->subdev);
subdev             92 drivers/media/platform/vsp1/vsp1_drv.c 	struct media_entity *entity = &sink->subdev.entity;
subdev            118 drivers/media/platform/vsp1/vsp1_drv.c 			ret = media_create_pad_link(&source->subdev.entity,
subdev            149 drivers/media/platform/vsp1/vsp1_drv.c 		ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity,
subdev            159 drivers/media/platform/vsp1/vsp1_drv.c 		ret = media_create_pad_link(&vsp1->hgt->histo.entity.subdev.entity,
subdev            172 drivers/media/platform/vsp1/vsp1_drv.c 		ret = media_create_pad_link(&vsp1->wpf[i]->entity.subdev.entity,
subdev            174 drivers/media/platform/vsp1/vsp1_drv.c 					    &vsp1->lif[i]->entity.subdev.entity,
subdev            184 drivers/media/platform/vsp1/vsp1_drv.c 					    &rpf->entity.subdev.entity,
subdev            199 drivers/media/platform/vsp1/vsp1_drv.c 		ret = media_create_pad_link(&wpf->entity.subdev.entity,
subdev            453 drivers/media/platform/vsp1/vsp1_drv.c 						  &entity->subdev);
subdev            145 drivers/media/platform/vsp1/vsp1_entity.c 	return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad);
subdev            166 drivers/media/platform/vsp1/vsp1_entity.c 		return v4l2_subdev_get_try_compose(&entity->subdev, cfg, pad);
subdev            168 drivers/media/platform/vsp1/vsp1_entity.c 		return v4l2_subdev_get_try_crop(&entity->subdev, cfg, pad);
subdev            182 drivers/media/platform/vsp1/vsp1_entity.c int vsp1_entity_init_cfg(struct v4l2_subdev *subdev,
subdev            188 drivers/media/platform/vsp1/vsp1_entity.c 	for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) {
subdev            195 drivers/media/platform/vsp1/vsp1_entity.c 		v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format);
subdev            210 drivers/media/platform/vsp1/vsp1_entity.c int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
subdev            214 drivers/media/platform/vsp1/vsp1_entity.c 	struct vsp1_entity *entity = to_vsp1_entity(subdev);
subdev            241 drivers/media/platform/vsp1/vsp1_entity.c int vsp1_subdev_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            246 drivers/media/platform/vsp1/vsp1_entity.c 	struct vsp1_entity *entity = to_vsp1_entity(subdev);
subdev            292 drivers/media/platform/vsp1/vsp1_entity.c int vsp1_subdev_enum_frame_size(struct v4l2_subdev *subdev,
subdev            298 drivers/media/platform/vsp1/vsp1_entity.c 	struct vsp1_entity *entity = to_vsp1_entity(subdev);
subdev            355 drivers/media/platform/vsp1/vsp1_entity.c int vsp1_subdev_set_pad_format(struct v4l2_subdev *subdev,
subdev            362 drivers/media/platform/vsp1/vsp1_entity.c 	struct vsp1_entity *entity = to_vsp1_entity(subdev);
subdev            435 drivers/media/platform/vsp1/vsp1_entity.c 	return container_of(entity, struct vsp1_entity, subdev.entity);
subdev            613 drivers/media/platform/vsp1/vsp1_entity.c 	struct v4l2_subdev *subdev;
subdev            653 drivers/media/platform/vsp1/vsp1_entity.c 	ret = media_entity_pads_init(&entity->subdev.entity, num_pads,
subdev            659 drivers/media/platform/vsp1/vsp1_entity.c 	subdev = &entity->subdev;
subdev            660 drivers/media/platform/vsp1/vsp1_entity.c 	v4l2_subdev_init(subdev, ops);
subdev            662 drivers/media/platform/vsp1/vsp1_entity.c 	subdev->entity.function = function;
subdev            663 drivers/media/platform/vsp1/vsp1_entity.c 	subdev->entity.ops = &vsp1->media_ops;
subdev            664 drivers/media/platform/vsp1/vsp1_entity.c 	subdev->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            666 drivers/media/platform/vsp1/vsp1_entity.c 	snprintf(subdev->name, sizeof(subdev->name), "%s %s",
subdev            669 drivers/media/platform/vsp1/vsp1_entity.c 	vsp1_entity_init_cfg(subdev, NULL);
subdev            675 drivers/media/platform/vsp1/vsp1_entity.c 	entity->config = v4l2_subdev_alloc_pad_config(&entity->subdev);
subdev            677 drivers/media/platform/vsp1/vsp1_entity.c 		media_entity_cleanup(&entity->subdev.entity);
subdev            688 drivers/media/platform/vsp1/vsp1_entity.c 	if (entity->subdev.ctrl_handler)
subdev            689 drivers/media/platform/vsp1/vsp1_entity.c 		v4l2_ctrl_handler_free(entity->subdev.ctrl_handler);
subdev            691 drivers/media/platform/vsp1/vsp1_entity.c 	media_entity_cleanup(&entity->subdev.entity);
subdev            117 drivers/media/platform/vsp1/vsp1_entity.h 	struct v4l2_subdev subdev;
subdev            123 drivers/media/platform/vsp1/vsp1_entity.h static inline struct vsp1_entity *to_vsp1_entity(struct v4l2_subdev *subdev)
subdev            125 drivers/media/platform/vsp1/vsp1_entity.h 	return container_of(subdev, struct vsp1_entity, subdev);
subdev            151 drivers/media/platform/vsp1/vsp1_entity.h int vsp1_entity_init_cfg(struct v4l2_subdev *subdev,
subdev            175 drivers/media/platform/vsp1/vsp1_entity.h int vsp1_subdev_get_pad_format(struct v4l2_subdev *subdev,
subdev            178 drivers/media/platform/vsp1/vsp1_entity.h int vsp1_subdev_set_pad_format(struct v4l2_subdev *subdev,
subdev            184 drivers/media/platform/vsp1/vsp1_entity.h int vsp1_subdev_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            188 drivers/media/platform/vsp1/vsp1_entity.h int vsp1_subdev_enum_frame_size(struct v4l2_subdev *subdev,
subdev             43 drivers/media/platform/vsp1/vsp1_hgo.c 	struct vsp1_hgo *hgo = to_hgo(&entity->subdev);
subdev            137 drivers/media/platform/vsp1/vsp1_hgo.c 	struct vsp1_hgo *hgo = to_hgo(&entity->subdev);
subdev            210 drivers/media/platform/vsp1/vsp1_hgo.c 	hgo->histo.entity.subdev.ctrl_handler = &hgo->ctrls.handler;
subdev             33 drivers/media/platform/vsp1/vsp1_hgo.h static inline struct vsp1_hgo *to_hgo(struct v4l2_subdev *subdev)
subdev             35 drivers/media/platform/vsp1/vsp1_hgo.h 	return container_of(subdev, struct vsp1_hgo, histo.entity.subdev);
subdev             43 drivers/media/platform/vsp1/vsp1_hgt.c 	struct vsp1_hgt *hgt = to_hgt(&entity->subdev);
subdev            133 drivers/media/platform/vsp1/vsp1_hgt.c 	struct vsp1_hgt *hgt = to_hgt(&entity->subdev);
subdev            200 drivers/media/platform/vsp1/vsp1_hgt.c 	hgt->histo.entity.subdev.ctrl_handler = &hgt->ctrls;
subdev             30 drivers/media/platform/vsp1/vsp1_hgt.h static inline struct vsp1_hgt *to_hgt(struct v4l2_subdev *subdev)
subdev             32 drivers/media/platform/vsp1/vsp1_hgt.h 	return container_of(subdev, struct vsp1_hgt, histo.entity.subdev);
subdev            172 drivers/media/platform/vsp1/vsp1_histo.c static int histo_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            176 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            183 drivers/media/platform/vsp1/vsp1_histo.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, histo->formats,
subdev            187 drivers/media/platform/vsp1/vsp1_histo.c static int histo_enum_frame_size(struct v4l2_subdev *subdev,
subdev            194 drivers/media/platform/vsp1/vsp1_histo.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, HISTO_MIN_SIZE,
subdev            199 drivers/media/platform/vsp1/vsp1_histo.c static int histo_get_selection(struct v4l2_subdev *subdev,
subdev            203 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            258 drivers/media/platform/vsp1/vsp1_histo.c static int histo_set_crop(struct v4l2_subdev *subdev,
subdev            262 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            289 drivers/media/platform/vsp1/vsp1_histo.c static int histo_set_compose(struct v4l2_subdev *subdev,
subdev            293 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            340 drivers/media/platform/vsp1/vsp1_histo.c static int histo_set_selection(struct v4l2_subdev *subdev,
subdev            344 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            360 drivers/media/platform/vsp1/vsp1_histo.c 		ret = histo_set_crop(subdev, config, sel);
subdev            362 drivers/media/platform/vsp1/vsp1_histo.c 		ret = histo_set_compose(subdev, config, sel);
subdev            371 drivers/media/platform/vsp1/vsp1_histo.c static int histo_get_format(struct v4l2_subdev *subdev,
subdev            384 drivers/media/platform/vsp1/vsp1_histo.c 	return vsp1_subdev_get_pad_format(subdev, cfg, fmt);
subdev            387 drivers/media/platform/vsp1/vsp1_histo.c static int histo_set_format(struct v4l2_subdev *subdev,
subdev            391 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(subdev);
subdev            394 drivers/media/platform/vsp1/vsp1_histo.c 		return histo_get_format(subdev, cfg, fmt);
subdev            396 drivers/media/platform/vsp1/vsp1_histo.c 	return vsp1_subdev_set_pad_format(subdev, cfg, fmt,
subdev            509 drivers/media/platform/vsp1/vsp1_histo.c 	struct vsp1_histogram *histo = subdev_to_histo(&entity->subdev);
subdev            553 drivers/media/platform/vsp1/vsp1_histo.c 		 "%s histo", histo->entity.subdev.name);
subdev             59 drivers/media/platform/vsp1/vsp1_histo.h static inline struct vsp1_histogram *subdev_to_histo(struct v4l2_subdev *subdev)
subdev             61 drivers/media/platform/vsp1/vsp1_histo.h 	return container_of(subdev, struct vsp1_histogram, entity.subdev);
subdev             36 drivers/media/platform/vsp1/vsp1_hsit.c static int hsit_enum_mbus_code(struct v4l2_subdev *subdev,
subdev             40 drivers/media/platform/vsp1/vsp1_hsit.c 	struct vsp1_hsit *hsit = to_hsit(subdev);
subdev             54 drivers/media/platform/vsp1/vsp1_hsit.c static int hsit_enum_frame_size(struct v4l2_subdev *subdev,
subdev             58 drivers/media/platform/vsp1/vsp1_hsit.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, HSIT_MIN_SIZE,
subdev             63 drivers/media/platform/vsp1/vsp1_hsit.c static int hsit_set_format(struct v4l2_subdev *subdev,
subdev             67 drivers/media/platform/vsp1/vsp1_hsit.c 	struct vsp1_hsit *hsit = to_hsit(subdev);
subdev            135 drivers/media/platform/vsp1/vsp1_hsit.c 	struct vsp1_hsit *hsit = to_hsit(&entity->subdev);
subdev             27 drivers/media/platform/vsp1/vsp1_hsit.h static inline struct vsp1_hsit *to_hsit(struct v4l2_subdev *subdev)
subdev             29 drivers/media/platform/vsp1/vsp1_hsit.h 	return container_of(subdev, struct vsp1_hsit, entity.subdev);
subdev             42 drivers/media/platform/vsp1/vsp1_lif.c static int lif_enum_mbus_code(struct v4l2_subdev *subdev,
subdev             46 drivers/media/platform/vsp1/vsp1_lif.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, lif_codes,
subdev             50 drivers/media/platform/vsp1/vsp1_lif.c static int lif_enum_frame_size(struct v4l2_subdev *subdev,
subdev             54 drivers/media/platform/vsp1/vsp1_lif.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, LIF_MIN_SIZE,
subdev             59 drivers/media/platform/vsp1/vsp1_lif.c static int lif_set_format(struct v4l2_subdev *subdev,
subdev             63 drivers/media/platform/vsp1/vsp1_lif.c 	return vsp1_subdev_set_pad_format(subdev, cfg, fmt, lif_codes,
subdev             91 drivers/media/platform/vsp1/vsp1_lif.c 	struct vsp1_lif *lif = to_lif(&entity->subdev);
subdev             26 drivers/media/platform/vsp1/vsp1_lif.h static inline struct vsp1_lif *to_lif(struct v4l2_subdev *subdev)
subdev             28 drivers/media/platform/vsp1/vsp1_lif.h 	return container_of(subdev, struct vsp1_lif, entity.subdev);
subdev            101 drivers/media/platform/vsp1/vsp1_lut.c static int lut_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            105 drivers/media/platform/vsp1/vsp1_lut.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, lut_codes,
subdev            109 drivers/media/platform/vsp1/vsp1_lut.c static int lut_enum_frame_size(struct v4l2_subdev *subdev,
subdev            113 drivers/media/platform/vsp1/vsp1_lut.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, LUT_MIN_SIZE,
subdev            118 drivers/media/platform/vsp1/vsp1_lut.c static int lut_set_format(struct v4l2_subdev *subdev,
subdev            122 drivers/media/platform/vsp1/vsp1_lut.c 	return vsp1_subdev_set_pad_format(subdev, cfg, fmt, lut_codes,
subdev            153 drivers/media/platform/vsp1/vsp1_lut.c 	struct vsp1_lut *lut = to_lut(&entity->subdev);
subdev            163 drivers/media/platform/vsp1/vsp1_lut.c 	struct vsp1_lut *lut = to_lut(&entity->subdev);
subdev            182 drivers/media/platform/vsp1/vsp1_lut.c 	struct vsp1_lut *lut = to_lut(&entity->subdev);
subdev            229 drivers/media/platform/vsp1/vsp1_lut.c 	lut->entity.subdev.ctrl_handler = &lut->ctrls;
subdev             35 drivers/media/platform/vsp1/vsp1_lut.h static inline struct vsp1_lut *to_lut(struct v4l2_subdev *subdev)
subdev             37 drivers/media/platform/vsp1/vsp1_lut.h 	return container_of(subdev, struct vsp1_lut, entity.subdev);
subdev            250 drivers/media/platform/vsp1/vsp1_pipe.c 		struct vsp1_brx *brx = to_brx(&pipe->brx->subdev);
subdev            358 drivers/media/platform/vsp1/vsp1_pipe.c 	v4l2_subdev_call(&pipe->output->entity.subdev, video, s_stream, 0);
subdev             63 drivers/media/platform/vsp1/vsp1_rpf.c 	struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev);
subdev            231 drivers/media/platform/vsp1/vsp1_rpf.c 	struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev);
subdev            246 drivers/media/platform/vsp1/vsp1_rpf.c 	struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev);
subdev             22 drivers/media/platform/vsp1/vsp1_rwpf.c 	return v4l2_subdev_get_try_crop(&rwpf->entity.subdev, config,
subdev             30 drivers/media/platform/vsp1/vsp1_rwpf.c static int vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev,
subdev             48 drivers/media/platform/vsp1/vsp1_rwpf.c static int vsp1_rwpf_enum_frame_size(struct v4l2_subdev *subdev,
subdev             52 drivers/media/platform/vsp1/vsp1_rwpf.c 	struct vsp1_rwpf *rwpf = to_rwpf(subdev);
subdev             54 drivers/media/platform/vsp1/vsp1_rwpf.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, RWPF_MIN_WIDTH,
subdev             59 drivers/media/platform/vsp1/vsp1_rwpf.c static int vsp1_rwpf_set_format(struct v4l2_subdev *subdev,
subdev             63 drivers/media/platform/vsp1/vsp1_rwpf.c 	struct vsp1_rwpf *rwpf = to_rwpf(subdev);
subdev            130 drivers/media/platform/vsp1/vsp1_rwpf.c static int vsp1_rwpf_get_selection(struct v4l2_subdev *subdev,
subdev            134 drivers/media/platform/vsp1/vsp1_rwpf.c 	struct vsp1_rwpf *rwpf = to_rwpf(subdev);
subdev            178 drivers/media/platform/vsp1/vsp1_rwpf.c static int vsp1_rwpf_set_selection(struct v4l2_subdev *subdev,
subdev            182 drivers/media/platform/vsp1/vsp1_rwpf.c 	struct vsp1_rwpf *rwpf = to_rwpf(subdev);
subdev            280 drivers/media/platform/vsp1/vsp1_rwpf.c 	rwpf->entity.subdev.ctrl_handler = &rwpf->ctrls;
subdev             69 drivers/media/platform/vsp1/vsp1_rwpf.h static inline struct vsp1_rwpf *to_rwpf(struct v4l2_subdev *subdev)
subdev             71 drivers/media/platform/vsp1/vsp1_rwpf.h 	return container_of(subdev, struct vsp1_rwpf, entity.subdev);
subdev            108 drivers/media/platform/vsp1/vsp1_sru.c static int sru_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            117 drivers/media/platform/vsp1/vsp1_sru.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, codes,
subdev            121 drivers/media/platform/vsp1/vsp1_sru.c static int sru_enum_frame_size(struct v4l2_subdev *subdev,
subdev            125 drivers/media/platform/vsp1/vsp1_sru.c 	struct vsp1_sru *sru = to_sru(subdev);
subdev            218 drivers/media/platform/vsp1/vsp1_sru.c static int sru_set_format(struct v4l2_subdev *subdev,
subdev            222 drivers/media/platform/vsp1/vsp1_sru.c 	struct vsp1_sru *sru = to_sru(subdev);
subdev            276 drivers/media/platform/vsp1/vsp1_sru.c 	struct vsp1_sru *sru = to_sru(&entity->subdev);
subdev            307 drivers/media/platform/vsp1/vsp1_sru.c 	struct vsp1_sru *sru = to_sru(&entity->subdev);
subdev            333 drivers/media/platform/vsp1/vsp1_sru.c 	struct vsp1_sru *sru = to_sru(&entity->subdev);
subdev            384 drivers/media/platform/vsp1/vsp1_sru.c 	sru->entity.subdev.ctrl_handler = &sru->ctrls;
subdev             31 drivers/media/platform/vsp1/vsp1_sru.h static inline struct vsp1_sru *to_sru(struct v4l2_subdev *subdev)
subdev             33 drivers/media/platform/vsp1/vsp1_sru.h 	return container_of(subdev, struct vsp1_sru, entity.subdev);
subdev             43 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(&entity->subdev);
subdev            113 drivers/media/platform/vsp1/vsp1_uds.c static int uds_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            122 drivers/media/platform/vsp1/vsp1_uds.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, codes,
subdev            126 drivers/media/platform/vsp1/vsp1_uds.c static int uds_enum_frame_size(struct v4l2_subdev *subdev,
subdev            130 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(subdev);
subdev            202 drivers/media/platform/vsp1/vsp1_uds.c static int uds_set_format(struct v4l2_subdev *subdev,
subdev            206 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(subdev);
subdev            263 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(&entity->subdev);
subdev            311 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(&entity->subdev);
subdev            335 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(&entity->subdev);
subdev            374 drivers/media/platform/vsp1/vsp1_uds.c 	struct vsp1_uds *uds = to_uds(&entity->subdev);
subdev             27 drivers/media/platform/vsp1/vsp1_uds.h static inline struct vsp1_uds *to_uds(struct v4l2_subdev *subdev)
subdev             29 drivers/media/platform/vsp1/vsp1_uds.h 	return container_of(subdev, struct vsp1_uds, entity.subdev);
subdev             56 drivers/media/platform/vsp1/vsp1_uif.c static int uif_enum_mbus_code(struct v4l2_subdev *subdev,
subdev             60 drivers/media/platform/vsp1/vsp1_uif.c 	return vsp1_subdev_enum_mbus_code(subdev, cfg, code, uif_codes,
subdev             64 drivers/media/platform/vsp1/vsp1_uif.c static int uif_enum_frame_size(struct v4l2_subdev *subdev,
subdev             68 drivers/media/platform/vsp1/vsp1_uif.c 	return vsp1_subdev_enum_frame_size(subdev, cfg, fse, UIF_MIN_SIZE,
subdev             73 drivers/media/platform/vsp1/vsp1_uif.c static int uif_set_format(struct v4l2_subdev *subdev,
subdev             77 drivers/media/platform/vsp1/vsp1_uif.c 	return vsp1_subdev_set_pad_format(subdev, cfg, fmt, uif_codes,
subdev             83 drivers/media/platform/vsp1/vsp1_uif.c static int uif_get_selection(struct v4l2_subdev *subdev,
subdev             87 drivers/media/platform/vsp1/vsp1_uif.c 	struct vsp1_uif *uif = to_uif(subdev);
subdev            129 drivers/media/platform/vsp1/vsp1_uif.c static int uif_set_selection(struct v4l2_subdev *subdev,
subdev            133 drivers/media/platform/vsp1/vsp1_uif.c 	struct vsp1_uif *uif = to_uif(subdev);
subdev            198 drivers/media/platform/vsp1/vsp1_uif.c 	struct vsp1_uif *uif = to_uif(&entity->subdev);
subdev             24 drivers/media/platform/vsp1/vsp1_uif.h static inline struct vsp1_uif *to_uif(struct v4l2_subdev *subdev)
subdev             26 drivers/media/platform/vsp1/vsp1_uif.h 	return container_of(subdev, struct vsp1_uif, entity.subdev);
subdev             66 drivers/media/platform/vsp1/vsp1_video.c 	struct v4l2_subdev *subdev;
subdev             69 drivers/media/platform/vsp1/vsp1_video.c 	subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad);
subdev             70 drivers/media/platform/vsp1/vsp1_video.c 	if (subdev == NULL)
subdev             74 drivers/media/platform/vsp1/vsp1_video.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            516 drivers/media/platform/vsp1/vsp1_video.c 			brx = to_brx(&entity->subdev);
subdev            527 drivers/media/platform/vsp1/vsp1_video.c 						   &entity->subdev.entity)) {
subdev            575 drivers/media/platform/vsp1/vsp1_video.c 		struct v4l2_subdev *subdev;
subdev            582 drivers/media/platform/vsp1/vsp1_video.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            583 drivers/media/platform/vsp1/vsp1_video.c 		e = to_vsp1_entity(subdev);
subdev            589 drivers/media/platform/vsp1/vsp1_video.c 			rwpf = to_rwpf(subdev);
subdev            595 drivers/media/platform/vsp1/vsp1_video.c 			rwpf = to_rwpf(subdev);
subdev            797 drivers/media/platform/vsp1/vsp1_video.c 		struct vsp1_uds *uds = to_uds(&pipe->uds->subdev);
subdev            811 drivers/media/platform/vsp1/vsp1_video.c 				to_rwpf(&pipe->uds_input->subdev);
subdev           1295 drivers/media/platform/vsp1/vsp1_video.c 		 rwpf->entity.subdev.name, direction);
subdev            192 drivers/media/platform/vsp1/vsp1_wpf.c static int wpf_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            194 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_rwpf *wpf = to_rwpf(subdev);
subdev            261 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
subdev            372 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
subdev            396 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
subdev            536 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
subdev             61 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_subdev *subdev;
subdev             64 drivers/media/platform/xilinx/xilinx-dma.c 	subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad);
subdev             65 drivers/media/platform/xilinx/xilinx-dma.c 	if (subdev == NULL)
subdev             69 drivers/media/platform/xilinx/xilinx-dma.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            102 drivers/media/platform/xilinx/xilinx-dma.c 	struct v4l2_subdev *subdev;
subdev            116 drivers/media/platform/xilinx/xilinx-dma.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            118 drivers/media/platform/xilinx/xilinx-dma.c 		ret = v4l2_subdev_call(subdev, video, s_stream, start);
subdev            110 drivers/media/platform/xilinx/xilinx-tpg.c static inline struct xtpg_device *to_tpg(struct v4l2_subdev *subdev)
subdev            112 drivers/media/platform/xilinx/xilinx-tpg.c 	return container_of(subdev, struct xtpg_device, xvip.subdev);
subdev            167 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_s_stream(struct v4l2_subdev *subdev, int enable)
subdev            169 drivers/media/platform/xilinx/xilinx-tpg.c 	struct xtpg_device *xtpg = to_tpg(subdev);
subdev            259 drivers/media/platform/xilinx/xilinx-tpg.c 		return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad);
subdev            267 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_get_format(struct v4l2_subdev *subdev,
subdev            271 drivers/media/platform/xilinx/xilinx-tpg.c 	struct xtpg_device *xtpg = to_tpg(subdev);
subdev            278 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_set_format(struct v4l2_subdev *subdev,
subdev            282 drivers/media/platform/xilinx/xilinx-tpg.c 	struct xtpg_device *xtpg = to_tpg(subdev);
subdev            320 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_enum_frame_size(struct v4l2_subdev *subdev,
subdev            326 drivers/media/platform/xilinx/xilinx-tpg.c 	format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad);
subdev            349 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            351 drivers/media/platform/xilinx/xilinx-tpg.c 	struct xtpg_device *xtpg = to_tpg(subdev);
subdev            354 drivers/media/platform/xilinx/xilinx-tpg.c 	format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
subdev            358 drivers/media/platform/xilinx/xilinx-tpg.c 		format = v4l2_subdev_get_try_format(subdev, fh->pad, 1);
subdev            365 drivers/media/platform/xilinx/xilinx-tpg.c static int xtpg_close(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
subdev            769 drivers/media/platform/xilinx/xilinx-tpg.c 	struct v4l2_subdev *subdev;
subdev            829 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev = &xtpg->xvip.subdev;
subdev            830 drivers/media/platform/xilinx/xilinx-tpg.c 	v4l2_subdev_init(subdev, &xtpg_ops);
subdev            831 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev->dev = &pdev->dev;
subdev            832 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev->internal_ops = &xtpg_internal_ops;
subdev            833 drivers/media/platform/xilinx/xilinx-tpg.c 	strscpy(subdev->name, dev_name(&pdev->dev), sizeof(subdev->name));
subdev            834 drivers/media/platform/xilinx/xilinx-tpg.c 	v4l2_set_subdevdata(subdev, xtpg);
subdev            835 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
subdev            836 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev->entity.ops = &xtpg_media_ops;
subdev            838 drivers/media/platform/xilinx/xilinx-tpg.c 	ret = media_entity_pads_init(&subdev->entity, xtpg->npads, xtpg->pads);
subdev            863 drivers/media/platform/xilinx/xilinx-tpg.c 	subdev->ctrl_handler = &xtpg->ctrl_handler;
subdev            877 drivers/media/platform/xilinx/xilinx-tpg.c 	ret = v4l2_async_register_subdev(subdev);
subdev            887 drivers/media/platform/xilinx/xilinx-tpg.c 	media_entity_cleanup(&subdev->entity);
subdev            897 drivers/media/platform/xilinx/xilinx-tpg.c 	struct v4l2_subdev *subdev = &xtpg->xvip.subdev;
subdev            899 drivers/media/platform/xilinx/xilinx-tpg.c 	v4l2_async_unregister_subdev(subdev);
subdev            901 drivers/media/platform/xilinx/xilinx-tpg.c 	media_entity_cleanup(&subdev->entity);
subdev            248 drivers/media/platform/xilinx/xilinx-vip.c int xvip_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            263 drivers/media/platform/xilinx/xilinx-vip.c 	format = v4l2_subdev_get_try_format(subdev, cfg, code->pad);
subdev            286 drivers/media/platform/xilinx/xilinx-vip.c int xvip_enum_frame_size(struct v4l2_subdev *subdev,
subdev            298 drivers/media/platform/xilinx/xilinx-vip.c 	format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad);
subdev             97 drivers/media/platform/xilinx/xilinx-vip.h 	struct v4l2_subdev subdev;
subdev            127 drivers/media/platform/xilinx/xilinx-vip.h int xvip_enum_mbus_code(struct v4l2_subdev *subdev,
subdev            130 drivers/media/platform/xilinx/xilinx-vip.h int xvip_enum_frame_size(struct v4l2_subdev *subdev,
subdev             39 drivers/media/platform/xilinx/xilinx-vipp.c 	struct v4l2_subdev *subdev;
subdev            314 drivers/media/platform/xilinx/xilinx-vipp.c 				   struct v4l2_subdev *subdev,
subdev            328 drivers/media/platform/xilinx/xilinx-vipp.c 		if (entity->asd.match.fwnode != subdev->fwnode)
subdev            331 drivers/media/platform/xilinx/xilinx-vipp.c 		if (entity->subdev) {
subdev            337 drivers/media/platform/xilinx/xilinx-vipp.c 		dev_dbg(xdev->dev, "subdev %s bound\n", subdev->name);
subdev            338 drivers/media/platform/xilinx/xilinx-vipp.c 		entity->entity = &subdev->entity;
subdev            339 drivers/media/platform/xilinx/xilinx-vipp.c 		entity->subdev = subdev;
subdev            343 drivers/media/platform/xilinx/xilinx-vipp.c 	dev_err(xdev->dev, "no entity for subdev %s\n", subdev->name);
subdev            163 drivers/media/radio/si4713/radio-platform-si4713.c 	sd = i2c_get_clientdata(pdata->subdev);
subdev           1602 drivers/media/radio/si4713/si4713.c 	si4713_pdev_pdata.subdev = client;
subdev            252 drivers/media/radio/si4713/si4713.h 	struct i2c_client *subdev;
subdev             14 drivers/media/rc/img-ir/img-ir-sony.c 	unsigned int dev, subdev, func;
subdev             23 drivers/media/rc/img-ir/img-ir-sony.c 		subdev = 0;
subdev             32 drivers/media/rc/img-ir/img-ir-sony.c 		subdev = 0;
subdev             42 drivers/media/rc/img-ir/img-ir-sony.c 		subdev = raw & 0xff;	/* next 8 bits */
subdev             48 drivers/media/rc/img-ir/img-ir-sony.c 	request->scancode = dev << 16 | subdev << 8 | func;
subdev             56 drivers/media/rc/img-ir/img-ir-sony.c 	unsigned int dev, subdev, func;
subdev             62 drivers/media/rc/img-ir/img-ir-sony.c 	subdev   = (in->data >> 8)  & 0xff;
subdev             76 drivers/media/rc/img-ir/img-ir-sony.c 		if (subdev & subdev_m)
subdev            105 drivers/media/rc/img-ir/img-ir-sony.c 	subdev &= subdev_m;
subdev            110 drivers/media/rc/img-ir/img-ir-sony.c 		    subdev   << 15;
subdev            373 drivers/media/tuners/fc2580.c 	return container_of(sd, struct fc2580_dev, subdev);
subdev            503 drivers/media/tuners/fc2580.c 	if (dev->subdev.ops)
subdev            504 drivers/media/tuners/fc2580.c 		return &dev->subdev;
subdev            571 drivers/media/tuners/fc2580.c 	dev->subdev.ctrl_handler = &dev->hdl;
subdev            574 drivers/media/tuners/fc2580.c 	v4l2_i2c_subdev_init(&dev->subdev, client, &fc2580_subdev_ops);
subdev            123 drivers/media/tuners/fc2580_priv.h 	struct v4l2_subdev subdev;
subdev           1182 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	struct v4l2_subdev *subdev = NULL;
subdev           1230 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = i2c_get_clientdata(client);
subdev           1252 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = fc2580_pdata.get_v4l2_subdev(client);
subdev           1329 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			subdev = i2c_get_clientdata(client);
subdev           1362 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		pdata.v4l2_subdev = subdev;
subdev            375 drivers/media/usb/em28xx/em28xx-camera.c 		struct v4l2_subdev *subdev;
subdev            396 drivers/media/usb/em28xx/em28xx-camera.c 		subdev =
subdev            399 drivers/media/usb/em28xx/em28xx-camera.c 		if (!subdev)
subdev            405 drivers/media/usb/em28xx/em28xx-camera.c 		v4l2_subdev_call(subdev, pad, set_fmt, NULL, &format);
subdev             27 drivers/media/usb/uvc/uvc_entity.c 	     : &entity->subdev.entity;
subdev             45 drivers/media/usb/uvc/uvc_entity.c 		       : &remote->subdev.entity;
subdev             65 drivers/media/usb/uvc/uvc_entity.c 		media_entity_cleanup(&entity->subdev.entity);
subdev             76 drivers/media/usb/uvc/uvc_entity.c 		v4l2_subdev_init(&entity->subdev, &uvc_subdev_ops);
subdev             77 drivers/media/usb/uvc/uvc_entity.c 		strscpy(entity->subdev.name, entity->name,
subdev             78 drivers/media/usb/uvc/uvc_entity.c 			sizeof(entity->subdev.name));
subdev             80 drivers/media/usb/uvc/uvc_entity.c 		ret = media_entity_pads_init(&entity->subdev.entity,
subdev             87 drivers/media/usb/uvc/uvc_entity.c 						  &entity->subdev);
subdev            306 drivers/media/usb/uvc/uvcvideo.h 	struct v4l2_subdev subdev;
subdev             26 drivers/media/v4l2-core/v4l2-async.c 					  struct v4l2_subdev *subdev,
subdev             32 drivers/media/v4l2-core/v4l2-async.c 	return n->ops->bound(n, subdev, asd);
subdev             36 drivers/media/v4l2-core/v4l2-async.c 					    struct v4l2_subdev *subdev,
subdev             42 drivers/media/v4l2-core/v4l2-async.c 	n->ops->unbind(n, subdev, asd);
subdev            367 drivers/media/v4l2-core/v4l2-mc.c 	struct v4l2_subdev *subdev;
subdev            370 drivers/media/v4l2-core/v4l2-mc.c 	subdev = is_media_entity_v4l2_subdev(entity)
subdev            373 drivers/media/v4l2-core/v4l2-mc.c 	if (entity->use_count == 0 && change > 0 && subdev != NULL) {
subdev            374 drivers/media/v4l2-core/v4l2-mc.c 		ret = v4l2_subdev_call(subdev, core, s_power, 1);
subdev            382 drivers/media/v4l2-core/v4l2-mc.c 	if (entity->use_count == 0 && change < 0 && subdev != NULL)
subdev            383 drivers/media/v4l2-core/v4l2-mc.c 		v4l2_subdev_call(subdev, core, s_power, 0);
subdev            462 drivers/mfd/da903x.c 	struct da903x_subdev_info *subdev;
subdev            467 drivers/mfd/da903x.c 		subdev = &pdata->subdevs[i];
subdev            469 drivers/mfd/da903x.c 		pdev = platform_device_alloc(subdev->name, subdev->id);
subdev            476 drivers/mfd/da903x.c 		pdev->dev.platform_data = subdev->platform_data;
subdev            376 drivers/mfd/ezx-pcap.c 						struct pcap_subdev *subdev)
subdev            381 drivers/mfd/ezx-pcap.c 	pdev = platform_device_alloc(subdev->name, subdev->id);
subdev            386 drivers/mfd/ezx-pcap.c 	pdev->dev.platform_data = subdev->platform_data;
subdev            386 drivers/mfd/tps6586x.c 	struct tps6586x_subdev_info *subdev;
subdev            391 drivers/mfd/tps6586x.c 		subdev = &pdata->subdevs[i];
subdev            393 drivers/mfd/tps6586x.c 		pdev = platform_device_alloc(subdev->name, subdev->id);
subdev            400 drivers/mfd/tps6586x.c 		pdev->dev.platform_data = subdev->platform_data;
subdev            401 drivers/mfd/tps6586x.c 		pdev->dev.of_node = subdev->of_node;
subdev             89 drivers/mmc/host/sdhci-pci.h #define _PCI_SUBDEV(subvend, subdev) PCI_SUBDEVICE_ID_##subvend##_##subdev
subdev             97 drivers/mmc/host/sdhci-pci.h #define SDHCI_PCI_SUBDEVICE(vend, dev, subvend, subdev, cfg) { \
subdev            100 drivers/mmc/host/sdhci-pci.h 	.subdevice = _PCI_SUBDEV(subvend, subdev), \
subdev             37 drivers/mtd/maps/sa1100-flash.c 	struct sa_subdev_info	subdev[0];
subdev             44 drivers/mtd/maps/sa1100-flash.c 	struct sa_subdev_info *subdev = container_of(map, struct sa_subdev_info, map);
subdev             50 drivers/mtd/maps/sa1100-flash.c 			subdev->plat->set_vpp(1);
subdev             53 drivers/mtd/maps/sa1100-flash.c 			subdev->plat->set_vpp(0);
subdev             58 drivers/mtd/maps/sa1100-flash.c static void sa1100_destroy_subdev(struct sa_subdev_info *subdev)
subdev             60 drivers/mtd/maps/sa1100-flash.c 	if (subdev->mtd)
subdev             61 drivers/mtd/maps/sa1100-flash.c 		map_destroy(subdev->mtd);
subdev             62 drivers/mtd/maps/sa1100-flash.c 	if (subdev->map.virt)
subdev             63 drivers/mtd/maps/sa1100-flash.c 		iounmap(subdev->map.virt);
subdev             64 drivers/mtd/maps/sa1100-flash.c 	release_mem_region(subdev->map.phys, subdev->map.size);
subdev             67 drivers/mtd/maps/sa1100-flash.c static int sa1100_probe_subdev(struct sa_subdev_info *subdev, struct resource *res)
subdev             87 drivers/mtd/maps/sa1100-flash.c 		subdev->map.bankwidth = (MSC0 & MSC_RBW) ? 2 : 4;
subdev             91 drivers/mtd/maps/sa1100-flash.c 		subdev->map.bankwidth = ((MSC0 >> 16) & MSC_RBW) ? 2 : 4;
subdev             95 drivers/mtd/maps/sa1100-flash.c 	if (!request_mem_region(phys, size, subdev->name)) {
subdev            100 drivers/mtd/maps/sa1100-flash.c 	if (subdev->plat->set_vpp)
subdev            101 drivers/mtd/maps/sa1100-flash.c 		subdev->map.set_vpp = sa1100_set_vpp;
subdev            103 drivers/mtd/maps/sa1100-flash.c 	subdev->map.phys = phys;
subdev            104 drivers/mtd/maps/sa1100-flash.c 	subdev->map.size = size;
subdev            105 drivers/mtd/maps/sa1100-flash.c 	subdev->map.virt = ioremap(phys, size);
subdev            106 drivers/mtd/maps/sa1100-flash.c 	if (!subdev->map.virt) {
subdev            111 drivers/mtd/maps/sa1100-flash.c 	simple_map_init(&subdev->map);
subdev            117 drivers/mtd/maps/sa1100-flash.c 	subdev->mtd = do_map_probe(subdev->plat->map_name, &subdev->map);
subdev            118 drivers/mtd/maps/sa1100-flash.c 	if (subdev->mtd == NULL) {
subdev            124 drivers/mtd/maps/sa1100-flash.c 		phys, (unsigned)(subdev->mtd->size >> 20),
subdev            125 drivers/mtd/maps/sa1100-flash.c 		subdev->map.bankwidth * 8);
subdev            130 drivers/mtd/maps/sa1100-flash.c 	sa1100_destroy_subdev(subdev);
subdev            141 drivers/mtd/maps/sa1100-flash.c 		if (info->mtd != info->subdev[0].mtd)
subdev            146 drivers/mtd/maps/sa1100-flash.c 		sa1100_destroy_subdev(&info->subdev[i]);
subdev            192 drivers/mtd/maps/sa1100-flash.c 		struct sa_subdev_info *subdev = &info->subdev[i];
subdev            199 drivers/mtd/maps/sa1100-flash.c 		subdev->map.name = subdev->name;
subdev            200 drivers/mtd/maps/sa1100-flash.c 		sprintf(subdev->name, "%s-%d", plat->name, i);
subdev            201 drivers/mtd/maps/sa1100-flash.c 		subdev->plat = plat;
subdev            203 drivers/mtd/maps/sa1100-flash.c 		ret = sa1100_probe_subdev(subdev, res);
subdev            222 drivers/mtd/maps/sa1100-flash.c 		strcpy(info->subdev[0].name, plat->name);
subdev            223 drivers/mtd/maps/sa1100-flash.c 		info->mtd = info->subdev[0].mtd;
subdev            238 drivers/mtd/maps/sa1100-flash.c 			cdev[i] = info->subdev[i].mtd;
subdev             32 drivers/mtd/mtdconcat.c 	struct mtd_info **subdev;
subdev             62 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev             65 drivers/mtd/mtdconcat.c 		if (from >= subdev->size) {
subdev             68 drivers/mtd/mtdconcat.c 			from -= subdev->size;
subdev             71 drivers/mtd/mtdconcat.c 		if (from + len > subdev->size)
subdev             73 drivers/mtd/mtdconcat.c 			size = subdev->size - from;
subdev             78 drivers/mtd/mtdconcat.c 		err = mtd_read(subdev, from, size, &retsize, buf);
subdev            114 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            117 drivers/mtd/mtdconcat.c 		if (to >= subdev->size) {
subdev            119 drivers/mtd/mtdconcat.c 			to -= subdev->size;
subdev            122 drivers/mtd/mtdconcat.c 		if (to + len > subdev->size)
subdev            123 drivers/mtd/mtdconcat.c 			size = subdev->size - to;
subdev            127 drivers/mtd/mtdconcat.c 		err = mtd_write(subdev, to, size, &retsize, buf);
subdev            172 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            175 drivers/mtd/mtdconcat.c 		if (to >= subdev->size) {
subdev            176 drivers/mtd/mtdconcat.c 			to -= subdev->size;
subdev            180 drivers/mtd/mtdconcat.c 		size = min_t(uint64_t, total_len, subdev->size - to);
subdev            193 drivers/mtd/mtdconcat.c 		err = mtd_writev(subdev, &vecs_copy[entry_low],
subdev            228 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            230 drivers/mtd/mtdconcat.c 		if (from >= subdev->size) {
subdev            231 drivers/mtd/mtdconcat.c 			from -= subdev->size;
subdev            236 drivers/mtd/mtdconcat.c 		if (from + devops.len > subdev->size)
subdev            237 drivers/mtd/mtdconcat.c 			devops.len = subdev->size - from;
subdev            239 drivers/mtd/mtdconcat.c 		err = mtd_read_oob(subdev, from, &devops);
subdev            288 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            290 drivers/mtd/mtdconcat.c 		if (to >= subdev->size) {
subdev            291 drivers/mtd/mtdconcat.c 			to -= subdev->size;
subdev            296 drivers/mtd/mtdconcat.c 		if (to + devops.len > subdev->size)
subdev            297 drivers/mtd/mtdconcat.c 			devops.len = subdev->size - to;
subdev            299 drivers/mtd/mtdconcat.c 		err = mtd_write_oob(subdev, to, &devops);
subdev            325 drivers/mtd/mtdconcat.c 	struct mtd_info *subdev;
subdev            391 drivers/mtd/mtdconcat.c 		subdev = concat->subdev[i];
subdev            392 drivers/mtd/mtdconcat.c 		if (subdev->size <= erase->addr) {
subdev            393 drivers/mtd/mtdconcat.c 			erase->addr -= subdev->size;
subdev            394 drivers/mtd/mtdconcat.c 			offset += subdev->size;
subdev            407 drivers/mtd/mtdconcat.c 		subdev = concat->subdev[i];	/* get current subdevice */
subdev            410 drivers/mtd/mtdconcat.c 		if (erase->addr + length > subdev->size)
subdev            411 drivers/mtd/mtdconcat.c 			erase->len = subdev->size - erase->addr;
subdev            416 drivers/mtd/mtdconcat.c 		if ((err = mtd_erase(subdev, erase))) {
subdev            433 drivers/mtd/mtdconcat.c 		offset += subdev->size;
subdev            447 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            450 drivers/mtd/mtdconcat.c 		if (ofs >= subdev->size) {
subdev            452 drivers/mtd/mtdconcat.c 			ofs -= subdev->size;
subdev            455 drivers/mtd/mtdconcat.c 		if (ofs + len > subdev->size)
subdev            456 drivers/mtd/mtdconcat.c 			size = subdev->size - ofs;
subdev            461 drivers/mtd/mtdconcat.c 			err = mtd_lock(subdev, ofs, size);
subdev            463 drivers/mtd/mtdconcat.c 			err = mtd_unlock(subdev, ofs, size);
subdev            494 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            496 drivers/mtd/mtdconcat.c 		if (ofs >= subdev->size) {
subdev            497 drivers/mtd/mtdconcat.c 			ofs -= subdev->size;
subdev            501 drivers/mtd/mtdconcat.c 		if (ofs + len > subdev->size)
subdev            504 drivers/mtd/mtdconcat.c 		return mtd_is_locked(subdev, ofs, len);
subdev            516 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            517 drivers/mtd/mtdconcat.c 		mtd_sync(subdev);
subdev            527 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            528 drivers/mtd/mtdconcat.c 		if ((rc = mtd_suspend(subdev)) < 0)
subdev            540 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            541 drivers/mtd/mtdconcat.c 		mtd_resume(subdev);
subdev            550 drivers/mtd/mtdconcat.c 	if (!mtd_can_have_bb(concat->subdev[0]))
subdev            554 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            556 drivers/mtd/mtdconcat.c 		if (ofs >= subdev->size) {
subdev            557 drivers/mtd/mtdconcat.c 			ofs -= subdev->size;
subdev            561 drivers/mtd/mtdconcat.c 		res = mtd_block_isbad(subdev, ofs);
subdev            574 drivers/mtd/mtdconcat.c 		struct mtd_info *subdev = concat->subdev[i];
subdev            576 drivers/mtd/mtdconcat.c 		if (ofs >= subdev->size) {
subdev            577 drivers/mtd/mtdconcat.c 			ofs -= subdev->size;
subdev            581 drivers/mtd/mtdconcat.c 		err = mtd_block_markbad(subdev, ofs);
subdev            596 drivers/mtd/mtdconcat.c struct mtd_info *mtd_concat_create(struct mtd_info *subdev[],	/* subdevices to concatenate */
subdev            609 drivers/mtd/mtdconcat.c 		printk(KERN_NOTICE "(%d): \"%s\"\n", i, subdev[i]->name);
subdev            621 drivers/mtd/mtdconcat.c 	concat->subdev = (struct mtd_info **) (concat + 1);
subdev            627 drivers/mtd/mtdconcat.c 	concat->mtd.type = subdev[0]->type;
subdev            628 drivers/mtd/mtdconcat.c 	concat->mtd.flags = subdev[0]->flags;
subdev            629 drivers/mtd/mtdconcat.c 	concat->mtd.size = subdev[0]->size;
subdev            630 drivers/mtd/mtdconcat.c 	concat->mtd.erasesize = subdev[0]->erasesize;
subdev            631 drivers/mtd/mtdconcat.c 	concat->mtd.writesize = subdev[0]->writesize;
subdev            634 drivers/mtd/mtdconcat.c 		if (max_writebufsize < subdev[i]->writebufsize)
subdev            635 drivers/mtd/mtdconcat.c 			max_writebufsize = subdev[i]->writebufsize;
subdev            638 drivers/mtd/mtdconcat.c 	concat->mtd.subpage_sft = subdev[0]->subpage_sft;
subdev            639 drivers/mtd/mtdconcat.c 	concat->mtd.oobsize = subdev[0]->oobsize;
subdev            640 drivers/mtd/mtdconcat.c 	concat->mtd.oobavail = subdev[0]->oobavail;
subdev            641 drivers/mtd/mtdconcat.c 	if (subdev[0]->_writev)
subdev            643 drivers/mtd/mtdconcat.c 	if (subdev[0]->_read_oob)
subdev            645 drivers/mtd/mtdconcat.c 	if (subdev[0]->_write_oob)
subdev            647 drivers/mtd/mtdconcat.c 	if (subdev[0]->_block_isbad)
subdev            649 drivers/mtd/mtdconcat.c 	if (subdev[0]->_block_markbad)
subdev            652 drivers/mtd/mtdconcat.c 	concat->mtd.ecc_stats.badblocks = subdev[0]->ecc_stats.badblocks;
subdev            654 drivers/mtd/mtdconcat.c 	concat->subdev[0] = subdev[0];
subdev            657 drivers/mtd/mtdconcat.c 		if (concat->mtd.type != subdev[i]->type) {
subdev            660 drivers/mtd/mtdconcat.c 			       subdev[i]->name);
subdev            663 drivers/mtd/mtdconcat.c 		if (concat->mtd.flags != subdev[i]->flags) {
subdev            668 drivers/mtd/mtdconcat.c 			if ((concat->mtd.flags ^ subdev[i]->
subdev            672 drivers/mtd/mtdconcat.c 				       subdev[i]->name);
subdev            678 drivers/mtd/mtdconcat.c 				    subdev[i]->flags & MTD_WRITEABLE;
subdev            681 drivers/mtd/mtdconcat.c 		concat->mtd.size += subdev[i]->size;
subdev            683 drivers/mtd/mtdconcat.c 			subdev[i]->ecc_stats.badblocks;
subdev            684 drivers/mtd/mtdconcat.c 		if (concat->mtd.writesize   !=  subdev[i]->writesize ||
subdev            685 drivers/mtd/mtdconcat.c 		    concat->mtd.subpage_sft != subdev[i]->subpage_sft ||
subdev            686 drivers/mtd/mtdconcat.c 		    concat->mtd.oobsize    !=  subdev[i]->oobsize ||
subdev            687 drivers/mtd/mtdconcat.c 		    !concat->mtd._read_oob  != !subdev[i]->_read_oob ||
subdev            688 drivers/mtd/mtdconcat.c 		    !concat->mtd._write_oob != !subdev[i]->_write_oob) {
subdev            691 drivers/mtd/mtdconcat.c 			       subdev[i]->name);
subdev            694 drivers/mtd/mtdconcat.c 		concat->subdev[i] = subdev[i];
subdev            698 drivers/mtd/mtdconcat.c 	mtd_set_ooblayout(&concat->mtd, subdev[0]->ooblayout);
subdev            719 drivers/mtd/mtdconcat.c 	max_erasesize = curr_erasesize = subdev[0]->erasesize;
subdev            722 drivers/mtd/mtdconcat.c 		if (subdev[i]->numeraseregions == 0) {
subdev            724 drivers/mtd/mtdconcat.c 			if (subdev[i]->erasesize != curr_erasesize) {
subdev            727 drivers/mtd/mtdconcat.c 				curr_erasesize = subdev[i]->erasesize;
subdev            734 drivers/mtd/mtdconcat.c 			for (j = 0; j < subdev[i]->numeraseregions; j++) {
subdev            737 drivers/mtd/mtdconcat.c 				if (subdev[i]->eraseregions[j].erasesize !=
subdev            741 drivers/mtd/mtdconcat.c 					    subdev[i]->eraseregions[j].
subdev            785 drivers/mtd/mtdconcat.c 		curr_erasesize = subdev[0]->erasesize;
subdev            788 drivers/mtd/mtdconcat.c 			if (subdev[i]->numeraseregions == 0) {
subdev            790 drivers/mtd/mtdconcat.c 				if (subdev[i]->erasesize != curr_erasesize) {
subdev            803 drivers/mtd/mtdconcat.c 					curr_erasesize = subdev[i]->erasesize;
subdev            806 drivers/mtd/mtdconcat.c 				position += subdev[i]->size;
subdev            810 drivers/mtd/mtdconcat.c 				for (j = 0; j < subdev[i]->numeraseregions; j++) {
subdev            812 drivers/mtd/mtdconcat.c 					if (subdev[i]->eraseregions[j].
subdev            823 drivers/mtd/mtdconcat.c 						    subdev[i]->eraseregions[j].
subdev            828 drivers/mtd/mtdconcat.c 					    subdev[i]->eraseregions[j].
subdev           1713 drivers/net/ethernet/alacritech/slicoss.c static bool slic_is_fiber(unsigned short subdev)
subdev           1715 drivers/net/ethernet/alacritech/slicoss.c 	switch (subdev) {
subdev           2093 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c #define BRCMF_PCIE_DEVICE_SUB(dev_id, subvend, subdev)	{ \
subdev           2095 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	subvend, subdev, PCI_CLASS_NETWORK_OTHER << 8, 0xffff00, 0 }
subdev           1501 drivers/net/wireless/intel/iwlegacy/common.h #define IL_PCI_DEVICE(dev, subdev, cfg) \
subdev           1503 drivers/net/wireless/intel/iwlegacy/common.h 	.subvendor = PCI_ANY_ID, .subdevice = (subdev), \
subdev             78 drivers/net/wireless/intel/iwlwifi/pcie/drv.c #define IWL_PCI_DEVICE(dev, subdev, cfg) \
subdev             80 drivers/net/wireless/intel/iwlwifi/pcie/drv.c 	.subvendor = PCI_ANY_ID, .subdevice = (subdev), \
subdev             22 drivers/remoteproc/qcom_common.c #define to_glink_subdev(d) container_of(d, struct qcom_rproc_glink, subdev)
subdev             23 drivers/remoteproc/qcom_common.c #define to_smd_subdev(d) container_of(d, struct qcom_rproc_subdev, subdev)
subdev             24 drivers/remoteproc/qcom_common.c #define to_ssr_subdev(d) container_of(d, struct qcom_rproc_ssr, subdev)
subdev             28 drivers/remoteproc/qcom_common.c static int glink_subdev_start(struct rproc_subdev *subdev)
subdev             30 drivers/remoteproc/qcom_common.c 	struct qcom_rproc_glink *glink = to_glink_subdev(subdev);
subdev             37 drivers/remoteproc/qcom_common.c static void glink_subdev_stop(struct rproc_subdev *subdev, bool crashed)
subdev             39 drivers/remoteproc/qcom_common.c 	struct qcom_rproc_glink *glink = to_glink_subdev(subdev);
subdev             59 drivers/remoteproc/qcom_common.c 	glink->subdev.start = glink_subdev_start;
subdev             60 drivers/remoteproc/qcom_common.c 	glink->subdev.stop = glink_subdev_stop;
subdev             62 drivers/remoteproc/qcom_common.c 	rproc_add_subdev(rproc, &glink->subdev);
subdev             76 drivers/remoteproc/qcom_common.c 	rproc_remove_subdev(rproc, &glink->subdev);
subdev            124 drivers/remoteproc/qcom_common.c static int smd_subdev_start(struct rproc_subdev *subdev)
subdev            126 drivers/remoteproc/qcom_common.c 	struct qcom_rproc_subdev *smd = to_smd_subdev(subdev);
subdev            133 drivers/remoteproc/qcom_common.c static void smd_subdev_stop(struct rproc_subdev *subdev, bool crashed)
subdev            135 drivers/remoteproc/qcom_common.c 	struct qcom_rproc_subdev *smd = to_smd_subdev(subdev);
subdev            155 drivers/remoteproc/qcom_common.c 	smd->subdev.start = smd_subdev_start;
subdev            156 drivers/remoteproc/qcom_common.c 	smd->subdev.stop = smd_subdev_stop;
subdev            158 drivers/remoteproc/qcom_common.c 	rproc_add_subdev(rproc, &smd->subdev);
subdev            172 drivers/remoteproc/qcom_common.c 	rproc_remove_subdev(rproc, &smd->subdev);
subdev            203 drivers/remoteproc/qcom_common.c static void ssr_notify_unprepare(struct rproc_subdev *subdev)
subdev            205 drivers/remoteproc/qcom_common.c 	struct qcom_rproc_ssr *ssr = to_ssr_subdev(subdev);
subdev            223 drivers/remoteproc/qcom_common.c 	ssr->subdev.unprepare = ssr_notify_unprepare;
subdev            225 drivers/remoteproc/qcom_common.c 	rproc_add_subdev(rproc, &ssr->subdev);
subdev            236 drivers/remoteproc/qcom_common.c 	rproc_remove_subdev(rproc, &ssr->subdev);
subdev             12 drivers/remoteproc/qcom_common.h 	struct rproc_subdev subdev;
subdev             20 drivers/remoteproc/qcom_common.h 	struct rproc_subdev subdev;
subdev             28 drivers/remoteproc/qcom_common.h 	struct rproc_subdev subdev;
subdev             22 drivers/remoteproc/qcom_sysmon.c 	struct rproc_subdev subdev;
subdev            427 drivers/remoteproc/qcom_sysmon.c static int sysmon_start(struct rproc_subdev *subdev)
subdev            432 drivers/remoteproc/qcom_sysmon.c static void sysmon_stop(struct rproc_subdev *subdev, bool crashed)
subdev            434 drivers/remoteproc/qcom_sysmon.c 	struct qcom_sysmon *sysmon = container_of(subdev, struct qcom_sysmon, subdev);
subdev            546 drivers/remoteproc/qcom_sysmon.c 	sysmon->subdev.start = sysmon_start;
subdev            547 drivers/remoteproc/qcom_sysmon.c 	sysmon->subdev.stop = sysmon_stop;
subdev            549 drivers/remoteproc/qcom_sysmon.c 	rproc_add_subdev(rproc, &sysmon->subdev);
subdev            577 drivers/remoteproc/qcom_sysmon.c 	rproc_remove_subdev(sysmon->rproc, &sysmon->subdev);
subdev            414 drivers/remoteproc/remoteproc_core.c static int rproc_vdev_do_start(struct rproc_subdev *subdev)
subdev            416 drivers/remoteproc/remoteproc_core.c 	struct rproc_vdev *rvdev = container_of(subdev, struct rproc_vdev, subdev);
subdev            421 drivers/remoteproc/remoteproc_core.c static void rproc_vdev_do_stop(struct rproc_subdev *subdev, bool crashed)
subdev            423 drivers/remoteproc/remoteproc_core.c 	struct rproc_vdev *rvdev = container_of(subdev, struct rproc_vdev, subdev);
subdev            555 drivers/remoteproc/remoteproc_core.c 	rvdev->subdev.start = rproc_vdev_do_start;
subdev            556 drivers/remoteproc/remoteproc_core.c 	rvdev->subdev.stop = rproc_vdev_do_stop;
subdev            558 drivers/remoteproc/remoteproc_core.c 	rproc_add_subdev(rproc, &rvdev->subdev);
subdev            582 drivers/remoteproc/remoteproc_core.c 	rproc_remove_subdev(rproc, &rvdev->subdev);
subdev           1095 drivers/remoteproc/remoteproc_core.c 	struct rproc_subdev *subdev;
subdev           1098 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry(subdev, &rproc->subdevs, node) {
subdev           1099 drivers/remoteproc/remoteproc_core.c 		if (subdev->prepare) {
subdev           1100 drivers/remoteproc/remoteproc_core.c 			ret = subdev->prepare(subdev);
subdev           1109 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry_continue_reverse(subdev, &rproc->subdevs, node) {
subdev           1110 drivers/remoteproc/remoteproc_core.c 		if (subdev->unprepare)
subdev           1111 drivers/remoteproc/remoteproc_core.c 			subdev->unprepare(subdev);
subdev           1119 drivers/remoteproc/remoteproc_core.c 	struct rproc_subdev *subdev;
subdev           1122 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry(subdev, &rproc->subdevs, node) {
subdev           1123 drivers/remoteproc/remoteproc_core.c 		if (subdev->start) {
subdev           1124 drivers/remoteproc/remoteproc_core.c 			ret = subdev->start(subdev);
subdev           1133 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry_continue_reverse(subdev, &rproc->subdevs, node) {
subdev           1134 drivers/remoteproc/remoteproc_core.c 		if (subdev->stop)
subdev           1135 drivers/remoteproc/remoteproc_core.c 			subdev->stop(subdev, true);
subdev           1143 drivers/remoteproc/remoteproc_core.c 	struct rproc_subdev *subdev;
subdev           1145 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry_reverse(subdev, &rproc->subdevs, node) {
subdev           1146 drivers/remoteproc/remoteproc_core.c 		if (subdev->stop)
subdev           1147 drivers/remoteproc/remoteproc_core.c 			subdev->stop(subdev, crashed);
subdev           1153 drivers/remoteproc/remoteproc_core.c 	struct rproc_subdev *subdev;
subdev           1155 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry_reverse(subdev, &rproc->subdevs, node) {
subdev           1156 drivers/remoteproc/remoteproc_core.c 		if (subdev->unprepare)
subdev           1157 drivers/remoteproc/remoteproc_core.c 			subdev->unprepare(subdev);
subdev           2160 drivers/remoteproc/remoteproc_core.c void rproc_add_subdev(struct rproc *rproc, struct rproc_subdev *subdev)
subdev           2162 drivers/remoteproc/remoteproc_core.c 	list_add_tail(&subdev->node, &rproc->subdevs);
subdev           2171 drivers/remoteproc/remoteproc_core.c void rproc_remove_subdev(struct rproc *rproc, struct rproc_subdev *subdev)
subdev           2173 drivers/remoteproc/remoteproc_core.c 	list_del(&subdev->node);
subdev            495 drivers/staging/comedi/comedi.h 	unsigned int subdev;
subdev            590 drivers/staging/comedi/comedi.h 	unsigned int subdev;
subdev            634 drivers/staging/comedi/comedi.h 	unsigned int subdev;
subdev             35 drivers/staging/comedi/comedi_compat32.c 	unsigned int subdev;
subdev             48 drivers/staging/comedi/comedi_compat32.c 	unsigned int subdev;
subdev             70 drivers/staging/comedi/comedi_compat32.c 	unsigned int subdev;
subdev            110 drivers/staging/comedi/comedi_compat32.c 	err |= __get_user(temp.uint, &chaninfo32->subdev);
subdev            111 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(temp.uint, &chaninfo->subdev);
subdev            171 drivers/staging/comedi/comedi_compat32.c 	err |= __get_user(temp.uint, &cmd32->subdev);
subdev            172 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(temp.uint, &cmd->subdev);
subdev            225 drivers/staging/comedi/comedi_compat32.c 	err |= __get_user(temp, &cmd->subdev);
subdev            226 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(temp, &cmd32->subdev);
subdev            330 drivers/staging/comedi/comedi_compat32.c 	err |= __get_user(temp.uint, &insn32->subdev);
subdev            331 drivers/staging/comedi/comedi_compat32.c 	err |= __put_user(temp.uint, &insn->subdev);
subdev           1059 drivers/staging/comedi/comedi_fops.c 	if (it.subdev >= dev->n_subdevices)
subdev           1061 drivers/staging/comedi/comedi_fops.c 	s = &dev->subdevices[it.subdev];
subdev           1082 drivers/staging/comedi/comedi_fops.c 			x = (dev->minor << 28) | (it.subdev << 24) | (i << 16) |
subdev           1347 drivers/staging/comedi/comedi_fops.c 			if (insn->subdev >= dev->n_subdevices) {
subdev           1350 drivers/staging/comedi/comedi_fops.c 					insn->subdev);
subdev           1354 drivers/staging/comedi/comedi_fops.c 			s = &dev->subdevices[insn->subdev];
subdev           1396 drivers/staging/comedi/comedi_fops.c 		if (insn->subdev >= dev->n_subdevices) {
subdev           1398 drivers/staging/comedi/comedi_fops.c 				insn->subdev);
subdev           1402 drivers/staging/comedi/comedi_fops.c 		s = &dev->subdevices[insn->subdev];
subdev           1406 drivers/staging/comedi/comedi_fops.c 				insn->subdev);
subdev           1683 drivers/staging/comedi/comedi_fops.c 	if (cmd->subdev >= dev->n_subdevices) {
subdev           1684 drivers/staging/comedi/comedi_fops.c 		dev_dbg(dev->class_dev, "%d no such subdevice\n", cmd->subdev);
subdev           1688 drivers/staging/comedi/comedi_fops.c 	s = &dev->subdevices[cmd->subdev];
subdev           1692 drivers/staging/comedi/comedi_fops.c 			cmd->subdev);
subdev           1699 drivers/staging/comedi/comedi_fops.c 			cmd->subdev);
subdev           1788 drivers/staging/comedi/comedi_fops.c 	s = &dev->subdevices[cmd.subdev];
subdev           1897 drivers/staging/comedi/comedi_fops.c 	s = &dev->subdevices[cmd.subdev];
subdev             15 drivers/staging/comedi/comedilib.h int comedi_dio_get_config(struct comedi_device *dev, unsigned int subdev,
subdev             17 drivers/staging/comedi/comedilib.h int comedi_dio_config(struct comedi_device *dev, unsigned int subdev,
subdev             19 drivers/staging/comedi/comedilib.h int comedi_dio_bitfield2(struct comedi_device *dev, unsigned int subdev,
subdev            623 drivers/staging/comedi/drivers.c 	_insn.subdev = insn->subdev;
subdev            761 drivers/staging/comedi/drivers/addi_apci_3xxx.c 	int subdev;
subdev            798 drivers/staging/comedi/drivers/addi_apci_3xxx.c 	subdev = 0;
subdev            802 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		s = &dev->subdevices[subdev];
subdev            836 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		subdev++;
subdev            841 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		s = &dev->subdevices[subdev];
subdev            853 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		subdev++;
subdev            858 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		s = &dev->subdevices[subdev];
subdev            866 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		subdev++;
subdev            871 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		s = &dev->subdevices[subdev];
subdev            879 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		subdev++;
subdev            884 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		s = &dev->subdevices[subdev];
subdev            894 drivers/staging/comedi/drivers/addi_apci_3xxx.c 		subdev++;
subdev            152 drivers/staging/comedi/drivers/adl_pci7x3x.c 	int subdev;
subdev            172 drivers/staging/comedi/drivers/adl_pci7x3x.c 	subdev = 0;
subdev            177 drivers/staging/comedi/drivers/adl_pci7x3x.c 		s = &dev->subdevices[subdev];
subdev            188 drivers/staging/comedi/drivers/adl_pci7x3x.c 		subdev++;
subdev            192 drivers/staging/comedi/drivers/adl_pci7x3x.c 			s = &dev->subdevices[subdev];
subdev            203 drivers/staging/comedi/drivers/adl_pci7x3x.c 			subdev++;
subdev            210 drivers/staging/comedi/drivers/adl_pci7x3x.c 		s = &dev->subdevices[subdev];
subdev            221 drivers/staging/comedi/drivers/adl_pci7x3x.c 		subdev++;
subdev            225 drivers/staging/comedi/drivers/adl_pci7x3x.c 			s = &dev->subdevices[subdev];
subdev            236 drivers/staging/comedi/drivers/adl_pci7x3x.c 			subdev++;
subdev            752 drivers/staging/comedi/drivers/adv_pci1710.c 	int ret, subdev, n_subdevices;
subdev            800 drivers/staging/comedi/drivers/adv_pci1710.c 	subdev = 0;
subdev            803 drivers/staging/comedi/drivers/adv_pci1710.c 	s = &dev->subdevices[subdev++];
subdev            831 drivers/staging/comedi/drivers/adv_pci1710.c 		s = &dev->subdevices[subdev++];
subdev            846 drivers/staging/comedi/drivers/adv_pci1710.c 		s = &dev->subdevices[subdev++];
subdev            855 drivers/staging/comedi/drivers/adv_pci1710.c 		s = &dev->subdevices[subdev++];
subdev            864 drivers/staging/comedi/drivers/adv_pci1710.c 		s = &dev->subdevices[subdev++];
subdev            351 drivers/staging/comedi/drivers/adv_pci_dio.c 	int ret, subdev, i, j;
subdev            374 drivers/staging/comedi/drivers/adv_pci_dio.c 	subdev = 0;
subdev            378 drivers/staging/comedi/drivers/adv_pci_dio.c 			s = &dev->subdevices[subdev++];
subdev            394 drivers/staging/comedi/drivers/adv_pci_dio.c 			s = &dev->subdevices[subdev++];
subdev            425 drivers/staging/comedi/drivers/adv_pci_dio.c 			s = &dev->subdevices[subdev++];
subdev            434 drivers/staging/comedi/drivers/adv_pci_dio.c 		s = &dev->subdevices[subdev++];
subdev            446 drivers/staging/comedi/drivers/adv_pci_dio.c 		s = &dev->subdevices[subdev++];
subdev             50 drivers/staging/comedi/drivers/comedi_bond.c 	unsigned int subdev;
subdev            100 drivers/staging/comedi/drivers/comedi_bond.c 			ret = comedi_dio_bitfield2(bdev->dev, bdev->subdev,
subdev            154 drivers/staging/comedi/drivers/comedi_bond.c 		ret = comedi_dio_config(bdev->dev, bdev->subdev, chan, data[0]);
subdev            157 drivers/staging/comedi/drivers/comedi_bond.c 		ret = comedi_dio_get_config(bdev->dev, bdev->subdev, chan,
subdev            232 drivers/staging/comedi/drivers/comedi_bond.c 			bdev->subdev = sdev;
subdev            258 drivers/staging/comedi/drivers/comedi_bond.c 					 bdev->minor, bdev->subdev);
subdev            364 drivers/staging/comedi/drivers/jr3_pci.c 			       int subdev, const u8 *data, size_t size)
subdev            383 drivers/staging/comedi/drivers/jr3_pci.c 			subdev, count, addr);
subdev            399 drivers/staging/comedi/drivers/jr3_pci.c 				lo = &block[subdev].program_lo[addr];
subdev            400 drivers/staging/comedi/drivers/jr3_pci.c 				hi = &block[subdev].program_hi[addr];
subdev            423 drivers/staging/comedi/drivers/jr3_pci.c 	int subdev;
subdev            432 drivers/staging/comedi/drivers/jr3_pci.c 	for (subdev = 0; subdev < dev->n_subdevices; subdev++)
subdev            433 drivers/staging/comedi/drivers/jr3_pci.c 		jr3_write_firmware(dev, subdev, data, size);
subdev           1006 drivers/staging/comedi/drivers/ni_660x.c 	int subdev;
subdev           1069 drivers/staging/comedi/drivers/ni_660x.c 	subdev = 0;
subdev           1071 drivers/staging/comedi/drivers/ni_660x.c 	s = &dev->subdevices[subdev++];
subdev           1128 drivers/staging/comedi/drivers/ni_660x.c 	s = &dev->subdevices[subdev++];
subdev           1152 drivers/staging/comedi/drivers/ni_660x.c 		s = &dev->subdevices[subdev++];
subdev            314 drivers/staging/comedi/drivers/pcl726.c 	int subdev;
subdev            349 drivers/staging/comedi/drivers/pcl726.c 	subdev = board->have_dio ? 3 : 1;
subdev            351 drivers/staging/comedi/drivers/pcl726.c 		subdev++;
subdev            352 drivers/staging/comedi/drivers/pcl726.c 	ret = comedi_alloc_subdevices(dev, subdev);
subdev            356 drivers/staging/comedi/drivers/pcl726.c 	subdev = 0;
subdev            359 drivers/staging/comedi/drivers/pcl726.c 	s = &dev->subdevices[subdev++];
subdev            373 drivers/staging/comedi/drivers/pcl726.c 		s = &dev->subdevices[subdev++];
subdev            382 drivers/staging/comedi/drivers/pcl726.c 		s = &dev->subdevices[subdev++];
subdev            393 drivers/staging/comedi/drivers/pcl726.c 		s = &dev->subdevices[subdev++];
subdev            269 drivers/staging/comedi/drivers/pcl730.c 	int subdev;
subdev            280 drivers/staging/comedi/drivers/pcl730.c 	subdev = 0;
subdev            284 drivers/staging/comedi/drivers/pcl730.c 		s = &dev->subdevices[subdev++];
subdev            300 drivers/staging/comedi/drivers/pcl730.c 		s = &dev->subdevices[subdev++];
subdev            314 drivers/staging/comedi/drivers/pcl730.c 		s = &dev->subdevices[subdev++];
subdev            324 drivers/staging/comedi/drivers/pcl730.c 		s = &dev->subdevices[subdev++];
subdev           1136 drivers/staging/comedi/drivers/pcl812.c 	int subdev;
subdev           1191 drivers/staging/comedi/drivers/pcl812.c 	subdev = 0;
subdev           1194 drivers/staging/comedi/drivers/pcl812.c 	s = &dev->subdevices[subdev];
subdev           1222 drivers/staging/comedi/drivers/pcl812.c 	subdev++;
subdev           1226 drivers/staging/comedi/drivers/pcl812.c 		s = &dev->subdevices[subdev];
subdev           1264 drivers/staging/comedi/drivers/pcl812.c 		subdev++;
subdev           1269 drivers/staging/comedi/drivers/pcl812.c 		s = &dev->subdevices[subdev];
subdev           1276 drivers/staging/comedi/drivers/pcl812.c 		subdev++;
subdev           1279 drivers/staging/comedi/drivers/pcl812.c 		s = &dev->subdevices[subdev];
subdev           1286 drivers/staging/comedi/drivers/pcl812.c 		subdev++;
subdev             81 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	if (insn->subdev >= dev->n_subdevices) {
subdev             85 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	s = &dev->subdevices[insn->subdev];
subdev             89 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 			"%d not usable subdevice\n", insn->subdev);
subdev            129 drivers/staging/comedi/kcomedilib/kcomedilib_main.c int comedi_dio_get_config(struct comedi_device *dev, unsigned int subdev,
subdev            139 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	insn.subdev = subdev;
subdev            150 drivers/staging/comedi/kcomedilib/kcomedilib_main.c int comedi_dio_config(struct comedi_device *dev, unsigned int subdev,
subdev            158 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	insn.subdev = subdev;
subdev            165 drivers/staging/comedi/kcomedilib/kcomedilib_main.c int comedi_dio_bitfield2(struct comedi_device *dev, unsigned int subdev,
subdev            176 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	n_chan = comedi_get_n_channels(dev, subdev);
subdev            184 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	insn.subdev = subdev;
subdev             22 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev             61 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            132 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            154 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            199 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            232 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            276 drivers/staging/media/ipu3/ipu3-v4l2.c 							subdev);
subdev            493 drivers/staging/media/ipu3/ipu3-v4l2.c 		r = v4l2_subdev_call(&imgu->imgu_pipe[pipe].imgu_sd.subdev,
subdev            530 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = v4l2_subdev_call(&imgu_pipe->imgu_sd.subdev, video, s_stream, 0);
subdev           1018 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct imgu_device *imgu = v4l2_get_subdevdata(&imgu_sd->subdev);
subdev           1101 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = media_entity_pads_init(&imgu_sd->subdev.entity, IMGU_NODE_NUM,
subdev           1108 drivers/staging/media/ipu3/ipu3-v4l2.c 	imgu_sd->subdev.entity.ops = &imgu_media_ops;
subdev           1115 drivers/staging/media/ipu3/ipu3-v4l2.c 	v4l2_subdev_init(&imgu_sd->subdev, &imgu_subdev_ops);
subdev           1116 drivers/staging/media/ipu3/ipu3-v4l2.c 	imgu_sd->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_STATISTICS;
subdev           1117 drivers/staging/media/ipu3/ipu3-v4l2.c 	imgu_sd->subdev.internal_ops = &imgu_subdev_internal_ops;
subdev           1118 drivers/staging/media/ipu3/ipu3-v4l2.c 	imgu_sd->subdev.flags = V4L2_SUBDEV_FL_HAS_DEVNODE |
subdev           1120 drivers/staging/media/ipu3/ipu3-v4l2.c 	snprintf(imgu_sd->subdev.name, sizeof(imgu_sd->subdev.name),
subdev           1122 drivers/staging/media/ipu3/ipu3-v4l2.c 	v4l2_set_subdevdata(&imgu_sd->subdev, imgu);
subdev           1125 drivers/staging/media/ipu3/ipu3-v4l2.c 	imgu_sd->subdev.ctrl_handler = hdl;
subdev           1133 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = v4l2_device_register_subdev(&imgu->v4l2_dev, &imgu_sd->subdev);
subdev           1144 drivers/staging/media/ipu3/ipu3-v4l2.c 	v4l2_ctrl_handler_free(imgu_sd->subdev.ctrl_handler);
subdev           1145 drivers/staging/media/ipu3/ipu3-v4l2.c 	media_entity_cleanup(&imgu_sd->subdev.entity);
subdev           1159 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct v4l2_subdev *sd = &imgu_pipe->imgu_sd.subdev;
subdev           1309 drivers/staging/media/ipu3/ipu3-v4l2.c 	v4l2_device_unregister_subdev(&imgu_pipe->imgu_sd.subdev);
subdev           1310 drivers/staging/media/ipu3/ipu3-v4l2.c 	v4l2_ctrl_handler_free(imgu_pipe->imgu_sd.subdev.ctrl_handler);
subdev           1311 drivers/staging/media/ipu3/ipu3-v4l2.c 	media_entity_cleanup(&imgu_pipe->imgu_sd.subdev.entity);
subdev             92 drivers/staging/media/ipu3/ipu3.h 	struct v4l2_subdev subdev;
subdev            388 drivers/staging/media/omap4iss/iss.c 	struct v4l2_subdev *subdev;
subdev            406 drivers/staging/media/omap4iss/iss.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            407 drivers/staging/media/omap4iss/iss.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 0);
subdev            410 drivers/staging/media/omap4iss/iss.c 				 subdev->name);
subdev            415 drivers/staging/media/omap4iss/iss.c 			media_entity_enum_set(&iss->crashed, &subdev->entity);
subdev            440 drivers/staging/media/omap4iss/iss.c 	struct v4l2_subdev *subdev;
subdev            470 drivers/staging/media/omap4iss/iss.c 		subdev = media_entity_to_v4l2_subdev(entity);
subdev            472 drivers/staging/media/omap4iss/iss.c 		ret = v4l2_subdev_call(subdev, video, s_stream, mode);
subdev            478 drivers/staging/media/omap4iss/iss.c 		if (subdev == &iss->csi2a.subdev ||
subdev            479 drivers/staging/media/omap4iss/iss.c 		    subdev == &iss->csi2b.subdev)
subdev            954 drivers/staging/media/omap4iss/iss.c 		struct v4l2_subdev *subdev;
subdev            966 drivers/staging/media/omap4iss/iss.c 		subdev = v4l2_i2c_new_subdev_board(&iss->v4l2_dev, adapter,
subdev            968 drivers/staging/media/omap4iss/iss.c 		if (!subdev) {
subdev            975 drivers/staging/media/omap4iss/iss.c 			sensor = subdev;
subdev           1047 drivers/staging/media/omap4iss/iss.c 			input = &iss->csi2a.subdev.entity;
subdev           1054 drivers/staging/media/omap4iss/iss.c 			input = &iss->csi2b.subdev.entity;
subdev           1112 drivers/staging/media/omap4iss/iss.c 			&iss->csi2a.subdev.entity, CSI2_PAD_SOURCE,
subdev           1113 drivers/staging/media/omap4iss/iss.c 			&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0);
subdev           1118 drivers/staging/media/omap4iss/iss.c 			&iss->csi2b.subdev.entity, CSI2_PAD_SOURCE,
subdev           1119 drivers/staging/media/omap4iss/iss.c 			&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0);
subdev           1124 drivers/staging/media/omap4iss/iss.c 			&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP,
subdev           1125 drivers/staging/media/omap4iss/iss.c 			&iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0);
subdev           1130 drivers/staging/media/omap4iss/iss.c 			&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP,
subdev           1131 drivers/staging/media/omap4iss/iss.c 			&iss->ipipe.subdev.entity, IPIPE_PAD_SINK, 0);
subdev           1136 drivers/staging/media/omap4iss/iss.c 			&iss->ipipe.subdev.entity, IPIPE_PAD_SOURCE_VP,
subdev           1137 drivers/staging/media/omap4iss/iss.c 			&iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0);
subdev            679 drivers/staging/media/omap4iss/iss_csi2.c 				     to_iss_pipeline(&csi2->subdev.entity);
subdev            742 drivers/staging/media/omap4iss/iss_csi2.c 	struct iss_pipeline *pipe = to_iss_pipeline(&csi2->subdev.entity);
subdev            833 drivers/staging/media/omap4iss/iss_csi2.c 		return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad);
subdev           1022 drivers/staging/media/omap4iss/iss_csi2.c 	struct iss_pipeline *pipe = to_iss_pipeline(&csi2->subdev.entity);
subdev           1220 drivers/staging/media/omap4iss/iss_csi2.c 	v4l2_device_unregister_subdev(&csi2->subdev);
subdev           1230 drivers/staging/media/omap4iss/iss_csi2.c 	ret = v4l2_device_register_subdev(vdev, &csi2->subdev);
subdev           1256 drivers/staging/media/omap4iss/iss_csi2.c 	struct v4l2_subdev *sd = &csi2->subdev;
subdev           1297 drivers/staging/media/omap4iss/iss_csi2.c 	media_entity_cleanup(&csi2->subdev.entity);
subdev           1350 drivers/staging/media/omap4iss/iss_csi2.c 	ret = media_create_pad_link(&csi2a->subdev.entity, CSI2_PAD_SOURCE,
subdev           1356 drivers/staging/media/omap4iss/iss_csi2.c 	ret = media_create_pad_link(&csi2b->subdev.entity, CSI2_PAD_SOURCE,
subdev           1373 drivers/staging/media/omap4iss/iss_csi2.c 	media_entity_cleanup(&csi2a->subdev.entity);
subdev           1376 drivers/staging/media/omap4iss/iss_csi2.c 	media_entity_cleanup(&csi2b->subdev.entity);
subdev            119 drivers/staging/media/omap4iss/iss_csi2.h 	struct v4l2_subdev subdev;
subdev            183 drivers/staging/media/omap4iss/iss_ipipe.c 		return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad);
subdev            460 drivers/staging/media/omap4iss/iss_ipipe.c 		if (remote->entity == &iss->ipipeif.subdev.entity)
subdev            497 drivers/staging/media/omap4iss/iss_ipipe.c 	struct v4l2_subdev *sd = &ipipe->subdev;
subdev            526 drivers/staging/media/omap4iss/iss_ipipe.c 	v4l2_device_unregister_subdev(&ipipe->subdev);
subdev            535 drivers/staging/media/omap4iss/iss_ipipe.c 	ret = v4l2_device_register_subdev(vdev, &ipipe->subdev);
subdev            576 drivers/staging/media/omap4iss/iss_ipipe.c 	media_entity_cleanup(&ipipe->subdev.entity);
subdev             41 drivers/staging/media/omap4iss/iss_ipipe.h 	struct v4l2_subdev subdev;
subdev            364 drivers/staging/media/omap4iss/iss_ipipeif.c 		return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad);
subdev            678 drivers/staging/media/omap4iss/iss_ipipeif.c 		if (remote->entity == &iss->csi2a.subdev.entity)
subdev            680 drivers/staging/media/omap4iss/iss_ipipeif.c 		else if (remote->entity == &iss->csi2b.subdev.entity)
subdev            728 drivers/staging/media/omap4iss/iss_ipipeif.c 	struct v4l2_subdev *sd = &ipipeif->subdev;
subdev            766 drivers/staging/media/omap4iss/iss_ipipeif.c 	v4l2_device_unregister_subdev(&ipipeif->subdev);
subdev            776 drivers/staging/media/omap4iss/iss_ipipeif.c 	ret = v4l2_device_register_subdev(vdev, &ipipeif->subdev);
subdev            824 drivers/staging/media/omap4iss/iss_ipipeif.c 	return media_create_pad_link(&ipipeif->subdev.entity,
subdev            837 drivers/staging/media/omap4iss/iss_ipipeif.c 	media_entity_cleanup(&ipipeif->subdev.entity);
subdev             60 drivers/staging/media/omap4iss/iss_ipipeif.h 	struct v4l2_subdev subdev;
subdev            290 drivers/staging/media/omap4iss/iss_resizer.c 			     to_iss_pipeline(&resizer->subdev.entity);
subdev            423 drivers/staging/media/omap4iss/iss_resizer.c 		return v4l2_subdev_get_try_format(&resizer->subdev, cfg, pad);
subdev            732 drivers/staging/media/omap4iss/iss_resizer.c 		if (remote->entity == &iss->ipipeif.subdev.entity)
subdev            734 drivers/staging/media/omap4iss/iss_resizer.c 		else if (remote->entity == &iss->ipipe.subdev.entity)
subdev            771 drivers/staging/media/omap4iss/iss_resizer.c 	struct v4l2_subdev *sd = &resizer->subdev;
subdev            808 drivers/staging/media/omap4iss/iss_resizer.c 	v4l2_device_unregister_subdev(&resizer->subdev);
subdev            818 drivers/staging/media/omap4iss/iss_resizer.c 	ret = v4l2_device_register_subdev(vdev, &resizer->subdev);
subdev            866 drivers/staging/media/omap4iss/iss_resizer.c 	return media_create_pad_link(&resizer->subdev.entity,
subdev            879 drivers/staging/media/omap4iss/iss_resizer.c 	media_entity_cleanup(&resizer->subdev.entity);
subdev             43 drivers/staging/media/omap4iss/iss_resizer.h 	struct v4l2_subdev subdev;
subdev            248 drivers/staging/media/omap4iss/iss_video.c 	struct v4l2_subdev *subdev;
subdev            252 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
subdev            253 drivers/staging/media/omap4iss/iss_video.c 	if (!subdev)
subdev            261 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            621 drivers/staging/media/omap4iss/iss_video.c 	struct v4l2_subdev *subdev;
subdev            628 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
subdev            629 drivers/staging/media/omap4iss/iss_video.c 	if (!subdev)
subdev            636 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
subdev            649 drivers/staging/media/omap4iss/iss_video.c 	struct v4l2_subdev *subdev;
subdev            673 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
subdev            674 drivers/staging/media/omap4iss/iss_video.c 	if (subdev == NULL)
subdev            682 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_subdev_call(subdev, pad, get_selection, NULL, &sdsel);
subdev            690 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format);
subdev            706 drivers/staging/media/omap4iss/iss_video.c 	struct v4l2_subdev *subdev;
subdev            728 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
subdev            729 drivers/staging/media/omap4iss/iss_video.c 	if (subdev == NULL)
subdev            734 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_subdev_call(subdev, pad, set_selection, NULL, &sdsel);
subdev             75 drivers/staging/media/soc_camera/imx074.c 	struct v4l2_subdev		subdev;
subdev             86 drivers/staging/media/soc_camera/imx074.c 	return container_of(i2c_get_clientdata(client), struct imx074, subdev);
subdev            293 drivers/staging/media/soc_camera/imx074.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            297 drivers/staging/media/soc_camera/imx074.c 	ret = imx074_s_power(subdev, 1);
subdev            404 drivers/staging/media/soc_camera/imx074.c 	imx074_s_power(subdev, 0);
subdev            431 drivers/staging/media/soc_camera/imx074.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &imx074_subdev_ops);
subdev            449 drivers/staging/media/soc_camera/imx074.c 	ret = v4l2_async_register_subdev(&priv->subdev);
subdev            464 drivers/staging/media/soc_camera/imx074.c 	v4l2_async_unregister_subdev(&priv->subdev);
subdev             67 drivers/staging/media/soc_camera/mt9t031.c 	struct v4l2_subdev subdev;
subdev             84 drivers/staging/media/soc_camera/mt9t031.c 	return container_of(i2c_get_clientdata(client), struct mt9t031, subdev);
subdev            460 drivers/staging/media/soc_camera/mt9t031.c 	struct v4l2_subdev *sd = &mt9t031->subdev;
subdev            629 drivers/staging/media/soc_camera/mt9t031.c 	ret = mt9t031_s_power(&mt9t031->subdev, 1);
subdev            657 drivers/staging/media/soc_camera/mt9t031.c 	mt9t031_s_power(&mt9t031->subdev, 0);
subdev            772 drivers/staging/media/soc_camera/mt9t031.c 	v4l2_i2c_subdev_init(&mt9t031->subdev, client, &mt9t031_subdev_ops);
subdev            791 drivers/staging/media/soc_camera/mt9t031.c 	mt9t031->subdev.ctrl_handler = &mt9t031->hdl;
subdev            828 drivers/staging/media/soc_camera/mt9t031.c 	v4l2_device_unregister_subdev(&mt9t031->subdev);
subdev           1228 drivers/staging/media/soc_camera/soc_camera.c 	struct v4l2_subdev *subdev;
subdev           1269 drivers/staging/media/soc_camera/soc_camera.c 	subdev = v4l2_i2c_new_subdev_board(&ici->v4l2_dev, adap,
subdev           1271 drivers/staging/media/soc_camera/soc_camera.c 	if (!subdev) {
subdev           1276 drivers/staging/media/soc_camera/soc_camera.c 	client = v4l2_get_subdevdata(subdev);
subdev           1503 drivers/staging/media/soc_camera/soc_camera.c 	struct v4l2_async_subdev	*subdev;
subdev           1526 drivers/staging/media/soc_camera/soc_camera.c 	info->subdev = &info->sasd.asd;
subdev           1548 drivers/staging/media/soc_camera/soc_camera.c 	ret = v4l2_async_notifier_add_subdev(&sasc->notifier, info->subdev);
subdev            138 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct v4l2_subdev subdev;
subdev            166 drivers/staging/media/soc_camera/soc_mt9v022.c 	return container_of(i2c_get_clientdata(client), struct mt9v022, subdev);
subdev            527 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct v4l2_subdev *sd = &mt9v022->subdev;
subdev            571 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct v4l2_subdev *sd = &mt9v022->subdev;
subdev            670 drivers/staging/media/soc_camera/soc_mt9v022.c 	ret = mt9v022_s_power(&mt9v022->subdev, 1);
subdev            749 drivers/staging/media/soc_camera/soc_mt9v022.c 	mt9v022_s_power(&mt9v022->subdev, 0);
subdev            906 drivers/staging/media/soc_camera/soc_mt9v022.c 	v4l2_i2c_subdev_init(&mt9v022->subdev, client, &mt9v022_subdev_ops);
subdev            937 drivers/staging/media/soc_camera/soc_mt9v022.c 	mt9v022->subdev.ctrl_handler = &mt9v022->hdl;
subdev            982 drivers/staging/media/soc_camera/soc_mt9v022.c 	v4l2_device_unregister_subdev(&mt9v022->subdev);
subdev            606 drivers/staging/media/soc_camera/soc_ov5642.c 	struct v4l2_subdev		subdev;
subdev            622 drivers/staging/media/soc_camera/soc_ov5642.c 	return container_of(i2c_get_clientdata(client), struct ov5642, subdev);
subdev            971 drivers/staging/media/soc_camera/soc_ov5642.c 	struct v4l2_subdev *subdev = i2c_get_clientdata(client);
subdev            976 drivers/staging/media/soc_camera/soc_ov5642.c 	ret = ov5642_s_power(subdev, 1);
subdev           1003 drivers/staging/media/soc_camera/soc_ov5642.c 	ov5642_s_power(subdev, 0);
subdev           1023 drivers/staging/media/soc_camera/soc_ov5642.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov5642_subdev_ops);
subdev             19 drivers/staging/media/soc_camera/soc_ov9740.c #define to_ov9740(sd)		container_of(sd, struct ov9740_priv, subdev)
subdev            193 drivers/staging/media/soc_camera/soc_ov9740.c 	struct v4l2_subdev		subdev;
subdev            829 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_s_power(&priv->subdev, 1);
subdev            869 drivers/staging/media/soc_camera/soc_ov9740.c 	ov9740_s_power(&priv->subdev, 0);
subdev            937 drivers/staging/media/soc_camera/soc_ov9740.c 	v4l2_i2c_subdev_init(&priv->subdev, client, &ov9740_subdev_ops);
subdev            943 drivers/staging/media/soc_camera/soc_ov9740.c 	priv->subdev.ctrl_handler = &priv->hdl;
subdev            968 drivers/staging/media/soc_camera/soc_ov9740.c 	v4l2_device_unregister_subdev(&priv->subdev);
subdev             13 include/linux/mtd/concat.h     struct mtd_info *subdev[],  /* subdevices to concatenate */
subdev            868 include/linux/pci.h #define PCI_DEVICE_SUB(vend, dev, subvend, subdev) \
subdev            870 include/linux/pci.h 	.subvendor = (subvend), .subdevice = (subdev)
subdev            531 include/linux/remoteproc.h 	int (*prepare)(struct rproc_subdev *subdev);
subdev            532 include/linux/remoteproc.h 	int (*start)(struct rproc_subdev *subdev);
subdev            533 include/linux/remoteproc.h 	void (*stop)(struct rproc_subdev *subdev, bool crashed);
subdev            534 include/linux/remoteproc.h 	void (*unprepare)(struct rproc_subdev *subdev);
subdev            576 include/linux/remoteproc.h 	struct rproc_subdev subdev;
subdev            634 include/linux/remoteproc.h void rproc_add_subdev(struct rproc *rproc, struct rproc_subdev *subdev);
subdev            636 include/linux/remoteproc.h void rproc_remove_subdev(struct rproc *rproc, struct rproc_subdev *subdev);
subdev             96 include/media/i2c/adp1653.h #define to_adp1653_flash(sd)	container_of(sd, struct adp1653_flash, subdev)
subdev             99 include/media/i2c/adp1653.h 	struct v4l2_subdev subdev;
subdev            109 include/media/v4l2-async.h 		     struct v4l2_subdev *subdev,
subdev            113 include/media/v4l2-async.h 		       struct v4l2_subdev *subdev,
subdev            166 sound/drivers/mtpav.c static int translate_subdevice_to_hwport(struct mtpav *chip, int subdev)
subdev            168 sound/drivers/mtpav.c 	if (subdev < 0)
subdev            170 sound/drivers/mtpav.c 	else if (subdev < chip->num_ports)
subdev            171 sound/drivers/mtpav.c 		return subdev + 1; /* single mtp port */
subdev            172 sound/drivers/mtpav.c 	else if (subdev < chip->num_ports * 2)
subdev            173 sound/drivers/mtpav.c 		return subdev - chip->num_ports + 0x09; /* remote port */
subdev            174 sound/drivers/mtpav.c 	else if (subdev == chip->num_ports * 2 + MTPAV_PIDX_COMPUTER)
subdev            176 sound/drivers/mtpav.c 	else if (subdev == chip->num_ports + MTPAV_PIDX_ADAT)
subdev            237 sound/pci/au88x0/au88x0.h 				 int dir, int type, int subdev);
subdev           2110 sound/pci/au88x0/au88x0_core.c 			int type, int subdev)
subdev           2247 sound/pci/au88x0/au88x0_core.c 				p = &vortex->pcm_vol[subdev];
subdev            545 sound/pci/au88x0/au88x0_pcm.c 	int subdev = kcontrol->id.subdevice;
subdev            546 sound/pci/au88x0/au88x0_pcm.c 	struct pcm_vol *p = &vortex->pcm_vol[subdev];
subdev            561 sound/pci/au88x0/au88x0_pcm.c 	int subdev = kcontrol->id.subdevice;
subdev            562 sound/pci/au88x0/au88x0_pcm.c 	struct pcm_vol *p = &vortex->pcm_vol[subdev];
subdev            777 sound/pci/bt87x.c #define BT_DEVICE(chip, subvend, subdev, id) \
subdev            780 sound/pci/bt87x.c 	  .subvendor = subvend, .subdevice = subdev, \