Searched refs:DEV2INST (Results 1 – 1 of 1) sorted by relevance
64 #define DEV2INST(dev) (getminor(dev) >> MY_NBITSMINOR) macro303 instance = DEV2INST(dev); in vgatext_info()330 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp)); in vgatext_open()341 struct vgatext_softc *softc = getsoftc(DEV2INST(devp)); in vgatext_close()358 struct vgatext_softc *softc = getsoftc(DEV2INST(dev)); in vgatext_ioctl()392 softc = getsoftc(DEV2INST(dev)); in vgatext_devmap()