Home
last modified time | relevance | path

Searched refs:NBITSMNODE (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.h107 #define NBITSMNODE (18 - NBITSINST) macro
114 #define MAX_CLONE_MINOR (1 << (NBITSMNODE) - 1)
115 #define DEV2MINOR(dev) (getminor(dev) & ((1 << (NBITSMNODE)) - 1))
116 #define DEV2INST(dev) (getminor(dev) >> NBITSMNODE)
117 #define INST2NODE0(inst) ((inst) << NBITSMNODE)
118 #define INST2NODE1(inst) (((inst) << NBITSMNODE) + AGPMASTER_MINOR)
119 #define INST2NODE2(inst) (((inst) << NBITSMNODE) + DRM_MINOR)
H A Ddrm_sunmod.c386 newminor = newminor | (instance << NBITSMNODE); in drm_sun_open()