Lines Matching defs:getparam
208 struct drm_nouveau_getparam *getparam = data;
211 switch (getparam->param) {
213 getparam->value = device->info.chipset;
217 getparam->value = pdev->vendor;
219 getparam->value = 0;
223 getparam->value = pdev->device;
225 getparam->value = 0;
229 case NV_DEVICE_INFO_V0_AGP : getparam->value = 0; break;
230 case NV_DEVICE_INFO_V0_PCI : getparam->value = 1; break;
231 case NV_DEVICE_INFO_V0_PCIE: getparam->value = 2; break;
232 case NV_DEVICE_INFO_V0_SOC : getparam->value = 3; break;
235 getparam->value = 1;
237 getparam->value = 2;
245 getparam->value = drm->gem.vram_available;
248 getparam->value = drm->gem.gart_available;
251 getparam->value = 0; /* deprecated */
254 getparam->value = nvif_device_time(device);
257 getparam->value = 1;
260 getparam->value = 1;
263 getparam->value = nvkm_gr_units(gr);
268 getparam->value = nouveau_exec_push_max_from_ib_max(ib_max);
272 NV_PRINTK(dbg, cli, "unknown parameter %lld\n", getparam->param);