Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c183 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()
[all …]
/linux-5.19.10/drivers/gpu/drm/r128/
Dr128_ioc32.c154 drm_r128_getparam_t getparam; in compat_r128_getparam() local
159 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()
/linux-5.19.10/drivers/gpu/drm/mga/
Dmga_ioc32.c94 drm_mga_getparam_t getparam; in compat_mga_getparam() local
99 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()