Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dst.h76 #define ST_NBR_MODE_BITS 2 macro
77 #define ST_NBR_MODES (1 << ST_NBR_MODE_BITS)
78 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
81 #define ST_MAX_TAPES (1 << (20 - (ST_NBR_MODE_BITS + 1)))
82 #define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))
Dst.c175 #define TAPE_NR(x) ( ((iminor(x) & ~255) >> (ST_NBR_MODE_BITS + 1)) | \
180 #define TAPE_MINOR(d, m, n) (((d & ~(255 >> (ST_NBR_MODE_BITS + 1))) << (ST_NBR_MODE_BITS + 1)) | \
181 (d & (255 >> (ST_NBR_MODE_BITS + 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) )
4189 i = mode << (4 - ST_NBR_MODE_BITS); in create_one_cdev()
/linux-6.1.9/Documentation/scsi/
Dst.rst48 ST_NBR_MODE_BITS in st.h. Mode 0 corresponds to the defaults discussed