Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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) do { } while (0) argument
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/radix-tree/
DMakefile13 ifndef SHIFT
14 SHIFT=3 macro
54 @if ! grep -qws $(SHIFT) generated/map-shift.h; then \
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-pelt.c14 #define SHIFT 32 macro
65 max = ((max*y_inv)>>SHIFT) + 1024; in calc_converged_max()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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))) \
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpufeature.c137 #define __ARM64_FTR_BITS(SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
143 .shift = SHIFT, \
149 #define ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
150 __ARM64_FTR_BITS(FTR_UNSIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
153 #define S_ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
154 __ARM64_FTR_BITS(FTR_SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dhw.h146 #define DESC_GET(_x, _name) ((_x) >> _name##SHIFT & _name##MASK)
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c5025 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_path_extents() argument
5062 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_path_extents()
5094 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_path_extents()
5123 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_extents() argument
5149 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5184 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_extents()
5209 if (SHIFT == SHIFT_LEFT && *iterator > in ext4_ext_shift_extents()
5221 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5238 handle, SHIFT); in ext4_ext_shift_extents()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Drc-tables.rst250 - TIME SHIFT
/kernel/linux/linux-5.10/Documentation/input/devices/
Datarikbd.rst757 2A (LEFT) SHIFT
769 36 (RIGHT) SHIFT