Searched refs:ST_NBR_MODE_BITS (Results 1 – 3 of 3) sorted by relevance
77 #define ST_NBR_MODE_BITS 2 macro78 #define ST_NBR_MODES (1 << ST_NBR_MODE_BITS)79 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)82 #define ST_MAX_TAPES (1 << (20 - (ST_NBR_MODE_BITS + 1)))83 #define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))
172 #define TAPE_NR(x) ( ((iminor(x) & ~255) >> (ST_NBR_MODE_BITS + 1)) | \177 #define TAPE_MINOR(d, m, n) (((d & ~(255 >> (ST_NBR_MODE_BITS + 1))) << (ST_NBR_MODE_BITS + 1)) | \178 (d & (255 >> (ST_NBR_MODE_BITS + 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) )4201 i = mode << (4 - ST_NBR_MODE_BITS); in create_one_cdev()
41 ST_NBR_MODE_BITS in st.h. Mode 0 corresponds to the defaults discussed