Searched refs:getparam (Results 1 - 3 of 3) sorted by relevance
/drivers/gpu/drm/mga/ |
H A D | mga_ioc32.c | 115 drm_mga_getparam_t __user *getparam; local 120 getparam = compat_alloc_user_space(sizeof(*getparam)); 121 if (!access_ok(VERIFY_WRITE, getparam, sizeof(*getparam)) 122 || __put_user(getparam32.param, &getparam->param) 124 &getparam->value)) 127 return drm_ioctl(file, DRM_IOCTL_MGA_GETPARAM, (unsigned long)getparam);
|
/drivers/gpu/drm/r128/ |
H A D | r128_ioc32.c | 166 drm_r128_getparam_t __user *getparam; local 171 getparam = compat_alloc_user_space(sizeof(*getparam)); 172 if (!access_ok(VERIFY_WRITE, getparam, sizeof(*getparam)) 173 || __put_user(getparam32.param, &getparam->param) 175 &getparam->value)) 178 return drm_ioctl(file, DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam);
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.c | 169 struct drm_nouveau_getparam *getparam = data; local 171 switch (getparam->param) { 173 getparam->value = device->info.chipset; 177 getparam->value = dev->pdev->vendor; 179 getparam->value = 0; 183 getparam->value = dev->pdev->device; 185 getparam->value = 0; 189 getparam->value = 3; 192 getparam->value = 0; 195 getparam [all...] |
Completed in 260 milliseconds