Home
last modified time | relevance | path

Searched refs:getparam (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c180 struct drm_nouveau_getparam *getparam = data; in nouveau_abi16_ioctl_getparam() local
182 switch (getparam->param) { in nouveau_abi16_ioctl_getparam()
184 getparam->value = device->info.chipset; in nouveau_abi16_ioctl_getparam()
188 getparam->value = dev->pdev->vendor; in nouveau_abi16_ioctl_getparam()
190 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
194 getparam->value = dev->pdev->device; in nouveau_abi16_ioctl_getparam()
196 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
200 getparam->value = 3; in nouveau_abi16_ioctl_getparam()
203 getparam->value = 0; in nouveau_abi16_ioctl_getparam()
206 getparam->value = 1; in nouveau_abi16_ioctl_getparam()
[all …]
/drivers/gpu/drm/r128/
Dr128_ioc32.c166 drm_r128_getparam_t __user *getparam; in compat_r128_getparam() local
171 getparam = compat_alloc_user_space(sizeof(*getparam)); in compat_r128_getparam()
172 if (!access_ok(VERIFY_WRITE, getparam, sizeof(*getparam)) in compat_r128_getparam()
173 || __put_user(getparam32.param, &getparam->param) in compat_r128_getparam()
175 &getparam->value)) in compat_r128_getparam()
178 return drm_ioctl(file, DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam); in compat_r128_getparam()
/drivers/gpu/drm/mga/
Dmga_ioc32.c115 drm_mga_getparam_t __user *getparam; in compat_mga_getparam() local
120 getparam = compat_alloc_user_space(sizeof(*getparam)); in compat_mga_getparam()
121 if (!access_ok(VERIFY_WRITE, getparam, sizeof(*getparam)) in compat_mga_getparam()
122 || __put_user(getparam32.param, &getparam->param) in compat_mga_getparam()
124 &getparam->value)) in compat_mga_getparam()
127 return drm_ioctl(file, DRM_IOCTL_MGA_GETPARAM, (unsigned long)getparam); in compat_mga_getparam()