Searched defs:ioctl (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_drv.c96 /* The DRM_IOCTL_DMA ioctl should be defined by the driver. */
349 * Called whenever a process performs an ioctl on /dev/drm.
353 * Looks up the ioctl function in the ::ioctls table, checking for root
360 struct drm_ioctl_desc *ioctl; local
377 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE];
379 cmd = ioctl->cmd;
382 ioctl = &drm_ioctls[nr];
383 cmd = ioctl->cmd;
389 func = ioctl->func;
397 } else if (((ioctl
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_sunmod.c219 * ioctl, and release it via DRM_IOCTL_UNLOCK after finishing
322 drm_ioctl_desc_t *ioctl; local
367 ioctl = &drm_ioctls[nr];
370 /* It's not a core DRM ioctl, try driver-specific. */
371 if (ioctl->func == NULL && nr >= DRM_COMMAND_BASE) {
372 /* The array entries begin at DRM_COMMAND_BASE ioctl nr */
375 DRM_ERROR("Bad driver ioctl number, 0x%x (of 0x%x)",
379 ioctl = &dp->driver->driver_ioctls[nr];
382 func = ioctl->func;
395 if (((ioctl
[all...]

Completed in 12 milliseconds