Lines Matching defs:dev
26 __FBSDID("$FreeBSD: stable/11/sys/dev/drm2/drm_scatter.c 316073 2017-03-28 06:07:59Z kib $");
34 #include <dev/drm2/drmP.h>
56 int drm_sg_alloc(struct drm_device *dev, struct drm_scatter_gather * request)
64 if (!drm_core_check_feature(dev, DRIVER_SG))
67 if (dev->sg)
99 dev->sg = entry;
107 int drm_sg_alloc_ioctl(struct drm_device *dev, void *data,
112 return drm_sg_alloc(dev, request);
116 int drm_sg_free(struct drm_device *dev, void *data,
122 if (!drm_core_check_feature(dev, DRIVER_SG))
125 entry = dev->sg;
126 dev->sg = NULL;