Lines Matching refs:up
60 #define ANY2SCSI(up, p) \ argument
61 ((UCHAR *)up)[0] = (((ULONG)(p)) >> 8); \
62 ((UCHAR *)up)[1] = ((ULONG)(p));
64 #define SCSI2LONG(up) \ argument
65 ( (((long)*(((UCHAR *)up))) << 16) \
66 + (((long)(((UCHAR *)up)[1])) << 8) \
67 + ((long)(((UCHAR *)up)[2])) )
69 #define XANY2SCSI(up, p) \ argument
70 ((UCHAR *)up)[0] = ((long)(p)) >> 24; \
71 ((UCHAR *)up)[1] = ((long)(p)) >> 16; \
72 ((UCHAR *)up)[2] = ((long)(p)) >> 8; \
73 ((UCHAR *)up)[3] = ((long)(p));
75 #define XSCSI2LONG(up) \ argument
76 ( (((long)(((UCHAR *)up)[0])) << 24) \
77 + (((long)(((UCHAR *)up)[1])) << 16) \
78 + (((long)(((UCHAR *)up)[2])) << 8) \
79 + ((long)(((UCHAR *)up)[3])) )