Lines Matching refs:dev_id
73 drm_devmap_map(devmap_cookie_t dhc, dev_t dev_id, uint_t flags,
84 minor_id = DRM_DEV2MINOR(dev_id);
436 drm_sun_open(dev_t *dev_id, int flag, int otyp, cred_t *credp)
440 int minor_id = DRM_DEV2MINOR(*dev_id);
510 *dev_id = DRM_MAKEDEV(getmajor(*dev_id), minor_id, clone_id);
516 drm_sun_close(dev_t dev_id, int flag, int otyp, cred_t *credp)
522 int minor_id = DRM_DEV2MINOR(dev_id);
523 int clone_id = DRM_DEV2CLONEID(dev_id);
555 drm_sun_ioctl(dev_t dev_id, int cmd, intptr_t arg, int mode, cred_t *credp,
560 int minor_id = DRM_DEV2MINOR(dev_id);
561 int clone_id = DRM_DEV2CLONEID(dev_id);
576 return (gfxp_vgatext_ioctl(dev_id, cmd, arg, mode, credp,
580 return (agpmaster_ioctl(dev_id, cmd, arg, mode, credp,
587 return (-(drm_ioctl(dev_id, file_priv, cmd, arg, mode, credp)));
591 drm_sun_devmap(dev_t dev_id, devmap_cookie_t dhp, offset_t offset,
597 int minor_id = DRM_DEV2MINOR(dev_id);
598 int clone_id = DRM_DEV2CLONEID(dev_id);
610 return (gfxp_vgatext_devmap(dev_id, dhp, offset, len,
654 drm_sun_read(dev_t dev_id, struct uio *uiop, cred_t *credp)
660 int minor_id = DRM_DEV2MINOR(dev_id);
661 int clone_id = DRM_DEV2CLONEID(dev_id);
687 drm_sun_chpoll(dev_t dev_id, short events, int anyyet, short *reventsp,
692 int minor_id = DRM_DEV2MINOR(dev_id);
693 int clone_id = DRM_DEV2CLONEID(dev_id);