Searched refs:getparam (Results 1 – 3 of 3) sorted by relevance
182 struct drm_nouveau_getparam *getparam = data; in nouveau_abi16_ioctl_getparam() local185 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()[all …]
154 drm_r128_getparam_t getparam; in compat_r128_getparam() local159 getparam.param = getparam32.param; in compat_r128_getparam()160 getparam.value = compat_ptr(getparam32.value); in compat_r128_getparam()162 return drm_ioctl_kernel(file, r128_getparam, &getparam, DRM_AUTH); in compat_r128_getparam()
94 drm_mga_getparam_t getparam; in compat_mga_getparam() local99 getparam.param = getparam32.param; in compat_mga_getparam()100 getparam.value = compat_ptr(getparam32.value); in compat_mga_getparam()101 return drm_ioctl_kernel(file, mga_getparam, &getparam, DRM_AUTH); in compat_mga_getparam()