Home
last modified time | relevance | path

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

/drivers/scsi/
Dst.h73 #define ST_NBR_MODE_BITS 2 macro
74 #define ST_NBR_MODES (1 << ST_NBR_MODE_BITS)
75 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
79 #define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))
Dst.c164 #define TAPE_NR(x) ( ((iminor(x) & ~255) >> (ST_NBR_MODE_BITS + 1)) | \
169 #define TAPE_MINOR(d, m, n) (((d & ~(255 >> (ST_NBR_MODE_BITS + 1))) << (ST_NBR_MODE_BITS + 1)) | \
170 (d & (255 >> (ST_NBR_MODE_BITS + 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) )
4480 i = mode << (4 - ST_NBR_MODE_BITS); in do_create_class_files()