Searched refs:NBITSMNODE (Results 1 – 2 of 2) sorted by relevance
107 #define NBITSMNODE (18 - NBITSINST) macro114 #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)
386 newminor = newminor | (instance << NBITSMNODE); in drm_sun_open()