Home
last modified time | relevance | path

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

/linux-6.12.1/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
/linux-6.12.1/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-6.12.1/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-6.12.1/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 = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch); in rate_src_frames()
227 res = DIV_ROUND_CLOSEST(frames << SHIFT, 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-6.12.1/drivers/gpu/drm/i915/
Di915_syncmap.c32 #define SHIFT ilog2(KSYNCMAP) macro
91 BUILD_BUG_ON_NOT_POWER_OF_2(SHIFT); in i915_syncmap_init()
123 return id >> p->height >> SHIFT; in __sync_branch_prefix()
129 return id >> SHIFT; in __sync_leaf_prefix()
289 above = round_up(above, SHIFT); in __sync_set()
302 idx = p->prefix >> (above - SHIFT) & MASK; in __sync_set()
/linux-6.12.1/arch/riscv/lib/
Dstrlen.S41 # define SHIFT sll macro
44 # define SHIFT srl macro
79 SHIFT t1, t1, t2
/linux-6.12.1/tools/testing/shared/
Dshared.mk22 ifndef SHIFT
23 SHIFT=3
61 @if ! grep -qws $(SHIFT) generated/map-shift.h; then \
/linux-6.12.1/Documentation/scheduler/
Dsched-pelt.c14 #define SHIFT 32 macro
65 max = ((max*y_inv)>>SHIFT) + 1024; in calc_converged_max()
/linux-6.12.1/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-6.12.1/arch/arm64/boot/dts/qcom/
Dqcm6490-shift-otter.dts26 model = "SHIFT SHIFTphone 8";
519 firmware-name = "qcom/qcm6490/SHIFT/otter/a660_zap.mbn";
567 firmware-name = "qcom/qcm6490/SHIFT/otter/ipa_fws.mbn";
742 firmware-name = "qcom/qcm6490/SHIFT/otter/adsp.mbn";
747 firmware-name = "qcom/qcm6490/SHIFT/otter/cdsp.mbn";
752 firmware-name = "qcom/qcm6490/SHIFT/otter/modem.mbn";
757 firmware-name = "qcom/qcm6490/SHIFT/otter/wpss.mbn";
Dsdm845-shift-axolotl.dts18 model = "SHIFT SHIFT6mq";
/linux-6.12.1/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-6.12.1/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c52 #define LN_PIN_GPIO(REV, ID, NAME, REG, SHIFT, INVERT) \ argument
55 .shift = LOCHNAGAR##REV##_##SHIFT##_SHIFT, .invert = INVERT, \
68 #define LN1_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \ argument
69 LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT)
77 #define LN2_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \ argument
78 LN_PIN_GPIO(2, ID, NAME, REG, SHIFT, INVERT)
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dset_id_regs.c47 #define __REG_FTR_BITS(NAME, SIGNED, TYPE, SHIFT, MASK, SAFE_VAL) \ argument
52 .shift = SHIFT, \
/linux-6.12.1/drivers/net/ethernet/atheros/alx/
Dhw.h146 #define DESC_GET(_x, _name) ((_x) >> _name##SHIFT & _name##MASK)
/linux-6.12.1/arch/arm64/kernel/
Dcpufeature.c180 #define __ARM64_FTR_BITS(SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
186 .shift = SHIFT, \
192 #define ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
193 __ARM64_FTR_BITS(FTR_UNSIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
196 #define S_ARM64_FTR_BITS(VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL) \ argument
197 __ARM64_FTR_BITS(FTR_SIGNED, VISIBLE, STRICT, TYPE, SHIFT, WIDTH, SAFE_VAL)
/linux-6.12.1/fs/ext4/
Dextents.c5087 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_path_extents() argument
5124 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_path_extents()
5156 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_path_extents()
5185 enum SHIFT_DIRECTION SHIFT) in ext4_ext_shift_extents() argument
5211 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5247 if (SHIFT == SHIFT_LEFT) in ext4_ext_shift_extents()
5272 if (SHIFT == SHIFT_LEFT && *iterator > in ext4_ext_shift_extents()
5284 if (SHIFT == SHIFT_LEFT) { in ext4_ext_shift_extents()
5308 handle, SHIFT); in ext4_ext_shift_extents()
/linux-6.12.1/Documentation/userspace-api/media/rc/
Drc-tables.rst250 - TIME SHIFT
/linux-6.12.1/Documentation/input/devices/
Datarikbd.rst757 2A (LEFT) SHIFT
769 36 (RIGHT) SHIFT