Lines Matching refs:subdev

76 	struct nvkm_subdev *subdev = &ram->base.fb->subdev;  in nv50_ram_timing_calc()  local
77 struct nvkm_device *device = subdev->device; in nv50_ram_timing_calc()
142 nvkm_debug(subdev, " 220: %08x %08x %08x %08x\n", in nv50_ram_timing_calc()
144 nvkm_debug(subdev, " 230: %08x %08x %08x %08x\n", in nv50_ram_timing_calc()
146 nvkm_debug(subdev, " 240: %08x\n", timing[8]); in nv50_ram_timing_calc()
155 struct nvkm_subdev *subdev = &ram->base.fb->subdev; in nv50_ram_timing_read() local
156 struct nvkm_device *device = subdev->device; in nv50_ram_timing_read()
194 struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio; in nv50_ram_gpio()
223 struct nvkm_subdev *subdev = &ram->base.fb->subdev; in nv50_ram_calc() local
224 struct nvkm_bios *bios = subdev->device->bios; in nv50_ram_calc()
246 nvkm_error(subdev, "invalid/missing perftab entry\n"); in nv50_ram_calc()
254 strap = nvbios_ramcfg_index(subdev); in nv50_ram_calc()
256 nvkm_error(subdev, "invalid ramcfg strap\n"); in nv50_ram_calc()
263 nvkm_error(subdev, "invalid/missing rammap entry "); in nv50_ram_calc()
272 nvkm_error(subdev, "invalid/missing timing entry " in nv50_ram_calc()
282 ret = ram_init(hwsq, subdev); in nv50_ram_calc()
301 nvkm_error(subdev, "Could not calculate MR\n"); in nv50_ram_calc()
305 if (subdev->device->chipset <= 0x96 && !next->bios.ramcfg_00_03_02) in nv50_ram_calc()
331 ret = nv04_pll_calc(subdev, &mpll, freq, in nv50_ram_calc()
360 if (subdev->device->chipset >= 0x92) in nv50_ram_calc()
409 if (subdev->device->chipset <= 0x96) { in nv50_ram_calc()
474 if (subdev->device->chipset <= 0x96 && next->bios.ramcfg_00_03_02) in nv50_ram_calc()
484 struct nvkm_device *device = ram->base.fb->subdev.device; in nv50_ram_prog()
520 mutex_lock(&ram->fb->subdev.mutex); in nv50_ram_put()
522 mutex_unlock(&ram->fb->subdev.mutex); in nv50_ram_put()
548 mutex_lock(&ram->fb->subdev.mutex); in nv50_ram_get()
573 mutex_unlock(&ram->fb->subdev.mutex); in nv50_ram_get()
581 mutex_unlock(&ram->fb->subdev.mutex); in nv50_ram_get()
601 struct nvkm_subdev *subdev = &ram->fb->subdev; in nv50_fb_vram_rblock() local
602 struct nvkm_device *device = subdev->device; in nv50_fb_vram_rblock()
610 nvkm_debug(subdev, "memcfg %08x %08x %08x %08x\n", in nv50_fb_vram_rblock()
624 nvkm_warn(subdev, "memory controller reports %d MiB VRAM\n", in nv50_fb_vram_rblock()
632 nvkm_debug(subdev, "rblock %d bytes\n", rblock_size); in nv50_fb_vram_rblock()
640 struct nvkm_device *device = fb->subdev.device; in nv50_ram_ctor()