Searched refs:SHIFT (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | scsi_logging.h | 43 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ argument 44 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 46 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 48 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 54 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument
|
/linux-2.6.39/sound/core/oss/ |
D | rate.c | 27 #define SHIFT 11 macro 28 #define BITS (1<<SHIFT) 194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames() 196 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_src_frames() 227 res = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_dst_frames() 229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames() 333 data->pitch = ((src_format->rate << SHIFT) + (dst_format->rate >> 1)) / dst_format->rate; in snd_pcm_plugin_build_rate() 336 data->pitch = ((dst_format->rate << SHIFT) + (src_format->rate >> 1)) / src_format->rate; in snd_pcm_plugin_build_rate()
|
/linux-2.6.39/drivers/net/wireless/ath/ar9170/ |
D | phy.c | 1105 #define SHIFT 8 in ar9170_interpolate_u8() macro 1108 y = ar9170_interpolate_s32(x << SHIFT, in ar9170_interpolate_u8() 1109 x1 << SHIFT, y1 << SHIFT, in ar9170_interpolate_u8() 1110 x2 << SHIFT, y2 << SHIFT); in ar9170_interpolate_u8() 1117 return (y >> SHIFT) + ((y & (1<<(SHIFT-1))) >> (SHIFT - 1)); in ar9170_interpolate_u8() 1118 #undef SHIFT in ar9170_interpolate_u8()
|
/linux-2.6.39/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 1090 #define SHIFT 8 in carl9170_interpolate_u8() macro 1093 y = carl9170_interpolate_s32(x << SHIFT, x1 << SHIFT, in carl9170_interpolate_u8() 1094 y1 << SHIFT, x2 << SHIFT, y2 << SHIFT); in carl9170_interpolate_u8() 1101 return (y >> SHIFT) + ((y & (1<<(SHIFT-1))) >> (SHIFT - 1)); in carl9170_interpolate_u8() 1102 #undef SHIFT in carl9170_interpolate_u8()
|
/linux-2.6.39/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 237 #define RDAC_LOG_LEVEL(SHIFT) \ argument 238 ((rdac_logging >> (SHIFT)) & ((1 << (RDAC_LOG_BITS)) - 1)) 240 #define RDAC_LOG(SHIFT, sdev, f, arg...) \ argument 242 if (unlikely(RDAC_LOG_LEVEL(SHIFT))) \
|
/linux-2.6.39/drivers/isdn/hardware/eicon/ |
D | pc.h | 272 #define SHIFT 0x90 /* codeset shift */ macro
|
D | message.c | 5946 add_p(tplci,SHIFT|6,NULL); in sig_ind() 8919 add_p(plci,SHIFT|6,NULL); in listen_check() 8975 if((w&0xf0)==SHIFT) { in IndParse() 9426 add_p(plci,SHIFT|6,NULL); in CapiRelease() 14903 add_p(plci,SHIFT|6,NULL); in CapiRegister()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/ |
D | wlc_phy_int.h | 255 (value) << phy_type##_##reg_name##_##field##_##SHIFT); 258 >> phy_type##_##reg_name##_##field##_##SHIFT)
|
/linux-2.6.39/Documentation/input/ |
D | atarikbd.txt | 647 2A (LEFT) SHIFT 659 36 (RIGHT) SHIFT
|