Home
last modified time | relevance | path

Searched refs:high (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/openbmc/qemu/include/qemu/
H A Dstats64.h26 uint32_t low, high;
73 bool stat64_add32_carry(Stat64 *s, uint32_t low, uint32_t high);
78 *s = (Stat64) { .low = value, .high = value >> 32, .lock = 0 }; in stat64_init()
83 uint32_t low, high; in stat64_add() local
84 high = value >> 32; in stat64_add()
87 if (high) { in stat64_add()
88 qatomic_add(&s->high, high); in stat64_add()
98 if (result < low || high) { in stat64_add()
100 if (stat64_add32_carry(s, low, high)) { in stat64_add()
119 uint32_t low, high; in stat64_min() local
[all …]
/openbmc/qemu/util/
H A Dstats64.c46 uint32_t high, low; in stat64_get() local
53 high = qatomic_read(&s->high); in stat64_get()
57 return ((uint64_t)high << 32) | low; in stat64_get()
66 qatomic_set(&s->high, val >> 32); in stat64_set()
71 bool stat64_add32_carry(Stat64 *s, uint32_t low, uint32_t high) in stat64_add32_carry() argument
85 high += (old + low) < old; in stat64_add32_carry()
86 qatomic_add(&s->high, high); in stat64_add32_carry()
93 uint32_t high, low; in stat64_min_slow() local
101 high = qatomic_read(&s->high); in stat64_min_slow()
104 orig = ((uint64_t)high << 32) | low; in stat64_min_slow()
[all …]
H A Drange.c81 uint64_t low, uint64_t high) in range_inverse_array() argument
91 out = append_new_range(out, low, high); in range_inverse_array()
98 out = append_new_range(out, low, MIN(range_lob(r) - 1, high)); in range_inverse_array()
105 if (range_lob(r) >= high) { in range_inverse_array()
110 MIN(range_lob(rn) - 1, high)); in range_inverse_array()
118 if (range_upb(r) < high) { in range_inverse_array()
119 out = append_new_range(out, range_upb(r) + 1, high); in range_inverse_array()
/openbmc/u-boot/arch/x86/include/asm/
H A Dmsr.h50 unsigned long low, high; in native_read_tscp() local
52 : "=a" (low), "=d" (high), "=c" (*aux)); in native_read_tscp()
53 return low | ((u64)high << 32); in native_read_tscp()
63 #define DECLARE_ARGS(val, low, high) unsigned low, high argument
64 #define EAX_EDX_VAL(val, low, high) ((low) | ((u64)(high) << 32)) argument
65 #define EAX_EDX_ARGS(val, low, high) "a" (low), "d" (high) argument
66 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument
68 #define DECLARE_ARGS(val, low, high) unsigned long long val argument
69 #define EAX_EDX_VAL(val, low, high) (val) argument
70 #define EAX_EDX_ARGS(val, low, high) "A" (val) argument
[all …]
/openbmc/u-boot/arch/nios2/lib/
H A Dlibgcc.c24 struct DWstruct { Wtype low, high;}; member
63 w.s.high = (UWtype) uu.s.low << -bm; in __ashldi3()
70 w.s.high = ((UWtype) uu.s.high << b) | carries; in __ashldi3()
89 w.s.high = uu.s.high >> (sizeof (Wtype) * BITS_PER_UNIT - 1); in __ashrdi3()
90 w.s.low = uu.s.high >> -bm; in __ashrdi3()
94 const UWtype carries = (UWtype) uu.s.high << bm; in __ashrdi3()
96 w.s.high = uu.s.high >> b; in __ashrdi3()
115 w.s.high = 0; in __lshrdi3()
116 w.s.low = (UWtype) uu.s.high >> -bm; in __lshrdi3()
120 const UWtype carries = (UWtype) uu.s.high << bm; in __lshrdi3()
[all …]
/openbmc/u-boot/arch/arc/lib/
H A Dlibgcc2.c20 w.s.high = (UWtype)uu.s.low << -bm; in __ashldi3()
25 w.s.high = ((UWtype)uu.s.high << b) | carries; in __ashldi3()
43 w.s.high = uu.s.high >> (W_TYPE_SIZE - 1); in __ashrdi3()
44 w.s.low = uu.s.high >> -bm; in __ashrdi3()
46 const UWtype carries = (UWtype) uu.s.high << bm; in __ashrdi3()
48 w.s.high = uu.s.high >> b; in __ashrdi3()
66 w.s.high = 0; in __lshrdi3()
67 w.s.low = (UWtype)uu.s.high >> -bm; in __lshrdi3()
69 const UWtype carries = (UWtype)uu.s.high << bm; in __lshrdi3()
71 w.s.high = (UWtype)uu.s.high >> b; in __lshrdi3()
/openbmc/u-boot/include/linux/
H A Dmath64.h189 u32 high, low; in mul_u64_u64_shr() member
191 u32 low, high; in mul_u64_u64_shr()
201 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
202 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
203 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
210 rl.l.high = c = (u64)rl.l.high + rm.l.low + rn.l.low; in mul_u64_u64_shr()
211 rh.l.low = c = (c >> 32) + rm.l.high + rn.l.high + rh.l.low; in mul_u64_u64_shr()
212 rh.l.high = (c >> 32) + rh.l.high; in mul_u64_u64_shr()
235 u32 high, low; in mul_u64_u32_div() member
237 u32 low, high; in mul_u64_u32_div()
[all …]
/openbmc/u-boot/lib/
H A Ddiv64.c33 uint32_t high = rem >> 32; in __div64_32() local
37 if (high >= base) { in __div64_32()
38 high /= base; in __div64_32()
39 res = (uint64_t) high << 32; in __div64_32()
40 rem -= (uint64_t) (high*base) << 32; in __div64_32()
97 u32 high = divisor >> 32; in div64_u64_rem() local
100 if (high == 0) { in div64_u64_rem()
105 int n = 1 + fls(high); in div64_u64_rem()
137 u32 high = divisor >> 32; in div64_u64() local
140 if (high == 0) { in div64_u64()
[all …]
/openbmc/u-boot/arch/mips/lib/
H A Dashrdi3.c16 w.s.high = in __ashrdi3()
17 uu.s.high >> 31; in __ashrdi3()
18 w.s.low = uu.s.high >> -bm; in __ashrdi3()
20 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
22 w.s.high = uu.s.high >> b; in __ashrdi3()
H A Dlshrdi3.c15 w.s.high = 0; in __lshrdi3()
16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
18 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
20 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3()
/openbmc/u-boot/arch/sh/lib/
H A Dashrdi3.c16 w.s.high = in __ashrdi3()
17 uu.s.high >> 31; in __ashrdi3()
18 w.s.low = uu.s.high >> -bm; in __ashrdi3()
20 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
22 w.s.high = uu.s.high >> b; in __ashrdi3()
H A Dlshrdi3.c15 w.s.high = 0; in __lshrdi3()
16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
18 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
20 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3()
/openbmc/qemu/target/i386/tcg/
H A Dmem_helper.c31 int low, high; in helper_boundw() local
34 high = cpu_ldsw_data_ra(env, a0 + 2, GETPC()); in helper_boundw()
36 if (v < low || v > high) { in helper_boundw()
46 int low, high; in helper_boundl() local
49 high = cpu_ldl_data_ra(env, a0 + 4, GETPC()); in helper_boundl()
50 if (v < low || v > high) { in helper_boundl()
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/
H A Dinit_once.sh18 set_gpio_active_low $((GPIO_BASE + 128 + 4)) high
21 set_gpio_active_low $((GPIO_BASE + 128 + 6)) high
24 set_gpio_active_low $((GPIO_BASE + 0 + 3)) high
27 set_gpio_active_low $((GPIO_BASE + 32 + 4)) high
30 set_gpio_active_low $((GPIO_BASE + 24 + 3)) high
/openbmc/phosphor-logging/test/openpower-pels/
H A Dsrc_callout_test.cpp157 Callout callout{CalloutPriority::high, "U99-42.5-P1-C2-E1", "1234567", in TEST()
181 Callout callout{CalloutPriority::high, "123", "1234567", "ABCD", in TEST()
192 Callout callout{CalloutPriority::high, "1234", "1234567", "ABCD", in TEST()
204 Callout callout{CalloutPriority::high, locCode, "1234567", "ABCD", in TEST()
219 Callout callout{CalloutPriority::high, locCode, "1234567", "ABCD", in TEST()
272 Callout callout{CalloutPriority::high, "U99-P5", "1234567", "ABCD", in TEST()
350 Callout callout{CalloutPriority::high, "service_docs", "P1-C3", false}; in TEST()
371 Callout callout{CalloutPriority::high, "service_docs", "", false}; in TEST()
392 Callout callout{CalloutPriority::high, "service_docs", "P1-C3", true}; in TEST()
414 Callout callout{CalloutPriority::high, "SYMBFRU", in TEST()
[all …]
H A Dservice_indicators_test.cpp52 testCallouts{{CalloutPriority::high, {"U27-P1"}}, in TEST()
85 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P1", in TEST()
96 CalloutPriority::high, "service_docs", "U27-P1", true)); in TEST()
106 CalloutPriority::high, "service_docs", "U27-P1", false)); in TEST()
116 std::make_unique<src::Callout>(CalloutPriority::high, "bmc_code")); in TEST()
136 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P1", in TEST()
139 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P2", in TEST()
147 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P4", in TEST()
199 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P1", in TEST()
202 CalloutPriority::high, "service_docs", "U27-P2", true)); in TEST()
[all …]
/openbmc/u-boot/arch/m68k/lib/
H A Dlshrdi3.c16 struct DIstruct {SItype high, low;}; member
38 w.s.high = 0; in __lshrdi3()
39 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3()
43 USItype carries = (USItype)uu.s.high << bm; in __lshrdi3()
44 w.s.high = (USItype)uu.s.high >> b; in __lshrdi3()
/openbmc/qemu/hw/microblaze/
H A Dboot.c141 uint64_t entry, high; in microblaze_load_kernel() local
146 &entry, NULL, &high, NULL, in microblaze_load_kernel()
167 high = (loadaddr + kernel_size + 3) & ~3; in microblaze_load_kernel()
175 high = (ddr_base + kernel_size + 3) & ~3; in microblaze_load_kernel()
182 high = ROUND_UP(high + kernel_size, 4); in microblaze_load_kernel()
183 boot_info.initrd_start = high; in microblaze_load_kernel()
200 high = ROUND_UP(high + initrd_size, 4); in microblaze_load_kernel()
203 boot_info.cmdline = high + 4096; in microblaze_load_kernel()
/openbmc/qemu/tests/unit/
H A Dtest-div128.c24 uint64_t high; member
33 int64_t high; member
168 rem = divu128(&tmp.low, &tmp.high, tmp.divisor); in test_divu128()
170 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_divu128()
184 rem = divs128(&tmp.low, &tmp.high, tmp.divisor); in test_divs128()
186 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_divs128()
H A Dtest-shift128.c14 uint64_t high; member
114 ulshift(&tmp.low, &tmp.high, tmp.shift, &overflow); in test_lshift()
116 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_lshift()
127 urshift(&tmp.low, &tmp.high, tmp.shift); in test_rshift()
129 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_rshift()
/openbmc/u-boot/drivers/timer/
H A Dsti-timer.c25 u32 low, high; in sti_timer_get_count() local
31 high = readl(&global_timer->cnt_h); in sti_timer_get_count()
32 if (old == high) in sti_timer_get_count()
35 old = high; in sti_timer_get_count()
37 timer = high; in sti_timer_get_count()
/openbmc/u-boot/arch/arm/mach-rmobile/
H A Dtimer.c19 u32 low, high; in get_cpu_global_timer() local
25 high = readl(&global_timer->cnt_h); in get_cpu_global_timer()
26 if (old == high) in get_cpu_global_timer()
29 old = high; in get_cpu_global_timer()
32 timer = high; in get_cpu_global_timer()
/openbmc/qemu/hw/ppc/
H A Dvirtex_ml507.c242 uint64_t entry, high; in virtex_init() local
247 &entry, NULL, &high, NULL, in virtex_init()
258 high = boot_info.bootstrap_pc + kernel_size + 8192; in virtex_init()
265 initrd_base = high = ROUND_UP(high, 4); in virtex_init()
267 high, machine->ram_size - high); in virtex_init()
274 high = ROUND_UP(high + initrd_size, 4); in virtex_init()
278 boot_info.fdt = high + (8192 * 2); in virtex_init()
/openbmc/qemu/hw/intc/
H A Daspeed_vic.c112 bool high; in aspeed_vic_read() local
115 high = false; in aspeed_vic_read()
118 high = !!(offset & 0x4); in aspeed_vic_read()
178 if (high) { in aspeed_vic_read()
192 bool high; in aspeed_vic_write() local
195 high = false; in aspeed_vic_write()
198 high = !!(offset & 0x4); in aspeed_vic_write()
208 if (high) { in aspeed_vic_write()
219 if (high) { in aspeed_vic_write()
248 if (high) { in aspeed_vic_write()
/openbmc/u-boot/arch/arm/dts/
H A Dtegra30-cardhu.dts238 enable-active-high;
251 enable-active-high;
263 enable-active-high;
274 enable-active-high;
284 enable-active-high;
295 enable-active-high;
306 enable-active-high;
317 enable-active-high;
330 enable-active-high;
341 enable-active-high;
[all …]

12345678910>>...28