Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dscsi_logging.h44 #define SCSI_LOG_LEVEL(SHIFT, BITS) \ argument
45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1))
47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument
49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \
55 #define SCSI_LOG_LEVEL(SHIFT, BITS) 0 argument
56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) argument
/Linux-v5.4/arch/arc/lib/
Dmemcmp.S10 #define SHIFT r3 macro
13 #define SHIFT r2 macro
50 asl_s SHIFT,SHIFT,3
60 bset r0,r0,SHIFT
96 neg_s SHIFT,SHIFT
97 lsr r4,r4,SHIFT
98 lsr r5,r5,SHIFT
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_syncmap.c55 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT); in __sync_print()
58 X = (p->height + SHIFT) / 4; in __sync_print()
296 for (order = 0; order < 64; order += SHIFT) { in igt_syncmap_join_above()
345 for (order = 64 - SHIFT; order > 0; order -= SHIFT) { in igt_syncmap_join_below()
362 for (order = SHIFT; order < 64; order += SHIFT) { in igt_syncmap_join_below()
383 for (order = SHIFT; order < 64; order += SHIFT) { in igt_syncmap_join_below()
462 for (order = SHIFT; order < 64; order += SHIFT) { in igt_syncmap_compact()
/Linux-v5.4/sound/core/oss/
Drate.c27 #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-v5.4/drivers/gpu/drm/i915/
Di915_syncmap.c32 #define SHIFT ilog2(KSYNCMAP) macro
94 BUILD_BUG_ON_NOT_POWER_OF_2(SHIFT); in i915_syncmap_init()
126 return id >> p->height >> SHIFT; in __sync_branch_prefix()
132 return id >> SHIFT; in __sync_leaf_prefix()
292 above = round_up(above, SHIFT); in __sync_set()
305 idx = p->prefix >> (above - SHIFT) & MASK; in __sync_set()
/Linux-v5.4/tools/testing/radix-tree/
DMakefile13 ifndef SHIFT
14 SHIFT=3 macro
54 @if ! grep -qws $(SHIFT) generated/map-shift.h; then \
/Linux-v5.4/Documentation/scheduler/
Dsched-pelt.c14 #define SHIFT 32 macro
65 max = ((max*y_inv)>>SHIFT) + 1024; in calc_converged_max()
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
Dphy.c1089 #define SHIFT 8 in carl9170_interpolate_u8() macro
1092 y = carl9170_interpolate_s32(x << SHIFT, x1 << SHIFT, in carl9170_interpolate_u8()
1093 y1 << SHIFT, x2 << SHIFT, y2 << SHIFT); in carl9170_interpolate_u8()
1100 return (y >> SHIFT) + ((y & (1 << (SHIFT - 1))) >> (SHIFT - 1)); in carl9170_interpolate_u8()
1101 #undef SHIFT in carl9170_interpolate_u8()
/Linux-v5.4/drivers/scsi/device_handler/
Dscsi_dh_rdac.c255 #define RDAC_LOG_LEVEL(SHIFT) \ argument
256 ((rdac_logging >> (SHIFT)) & ((1 << (RDAC_LOG_BITS)) - 1))
258 #define RDAC_LOG(SHIFT, sdev, f, arg...) \ argument
260 if (unlikely(RDAC_LOG_LEVEL(SHIFT))) \
/Linux-v5.4/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c50 #define LN_PIN_GPIO(REV, ID, NAME, REG, SHIFT, INVERT) \ argument
53 .shift = LOCHNAGAR##REV##_##SHIFT##_SHIFT, .invert = INVERT, \
66 #define LN1_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \ argument
67 LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT)
75 #define LN2_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \ argument
76 LN_PIN_GPIO(2, ID, NAME, REG, SHIFT, INVERT)
/Linux-v5.4/arch/arm64/kernel/
Dcpufeature.c87 #define __ARM64_FTR_BITS(SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
93 .shift = SHIFT, \
99 #define ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
100 __ARM64_FTR_BITS(FTR_UNSIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
103 #define S_ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
104 __ARM64_FTR_BITS(FTR_SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dhw.h146 #define DESC_GET(_x, _name) ((_x) >> _name##SHIFT & _name##MASK)
/Linux-v5.4/fs/ext4/
Dextents.c5230 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_path_extents() argument
5253 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_path_extents()
5285 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_path_extents()
5314 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_extents() argument
5339 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5373 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_extents()
5395 if (SHIFT == SHIFT_LEFT && *iterator > in ext4_ext_shift_extents()
5406 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5423 handle, SHIFT); in ext4_ext_shift_extents()
/Linux-v5.4/Documentation/media/uapi/rc/
Drc-tables.rst257 - TIME SHIFT
/Linux-v5.4/Documentation/input/devices/
Datarikbd.rst757 2A (LEFT) SHIFT
769 36 (RIGHT) SHIFT