Home
last modified time | relevance | path

Searched refs:SHIFT (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dscsi.h211 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument
216 if( ((scsi_logging_level >> (SHIFT)) & mask) > (LEVEL) ) \
222 #define SCSI_SET_LOGGING(SHIFT, BITS, LEVEL) \ argument
226 mask = ((1 << (BITS)) - 1) << SHIFT; \
228 | ((LEVEL << SHIFT) & mask)); \
238 #define SCSI_SET_LOGGING(SHIFT, BITS, LEVEL) argument
240 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument
/linux-2.4.37.9/drivers/sbus/char/
Dvfc_i2c.c160 #define SHIFT(a) ((a) << 24) macro
172 raddr = SHIFT(((unsigned int)addr | 0x1)); in vfc_i2c_xmit_addr()
178 raddr = SHIFT((unsigned int)addr & ~0x1); in vfc_i2c_xmit_addr()
215 u32 val = SHIFT((unsigned int)*byte); in vfc_i2c_xmit_byte()
/linux-2.4.37.9/drivers/ide/raid/
Dataraid.c73 minor = MINOR(inode->i_rdev)>>SHIFT; in ataraid_ioctl()
83 minor = MINOR(inode->i_rdev)>>SHIFT; in ataraid_open()
94 minor = MINOR(inode->i_rdev)>>SHIFT; in ataraid_release()
105 minor = MINOR(bh->b_rdev)>>SHIFT; in ataraid_make_request()
Dmedley.c220 int devminor = (inode->i_rdev >> SHIFT) & MAJOR_MASK; in medley_ioctl()
226 minor = MINOR(inode->i_rdev) >> SHIFT; in medley_ioctl()
340 ((bh->b_rdev >> SHIFT) & MAJOR_MASK) - medley_devid_offset; in medley_make_request()
723 int device = ((inode->i_rdev >> SHIFT) & MAJOR_MASK) - in medley_open()
742 int device = ((inode->i_rdev >> SHIFT) & MAJOR_MASK) - in medley_release()
Dhptraid.c177 minor = MINOR(inode->i_rdev)>>SHIFT; in hptraid_ioctl()
239 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraidspan_make_request()
380 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid0_make_request()
401 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid1_read_request()
450 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid1_write_request()
528 raid[(bh->b_rdev >> SHIFT)&MAJOR_MASK]. in hptraid01_read_request()
Dataraid.h31 #define SHIFT 4 macro
Dpdcraid.c108 minor = MINOR(inode->i_rdev)>>SHIFT; in pdcraid_ioctl()
184 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid0_make_request()
249 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid1_write_request()
293 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid1_read_request()
Dsilraid.c106 minor = MINOR(inode->i_rdev)>>SHIFT; in silraid_ioctl()
189 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in silraid0_make_request()
/linux-2.4.37.9/drivers/isdn/eicon/
Dconstant.h94 #define SHIFT 0x90 macro
Dpc.h248 #define SHIFT 0x90 /* codeset shift */ macro
Deicon_idi.c53 reqbuf->XBuffer.P[l++] = SHIFT|6; in idi_assign_req()
518 reqbuf->XBuffer.P[l++] = SHIFT|6; in idi_connect_req()
652 if((w&0xf0) == SHIFT) { in idi_IndParse()