Home
last modified time | relevance | path

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

/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
/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()
/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()
/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()
/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))) \
/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)
/drivers/net/ethernet/atheros/alx/
Dhw.h146 #define DESC_GET(_x, _name) ((_x) >> _name##SHIFT & _name##MASK)