Searched refs:DEV2INST (Results 1 – 5 of 5) sorted by relevance
20 #define DEV2INST(dev) (getminor(dev)) macro141 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()
51 #define DEV2INST(dev) (getminor(dev)) macro465 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()
116 #define DEV2INST(dev) (getminor(dev) >> NBITSMNODE) macro
303 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()
66 #define DEV2INST(dev) (getminor(dev) >> MY_NBITSMINOR) macro681 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()