Lines Matching refs:getparam

183 	struct drm_nouveau_getparam *getparam = data;  in nouveau_abi16_ioctl_getparam()  local
186 switch (getparam->param) { in nouveau_abi16_ioctl_getparam()
188 getparam->value = device->info.chipset; in nouveau_abi16_ioctl_getparam()
192 getparam->value = pdev->vendor; in nouveau_abi16_ioctl_getparam()
194 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
198 getparam->value = pdev->device; in nouveau_abi16_ioctl_getparam()
200 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
204 case NV_DEVICE_INFO_V0_AGP : getparam->value = 0; break; in nouveau_abi16_ioctl_getparam()
205 case NV_DEVICE_INFO_V0_PCI : getparam->value = 1; break; in nouveau_abi16_ioctl_getparam()
206 case NV_DEVICE_INFO_V0_PCIE: getparam->value = 2; break; in nouveau_abi16_ioctl_getparam()
207 case NV_DEVICE_INFO_V0_SOC : getparam->value = 3; break; in nouveau_abi16_ioctl_getparam()
210 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
212 getparam->value = 2; in nouveau_abi16_ioctl_getparam()
220 getparam->value = drm->gem.vram_available; in nouveau_abi16_ioctl_getparam()
223 getparam->value = drm->gem.gart_available; in nouveau_abi16_ioctl_getparam()
226 getparam->value = 0; /* deprecated */ in nouveau_abi16_ioctl_getparam()
229 getparam->value = nvif_device_time(device); in nouveau_abi16_ioctl_getparam()
232 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
235 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
238 getparam->value = nvkm_gr_units(gr); in nouveau_abi16_ioctl_getparam()
241 NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param); in nouveau_abi16_ioctl_getparam()