Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/openbmc/qemu/pc-bios/keymaps/
H A Dsl41 ISO_Left_Tab 0xf shift
81 greater 0x56 shift
83 brokenbar 0x56 shift altgr
179 exclam 0x02 shift
181 dead_tilde 0x02 shift altgr
182 quotedbl 0x03 shift
184 caron 0x03 shift altgr
185 numbersign 0x04 shift
187 dead_circumflex 0x04 shift altgr
188 dollar 0x05 shift
[all …]
H A Dsv41 ISO_Left_Tab 0xf shift
81 greater 0x56 shift
83 brokenbar 0x56 shift altgr
182 onehalf 0x29 shift
185 exclam 0x2 shift
188 quotedbl 0x3 shift
192 numbersign 0x4 shift
195 currency 0x5 shift
198 percent 0x6 shift
200 ampersand 0x7 shift
[all …]
H A Dno38 exclam 0x02 shift
40 onesuperior 0x02 shift altgr
44 quotedbl 0x03 shift
46 twosuperior 0x03 shift altgr
50 numbersign 0x04 shift
52 threesuperior 0x04 shift altgr
56 currency 0x05 shift
58 onequarter 0x05 shift altgr
62 percent 0x06 shift
64 U2030 0x06 shift altgr
[all …]
H A Dpl38 exclam 0x02 shift
40 exclamdown 0x02 shift altgr
44 at 0x03 shift
46 questiondown 0x03 shift altgr
50 numbersign 0x04 shift
52 sterling 0x04 shift altgr
56 dollar 0x05 shift
58 onequarter 0x05 shift altgr
62 percent 0x06 shift
64 U2030 0x06 shift altgr
[all …]
H A Dit38 exclam 0x02 shift
40 exclamdown 0x02 shift altgr
44 quotedbl 0x03 shift
46 dead_doubleacute 0x03 shift altgr
50 sterling 0x04 shift
52 dead_tilde 0x04 shift altgr
56 dollar 0x05 shift
58 oneeighth 0x05 shift altgr
62 percent 0x06 shift
64 threeeighths 0x06 shift altgr
[all …]
H A Dfr38 1 0x02 shift
40 exclamdown 0x02 shift altgr
44 2 0x03 shift
46 oneeighth 0x03 shift altgr
50 3 0x04 shift
52 sterling 0x04 shift altgr
56 4 0x05 shift
58 dollar 0x05 shift altgr
62 5 0x06 shift
64 threeeighths 0x06 shift altgr
[all …]
H A Dis38 exclam 0x02 shift
40 exclamdown 0x02 shift altgr
44 quotedbl 0x03 shift
46 oneeighth 0x03 shift altgr
50 numbersign 0x04 shift
52 sterling 0x04 shift altgr
56 dollar 0x05 shift
58 currency 0x05 shift altgr
62 percent 0x06 shift
64 threeeighths 0x06 shift altgr
[all …]
H A Dcz38 1 0x02 shift
40 dead_tilde 0x02 shift altgr
44 2 0x03 shift
46 dead_caron 0x03 shift altgr
50 3 0x04 shift
52 dead_circumflex 0x04 shift altgr
56 4 0x05 shift
58 dead_breve 0x05 shift altgr
62 5 0x06 shift
64 dead_abovering 0x06 shift altgr
[all …]
H A Dda38 exclam 0x02 shift
40 onesuperior 0x02 shift altgr
44 quotedbl 0x03 shift
46 twosuperior 0x03 shift altgr
50 numbersign 0x04 shift
52 threesuperior 0x04 shift altgr
56 currency 0x05 shift
58 onequarter 0x05 shift altgr
62 percent 0x06 shift
64 cent 0x06 shift altgr
[all …]
H A Dhr38 exclam 0x02 shift
40 dead_tilde 0x02 shift altgr
44 quotedbl 0x03 shift
46 caron 0x03 shift altgr
50 numbersign 0x04 shift
52 dead_circumflex 0x04 shift altgr
56 dollar 0x05 shift
58 breve 0x05 shift altgr
62 percent 0x06 shift
64 dead_abovering 0x06 shift altgr
[all …]
H A Dfo38 exclam 0x02 shift
40 onesuperior 0x02 shift altgr
44 quotedbl 0x03 shift
46 twosuperior 0x03 shift altgr
50 numbersign 0x04 shift
52 threesuperior 0x04 shift altgr
56 currency 0x05 shift
58 onequarter 0x05 shift altgr
62 percent 0x06 shift
64 cent 0x06 shift altgr
[all …]
H A Dfr-be38 1 0x02 shift
40 exclamdown 0x02 shift altgr
44 2 0x03 shift
46 oneeighth 0x03 shift altgr
50 3 0x04 shift
52 sterling 0x04 shift altgr
56 4 0x05 shift
58 dollar 0x05 shift altgr
62 5 0x06 shift
64 threeeighths 0x06 shift altgr
[all …]
H A Dnl38 exclam 0x02 shift
40 exclamdown 0x02 shift altgr
44 quotedbl 0x03 shift
46 oneeighth 0x03 shift altgr
50 numbersign 0x04 shift
52 sterling 0x04 shift altgr
56 dollar 0x05 shift
61 percent 0x06 shift
63 threeeighths 0x06 shift altgr
67 ampersand 0x07 shift
[all …]
/openbmc/u-boot/drivers/clk/
H A Dclk_meson.h28 u8 shift; member
33 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument
34 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument
36 #define PARM_GET(width, shift, reg) \ argument
37 (((reg) & SETPMASK(width, shift)) >> (shift))
38 #define PARM_SET(width, shift, reg, val) \ argument
39 (((reg) & CLRPMASK(width, shift)) | ((val) << (shift)))
/openbmc/qemu/target/arm/tcg/
H A Dvec_internal.h83 static inline int32_t do_sqrshl_bhs(int32_t src, int32_t shift, int bits, in do_sqrshl_bhs() argument
86 if (shift <= -bits) { in do_sqrshl_bhs()
92 } else if (shift < 0) { in do_sqrshl_bhs()
94 src >>= -shift - 1; in do_sqrshl_bhs()
97 return src >> -shift; in do_sqrshl_bhs()
98 } else if (shift < bits) { in do_sqrshl_bhs()
99 int32_t val = src << shift; in do_sqrshl_bhs()
101 if (!sat || val >> shift == src) { in do_sqrshl_bhs()
118 static inline uint32_t do_uqrshl_bhs(uint32_t src, int32_t shift, int bits, in do_uqrshl_bhs() argument
121 if (shift <= -(bits + round)) { in do_uqrshl_bhs()
[all …]
/openbmc/u-boot/include/
H A Dbitfield.h42 static inline uint bitfield_mask(uint shift, uint width) in bitfield_mask() argument
44 return ((1 << width) - 1) << shift; in bitfield_mask()
48 static inline uint bitfield_extract(uint reg_val, uint shift, uint width) in bitfield_extract() argument
50 return (reg_val & bitfield_mask(shift, width)) >> shift; in bitfield_extract()
57 static inline uint bitfield_replace(uint reg_val, uint shift, uint width, in bitfield_replace() argument
60 uint mask = bitfield_mask(shift, width); in bitfield_replace()
62 return (reg_val & ~mask) | ((bitfield_val << shift) & mask); in bitfield_replace()
74 uint shift = bitfield_shift(mask); in bitfield_extract_by_mask() local
76 return (reg_val & mask) >> shift; in bitfield_extract_by_mask()
86 uint shift = bitfield_shift(mask); in bitfield_replace_by_mask() local
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Ddiv64.c19 u64 __ashldi3(u64 num, unsigned int shift) in __ashldi3() argument
24 if (shift >= 32) { in __ashldi3()
25 output.words.higher = output.words.lower << (shift - 32); in __ashldi3()
28 if (!shift) in __ashldi3()
30 output.words.higher = (output.words.higher << shift) | in __ashldi3()
31 (output.words.lower >> (32 - shift)); in __ashldi3()
32 output.words.lower = output.words.lower << shift; in __ashldi3()
37 u64 __lshrdi3(u64 num, unsigned int shift) in __lshrdi3() argument
42 if (shift >= 32) { in __lshrdi3()
43 output.words.lower = output.words.higher >> (shift - 32); in __lshrdi3()
[all …]
/openbmc/u-boot/arch/arm/mach-uniphier/bcu/
H A Dbcu-ld4.c17 int shift; in uniphier_ld4_bcu_init() local
26 shift = bd->dram_ch[0].size / 0x04000000 * 4; in uniphier_ld4_bcu_init()
27 writel(ch(shift), BCIPPCCHR2); /* 0x80000000-0x9fffffff */ in uniphier_ld4_bcu_init()
29 shift -= 32; in uniphier_ld4_bcu_init()
30 writel(ch(shift), BCIPPCCHR3); /* 0xa0000000-0xbfffffff */ in uniphier_ld4_bcu_init()
32 shift -= 32; in uniphier_ld4_bcu_init()
33 writel(ch(shift), BCIPPCCHR4); /* 0xc0000000-0xdfffffff */ in uniphier_ld4_bcu_init()
/openbmc/u-boot/arch/arm/dts/
H A Domap3xxx-clocks.dtsi28 ti,bit-shift = <6>;
39 ti,bit-shift = <7>;
88 ti,bit-shift = <4>;
102 ti,bit-shift = <2>;
116 ti,bit-shift = <6>;
143 ti,bit-shift = <2>;
224 ti,bit-shift = <0x1b>;
248 ti,bit-shift = <16>;
266 ti,bit-shift = <0xc>;
295 ti,bit-shift = <27>;
[all …]
H A Ddra7xx-clocks.dtsi217 ti,autoidle-shift = <8>;
237 ti,autoidle-shift = <8>;
248 ti,autoidle-shift = <8>;
258 ti,bit-shift = <23>;
280 ti,autoidle-shift = <8>;
306 ti,autoidle-shift = <8>;
332 ti,bit-shift = <23>;
350 ti,autoidle-shift = <8>;
370 ti,bit-shift = <23>;
388 ti,autoidle-shift = <8>;
[all …]
H A Domap34xx-omap36xx-clocks.dtsi23 ti,bit-shift = <3>;
32 ti,bit-shift = <2>;
40 ti,bit-shift = <1>;
48 ti,bit-shift = <0>;
55 ti,bit-shift = <0>;
65 ti,bit-shift = <0>;
73 ti,bit-shift = <1>;
89 ti,bit-shift = <4>;
97 ti,bit-shift = <29>;
105 ti,bit-shift = <26>;
[all …]
/openbmc/qemu/include/qemu/
H A Dbitops.h27 #define MAKE_64BIT_MASK(shift, length) \ argument
28 (((~0ULL) >> (64 - (length))) << (shift))
398 static inline uint8_t rol8(uint8_t word, unsigned int shift) in rol8() argument
400 return (word << (shift & 7)) | (word >> (-shift & 7)); in rol8()
408 static inline uint8_t ror8(uint8_t word, unsigned int shift) in ror8() argument
410 return (word >> (shift & 7)) | (word << (-shift & 7)); in ror8()
418 static inline uint16_t rol16(uint16_t word, unsigned int shift) in rol16() argument
420 return (word << (shift & 15)) | (word >> (-shift & 15)); in rol16()
428 static inline uint16_t ror16(uint16_t word, unsigned int shift) in ror16() argument
430 return (word >> (shift & 15)) | (word << (-shift & 15)); in ror16()
[all …]
/openbmc/qemu/util/
H A Dbitmap.c457 unsigned long shift, unsigned long nbits) in bitmap_copy_with_src_offset() argument
462 src += BIT_WORD(shift); in bitmap_copy_with_src_offset()
463 shift %= BITS_PER_LONG; in bitmap_copy_with_src_offset()
465 if (!shift) { in bitmap_copy_with_src_offset()
471 right_mask = (1ul << shift) - 1; in bitmap_copy_with_src_offset()
475 *dst = (*src & left_mask) >> shift; in bitmap_copy_with_src_offset()
476 *dst |= (src[1] & right_mask) << (BITS_PER_LONG - shift); in bitmap_copy_with_src_offset()
482 if (nbits > BITS_PER_LONG - shift) { in bitmap_copy_with_src_offset()
483 *dst = (*src & left_mask) >> shift; in bitmap_copy_with_src_offset()
484 nbits -= BITS_PER_LONG - shift; in bitmap_copy_with_src_offset()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dscg.c55 u32 shift, mask; in scg_sircdiv_get_rate() local
60 shift = SCG_SIRCDIV_DIV1_SHIFT; in scg_sircdiv_get_rate()
64 shift = SCG_SIRCDIV_DIV2_SHIFT; in scg_sircdiv_get_rate()
68 shift = SCG_SIRCDIV_DIV3_SHIFT; in scg_sircdiv_get_rate()
79 val = (reg & mask) >> shift; in scg_sircdiv_get_rate()
93 u32 shift, mask; in scg_fircdiv_get_rate() local
98 shift = SCG_FIRCDIV_DIV1_SHIFT; in scg_fircdiv_get_rate()
102 shift = SCG_FIRCDIV_DIV2_SHIFT; in scg_fircdiv_get_rate()
106 shift = SCG_FIRCDIV_DIV3_SHIFT; in scg_fircdiv_get_rate()
117 val = (reg & mask) >> shift; in scg_fircdiv_get_rate()
[all …]
/openbmc/u-boot/drivers/misc/
H A Dpca9551_led.c42 u8 shift, buf; in pca9551_led_get_state() local
49 shift = led << 1; in pca9551_led_get_state()
52 shift = (led - 4) << 1; in pca9551_led_get_state()
59 *state = (buf >> shift) & 0x03; in pca9551_led_get_state()
66 u8 shift, buf, mask; in pca9551_led_set_state() local
73 shift = led << 1; in pca9551_led_set_state()
76 shift = (led - 4) << 1; in pca9551_led_set_state()
78 mask = 0x03 << shift; in pca9551_led_set_state()
84 buf = (buf & ~mask) | ((state & 0x03) << shift); in pca9551_led_set_state()

12345678910>>...21