Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c182 struct drm_nouveau_getparam *getparam = data; in nouveau_abi16_ioctl_getparam() local
185 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 …]
/linux-6.1.9/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-6.1.9/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()