/openbmc/qemu/ui/ |
H A D | curses_keys.h | 36 #define SHIFT SCANCODE_SHIFT macro 133 ['!'] = 2 | SHIFT, 134 ['@'] = 3 | SHIFT, 135 ['#'] = 4 | SHIFT, 136 ['$'] = 5 | SHIFT, 137 ['%'] = 6 | SHIFT, 138 ['^'] = 7 | SHIFT, 139 ['&'] = 8 | SHIFT, 140 ['*'] = 9 | SHIFT, 141 ['('] = 10 | SHIFT, [all …]
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 25 #if SHIFT == 0 40 #if SHIFT == 1 47 #define LANE_WIDTH (SHIFT ? 16 : 8) 50 #if SHIFT == 0 61 for (int i = 0; i < 1 << SHIFT; i++) { in glue() 66 for (int i = 0; i < 4 << SHIFT; i++) { in glue() 76 for (int i = 0; i < 1 << SHIFT; i++) { in glue() 81 for (int i = 0; i < 4 << SHIFT; i++) { in glue() 95 for (int i = 0; i < 4 << SHIFT; i++) { in glue() 104 for (int i = 0; i < 1 << SHIFT; i++) { in glue() [all …]
|
H A D | helper.h | 205 #define SHIFT 0 macro 207 #define SHIFT 1 macro 209 #define SHIFT 2 macro
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_logging.h | 44 #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
|
/openbmc/qemu/audio/ |
H A D | mixeng.c | 43 #define SHIFT 8 macro 50 #undef SHIFT 57 #define SHIFT 8 macro 63 #undef SHIFT 74 #define SHIFT 16 macro 90 #undef SHIFT 97 #define SHIFT 16 macro 112 #undef SHIFT 120 #define SHIFT 32 macro 136 #undef SHIFT [all …]
|
H A D | mixeng_template.h | 78 return ((int64_t) nv) << (32 - SHIFT); in glue() 80 return ((int64_t) nv - HALF) << (32 - SHIFT); in glue() 93 return ENDIAN_CONVERT ((IN_T) (v >> (32 - SHIFT))); in glue() 95 return ENDIAN_CONVERT ((IN_T) ((v >> (32 - SHIFT)) + HALF)); in glue()
|
/openbmc/linux/arch/arc/lib/ |
H A D | memcmp.S | 10 #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
|
/openbmc/qemu/target/i386/tcg/ |
H A D | ops_sse_header.h.inc | 19 #if SHIFT == 0 24 #if SHIFT == 1 50 #if SHIFT >= 1 67 #if SHIFT == 0 80 #if SHIFT < 2 84 #if SHIFT == 0 92 #if SHIFT >= 1 104 #if SHIFT == 1 141 #if SHIFT == 1 176 #if SHIFT == 1 [all …]
|
H A D | cc_helper.c | 25 #define SHIFT 0 macro 27 #undef SHIFT 29 #define SHIFT 1 macro 31 #undef SHIFT 33 #define SHIFT 2 macro 35 #undef SHIFT 39 #define SHIFT 3 macro 41 #undef SHIFT
|
/openbmc/qemu/hw/audio/ |
H A D | adlib.c | 52 #define SHIFT 1 macro 163 nbytes = samples << SHIFT; in write_audio() 166 s->mixbuf + (pos << (SHIFT - 1)), in write_audio() 171 wsampl = wbytes >> SHIFT; in write_audio() 191 samples = free >> SHIFT; in adlib_callback() 273 as.nchannels = SHIFT; in adlib_realizefn() 291 s->samples = AUD_get_buffer_size_out (s->voice) >> SHIFT; in adlib_realizefn() 292 s->mixbuf = g_malloc0 (s->samples << SHIFT); in adlib_realizefn()
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-git-proxy | 65 SHIFT=24 68 VAL=$(($VAL+$(($B<<$SHIFT)))) 69 SHIFT=$(($SHIFT-8))
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_syncmap.c | 55 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()
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | load_align.c | 87 #define LOAD_ur(SZ, RES, SHIFT, IDX) \ argument 89 "%0 = mem" #SZ "_fifo(%1<<#" #SHIFT " + ##buf)\n\t" \ 92 #define LOAD_ur_b(RES, SHIFT, IDX) \ argument 93 LOAD_ur(b, RES, SHIFT, IDX) 94 #define LOAD_ur_h(RES, SHIFT, IDX) \ argument 95 LOAD_ur(h, RES, SHIFT, IDX) 97 #define TEST_ur(NAME, SZ, SHIFT, RES1, RES2, RES3, RES4) \ argument 101 LOAD_ur_##SZ(result, (SHIFT), 0); \ 103 LOAD_ur_##SZ(result, (SHIFT), 1); \ 105 LOAD_ur_##SZ(result, (SHIFT), 2); \ [all …]
|
H A D | brev.c | 112 #define TEST_BREV_LOAD(SZ, TYPE, BUF, SHIFT, EXP) \ argument 117 BREV_LOAD_##SZ(result, p, 1 << (SHIFT - NBITS)); \ 122 #define TEST_BREV_STORE(SZ, TYPE, BUF, VAL, SHIFT) \ argument 127 BREV_STORE_##SZ(p, (TYPE)(VAL), 1 << (SHIFT - NBITS)); \ 134 #define TEST_BREV_STORE_NEW(SZ, BUF, SHIFT) \ argument 139 BREV_STORE_##SZ(p, i, 1 << (SHIFT - NBITS)); \
|
H A D | load_unpack.c | 96 #define BxW_LOAD_ur(SZ, RES, SHIFT, IDX) \ argument 98 "%0 = mem" #SZ "(%1<<#" #SHIFT " + ##buf)\n\t" \ 101 #define BxW_LOAD_ur_Z(RES, SHIFT, IDX) \ argument 102 BxW_LOAD_ur(ubh, RES, SHIFT, IDX) 103 #define BxW_LOAD_ur_S(RES, SHIFT, IDX) \ argument 104 BxW_LOAD_ur(bh, RES, SHIFT, IDX) 106 #define TEST_ur(NAME, TYPE, SIGN, SHIFT, EXT, RES1, RES2, RES3, RES4) \ argument 111 BxW_LOAD_ur_##SIGN(result, (SHIFT), 0); \ 113 BxW_LOAD_ur_##SIGN(result, (SHIFT), 1); \ 115 BxW_LOAD_ur_##SIGN(result, (SHIFT), 2); \ [all …]
|
H A D | circ.c | 339 #define CIRC_TEST_STORE_IMM(SZ, CHK, TYPE, BUF, BUFSIZE, SHIFT, INC) \ argument 347 CIRC_STORE_IMM_##SZ(val << SHIFT, p, BUF, size * sizeof(TYPE), INC); \ 355 CIRC_STORE_IMM_##SZ(val << SHIFT, p, BUF, size * sizeof(TYPE), \ 371 #define CIRC_TEST_STORE_REG(SZ, CHK, TYPE, BUF, BUFSIZE, SHIFT) \ argument 379 CIRC_STORE_REG_##SZ(val << SHIFT, p, BUF, size * sizeof(TYPE), 1); \ 387 CIRC_STORE_REG_##SZ(val << SHIFT, p, BUF, size * sizeof(TYPE), -1); \
|
/openbmc/linux/sound/core/oss/ |
H A 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 = 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()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_syncmap.c | 32 #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()
|
/openbmc/linux/arch/riscv/lib/ |
H A D | strlen.S | 41 # define SHIFT sll macro 44 # define SHIFT srl macro 79 SHIFT t1, t1, t2
|
/openbmc/qemu/accel/tcg/ |
H A D | atomic_template.h | 27 # define SHIFT 4 macro 33 # define SHIFT 3 macro 39 # define SHIFT 2 macro 45 # define SHIFT 1 macro 51 # define SHIFT 0 macro 331 #undef SHIFT
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | Makefile | 14 ifndef SHIFT 15 SHIFT=3 macro 66 @if ! grep -qws $(SHIFT) generated/map-shift.h; then \
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-pelt.c | 14 #define SHIFT 32 macro 65 max = ((max*y_inv)>>SHIFT) + 1024; in calc_converged_max()
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | phy.c | 1089 #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()
|
/openbmc/u-boot/include/ |
H A D | i8042.h | 67 #define SHIFT 0x0008 /* shift */ macro
|
/openbmc/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_rdac.c | 255 #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))) \
|