Lines Matching refs:subdev
112 struct nvkm_device *device = fb->subdev.device; in gf100_ram_train()
132 struct nvkm_subdev *subdev = &ram->base.fb->subdev; in gf100_ram_calc() local
133 struct nvkm_device *device = subdev->device; in gf100_ram_calc()
151 nvkm_error(subdev, "invalid/missing rammap entry\n"); in gf100_ram_calc()
156 strap = nvbios_ramcfg_index(subdev); in gf100_ram_calc()
158 nvkm_error(subdev, "invalid ramcfg strap\n"); in gf100_ram_calc()
164 nvkm_error(subdev, "invalid/missing ramcfg entry\n"); in gf100_ram_calc()
174 nvkm_error(subdev, "invalid/missing timing entry\n"); in gf100_ram_calc()
216 ret = gt215_pll_calc(subdev, &ram->refpll, ram->mempll.refclk, in gf100_ram_calc()
219 nvkm_error(subdev, "unable to calc refpll\n"); in gf100_ram_calc()
231 ret = gt215_pll_calc(subdev, &ram->mempll, freq, in gf100_ram_calc()
234 nvkm_error(subdev, "unable to calc refpll\n"); in gf100_ram_calc()
411 struct nvkm_device *device = ram->base.fb->subdev.device; in gf100_ram_prog()
428 struct nvkm_ltc *ltc = ram->fb->subdev.device->ltc; in gf100_ram_put()
435 mutex_lock(&ram->fb->subdev.mutex); in gf100_ram_put()
439 mutex_unlock(&ram->fb->subdev.mutex); in gf100_ram_put()
448 struct nvkm_ltc *ltc = ram->fb->subdev.device->ltc; in gf100_ram_get()
470 mutex_lock(&ram->fb->subdev.mutex); in gf100_ram_get()
489 mutex_unlock(&ram->fb->subdev.mutex); in gf100_ram_get()
497 mutex_unlock(&ram->fb->subdev.mutex); in gf100_ram_get()
521 struct nvkm_device *device = ram->base.fb->subdev.device; in gf100_ram_init()
562 struct nvkm_subdev *subdev = &fb->subdev; in gf100_ram_ctor() local
563 struct nvkm_device *device = subdev->device; in gf100_ram_ctor()
575 nvkm_debug(subdev, "100800: %08x\n", nvkm_rd32(device, 0x100800)); in gf100_ram_ctor()
576 nvkm_debug(subdev, "parts %08x mask %08x\n", parts, pmask); in gf100_ram_ctor()
590 nvkm_debug(subdev, "%d: %d MiB\n", i, (u32)(psize >> 20)); in gf100_ram_ctor()
631 struct nvkm_subdev *subdev = &fb->subdev; in gf100_ram_new() local
632 struct nvkm_bios *bios = subdev->device->bios; in gf100_ram_new()
646 nvkm_error(subdev, "mclk refpll data not found\n"); in gf100_ram_new()
652 nvkm_error(subdev, "mclk pll data not found\n"); in gf100_ram_new()