Lines Matching refs:getparam
182 struct drm_nouveau_getparam *getparam = data; in nouveau_abi16_ioctl_getparam() local
185 switch (getparam->param) { in nouveau_abi16_ioctl_getparam()
187 getparam->value = device->info.chipset; in nouveau_abi16_ioctl_getparam()
191 getparam->value = pdev->vendor; in nouveau_abi16_ioctl_getparam()
193 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
197 getparam->value = pdev->device; in nouveau_abi16_ioctl_getparam()
199 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
203 case NV_DEVICE_INFO_V0_AGP : getparam->value = 0; break; in nouveau_abi16_ioctl_getparam()
204 case NV_DEVICE_INFO_V0_PCI : getparam->value = 1; break; in nouveau_abi16_ioctl_getparam()
205 case NV_DEVICE_INFO_V0_PCIE: getparam->value = 2; break; in nouveau_abi16_ioctl_getparam()
206 case NV_DEVICE_INFO_V0_SOC : getparam->value = 3; break; in nouveau_abi16_ioctl_getparam()
209 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
211 getparam->value = 2; in nouveau_abi16_ioctl_getparam()
219 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
222 getparam->value = drm->gem.gart_available; in nouveau_abi16_ioctl_getparam()
225 getparam->value = 0; /* deprecated */ in nouveau_abi16_ioctl_getparam()
228 getparam->value = nvif_device_time(device); in nouveau_abi16_ioctl_getparam()
231 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
234 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
237 getparam->value = nvkm_gr_units(gr); in nouveau_abi16_ioctl_getparam()
240 NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); in nouveau_abi16_ioctl_getparam()