Home
last modified time | relevance | path

Searched refs:DEV2INST (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/intel/io/agpgart/
H A Damd64_gart.c20 #define DEV2INST(dev) (getminor(dev)) macro
141 instance = DEV2INST(dev); in amd64_gart_getinfo()
155 instance = DEV2INST(dev); in amd64_gart_getinfo()
257 instance = DEV2INST(dev); in amd64_gart_ioctl()
332 instance = DEV2INST(*dev); in amd64_gart_open()
348 instance = DEV2INST(dev); in amd64_gart_close()
H A Dagptarget.c51 #define DEV2INST(dev) (getminor(dev)) macro
465 instance = DEV2INST(dev); in agptarget_getinfo()
478 instance = DEV2INST(dev); in agptarget_getinfo()
629 int instance = DEV2INST(dev); in agp_target_ioctl()
839 int instance = DEV2INST(*devp); in agp_target_open()
857 int instance = DEV2INST(dev); in agp_target_close()
/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.h116 #define DEV2INST(dev) (getminor(dev) >> NBITSMNODE) macro
H A Ddrm_sunmod.c303 instance = DEV2INST(*devp); in drm_sun_open()
858 return (DEV2INST(dev)); in drm_dev_to_instance()
945 int instance = DEV2INST(dev); in drm_sup_devt_to_state()
/titanic_44/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c66 #define DEV2INST(dev) (getminor(dev) >> MY_NBITSMINOR) macro
681 instance = DEV2INST(dev); in vgatext_info()
709 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp)); in vgatext_open()
843 struct vgatext_softc *softc = getsoftc(DEV2INST(dev)); in vgatext_ioctl()
957 softc = getsoftc(DEV2INST(dev)); in vgatext_devmap()