ST_NBR_MODE_BITS 172 drivers/scsi/st.c #define TAPE_NR(x) ( ((iminor(x) & ~255) >> (ST_NBR_MODE_BITS + 1)) | \ ST_NBR_MODE_BITS 177 drivers/scsi/st.c #define TAPE_MINOR(d, m, n) (((d & ~(255 >> (ST_NBR_MODE_BITS + 1))) << (ST_NBR_MODE_BITS + 1)) | \ ST_NBR_MODE_BITS 178 drivers/scsi/st.c (d & (255 >> (ST_NBR_MODE_BITS + 1))) | (m << ST_MODE_SHIFT) | ((n != 0) << 7) ) ST_NBR_MODE_BITS 4201 drivers/scsi/st.c i = mode << (4 - ST_NBR_MODE_BITS); ST_NBR_MODE_BITS 78 drivers/scsi/st.h #define ST_NBR_MODES (1 << ST_NBR_MODE_BITS) ST_NBR_MODE_BITS 79 drivers/scsi/st.h #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS) ST_NBR_MODE_BITS 82 drivers/scsi/st.h #define ST_MAX_TAPES (1 << (20 - (ST_NBR_MODE_BITS + 1))) ST_NBR_MODE_BITS 83 drivers/scsi/st.h #define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))