| /openbmc/bmcweb/test/redfish-core/include/utils/ |
| H A D | ip_utils_test.cpp | 44 uint8_t bits = 0; in TEST() local 45 EXPECT_TRUE(ipv4VerifyIpAndGetBitcount("128.0.0.0", &bits)); in TEST() 46 EXPECT_EQ(bits, 1); in TEST() 47 EXPECT_TRUE(ipv4VerifyIpAndGetBitcount("192.0.0.0", &bits)); in TEST() 48 EXPECT_EQ(bits, 2); in TEST() 49 EXPECT_TRUE(ipv4VerifyIpAndGetBitcount("224.0.0.0", &bits)); in TEST() 50 EXPECT_EQ(bits, 3); in TEST() 51 EXPECT_TRUE(ipv4VerifyIpAndGetBitcount("240.0.0.0", &bits)); in TEST() 52 EXPECT_EQ(bits, 4); in TEST() 53 EXPECT_TRUE(ipv4VerifyIpAndGetBitcount("248.0.0.0", &bits)); in TEST() [all …]
|
| /openbmc/u-boot/board/micronas/vct/ |
| H A D | dcgu.c | 40 en1.bits.en_clkmsmc = enable; in dcgu_set_clk_switch() 43 en1.bits.en_clkssi_s = enable; in dcgu_set_clk_switch() 46 en1.bits.en_clkssi_m = enable; in dcgu_set_clk_switch() 49 en1.bits.en_clksmc = enable; in dcgu_set_clk_switch() 52 en1.bits.en_clkebi = enable; in dcgu_set_clk_switch() 55 en1.bits.en_usbpll = enable; in dcgu_set_clk_switch() 58 en1.bits.en_clkusb60 = enable; in dcgu_set_clk_switch() 61 en1.bits.en_clkusb24 = enable; in dcgu_set_clk_switch() 64 en1.bits.en_clkuart2 = enable; in dcgu_set_clk_switch() 67 en1.bits.en_clkuart1 = enable; in dcgu_set_clk_switch() [all …]
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | rk3399-op1-opp.dtsi | 12 opp-hz = /bits/ 64 <408000000>; 17 opp-hz = /bits/ 64 <600000000>; 21 opp-hz = /bits/ 64 <816000000>; 25 opp-hz = /bits/ 64 <1008000000>; 29 opp-hz = /bits/ 64 <1200000000>; 33 opp-hz = /bits/ 64 <1416000000>; 37 opp-hz = /bits/ 64 <1512000000>; 47 opp-hz = /bits/ 64 <408000000>; 52 opp-hz = /bits/ 64 <600000000>; 56 opp-hz = /bits/ 64 <816000000>; [all …]
|
| H A D | at91sam9261ek.dts | 45 bits-per-pixel = <16>; 131 ti,x-min = /bits/ 16 <150>; 132 ti,x-max = /bits/ 16 <3830>; 133 ti,y-min = /bits/ 16 <190>; 134 ti,y-max = /bits/ 16 <3830>; 135 ti,vref-delay-usecs = /bits/ 16 <450>; 136 ti,x-plate-ohms = /bits/ 16 <450>; 137 ti,y-plate-ohms = /bits/ 16 <250>; 138 ti,pressure-max = /bits/ 16 <15000>; 139 ti,debounce-rep = /bits/ 16 <0>; [all …]
|
| /openbmc/qemu/scripts/kvm/ |
| H A D | vmxcap | 44 def __init__(self, name, bits, cap_msr, true_cap_msr = None): argument 46 self.bits = bits 59 for bit in sorted(self.bits.keys()): 74 print(' %-40s %s' % (self.bits[bit], s)) 84 def __init__(self, name, bits, msr): argument 86 self.bits = bits 97 for bits in sorted(self.bits.keys(), key = first_bit): 98 if type(bits) is tuple: 99 lo, hi = bits 102 lo = hi = bits [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/upm/upm/ |
| H A D | 0001-Use-stdint-types.patch | 26 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0); 27 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0); 28 setInterruptEnable0(bits); 31 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0); 32 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0); 33 setInterruptEnable1(bits); 36 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(20), nullptr, 0); 37 + uint8_t bits = (uint8_t)std::stoul(tok.substr(20), nullptr, 0); 38 setInterruptEnable2(bits); 41 - u_int8_t bits = (u_int8_t)std::stoul(tok.substr(17), nullptr, 0); [all …]
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | inffast.c | 86 unsigned bits; /* local strm->bits */ in inflate_fast() local 121 bits = state->bits; in inflate_fast() 130 if (bits < 15) { in inflate_fast() 131 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 132 bits += 8; in inflate_fast() 133 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 134 bits += 8; in inflate_fast() 138 op = (unsigned)(this.bits); in inflate_fast() 140 bits -= op; in inflate_fast() 152 if (bits < op) { in inflate_fast() [all …]
|
| H A D | inflate.c | 26 state->bits = 0; in inflateReset() 185 bits = state->bits; \ 196 state->bits = bits; \ 203 bits = 0; \ 212 hold += (unsigned long)(*next++) << bits; \ 213 bits += 8; \ 220 while (bits < (unsigned)(n)) \ 232 bits -= (unsigned)(n); \ 238 hold >>= bits & 7; \ 239 bits -= bits & 7; \ [all …]
|
| /openbmc/qemu/ |
| H A D | page-vary-common.c | 29 bool set_preferred_target_page_bits_common(int bits) in set_preferred_target_page_bits_common() argument 37 if (target_page.bits == 0 || target_page.bits > bits) { in set_preferred_target_page_bits_common() 41 target_page.bits = bits; in set_preferred_target_page_bits_common() 48 if (target_page.bits == 0) { in finalize_target_page_bits_common() 49 target_page.bits = min; in finalize_target_page_bits_common() 51 target_page.mask = -1ull << target_page.bits; in finalize_target_page_bits_common()
|
| H A D | page-vary-target.c | 61 bool set_preferred_target_page_bits(int bits) in set_preferred_target_page_bits() argument 63 assert(bits >= TARGET_PAGE_BITS_MIN); in set_preferred_target_page_bits() 65 return set_preferred_target_page_bits_common(bits); in set_preferred_target_page_bits() 76 assert(target_page.bits != 0); in finalize_target_page_bits() 77 finalize_target_page_bits_common(target_page.bits); in finalize_target_page_bits()
|
| /openbmc/u-boot/arch/arm/mach-imx/mx7/ |
| H A D | ddr.c | 115 int bits = 0;/* Number of address bits */ in imx_ddr_size() local 120 bits += 2 - field_val; in imx_ddr_size() 124 bits += field_val - 1; in imx_ddr_size() 126 bits += 2;/* Column address 0 and 1 are fixed mapped */ in imx_ddr_size() 130 bits++; in imx_ddr_size() 133 bits++; in imx_ddr_size() 136 bits++; in imx_ddr_size() 139 bits++; in imx_ddr_size() 143 bits++; in imx_ddr_size() 146 bits++; in imx_ddr_size() [all …]
|
| /openbmc/u-boot/board/toradex/colibri_imx6/ |
| H A D | pf0100_otp.inc | 72 {pmic_i2c, 0xF1, 0x00}, // Reset Bank 1 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 73 {pmic_i2c, 0xF2, 0x00}, // Reset Bank 2 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 74 {pmic_i2c, 0xF3, 0x00}, // Reset Bank 3 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 75 {pmic_i2c, 0xF4, 0x00}, // Reset Bank 4 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 76 {pmic_i2c, 0xF5, 0x00}, // Reset Bank 5 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 77 {pmic_i2c, 0xF6, 0x00}, // Reset Bank 6 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 78 {pmic_i2c, 0xF7, 0x00}, // Reset Bank 7 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 79 {pmic_i2c, 0xF8, 0x00}, // Reset Bank 8 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 80 {pmic_i2c, 0xF9, 0x00}, // Reset Bank 9 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 81 {pmic_i2c, 0xFA, 0x00}, // Reset Bank 10 ANTIFUSE_RW and ANTIFUSE_BYPASS bits [all …]
|
| /openbmc/qemu/util/ |
| H A D | bitmap.c | 41 int slow_bitmap_empty(const unsigned long *bitmap, long bits) in slow_bitmap_empty() argument 43 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_empty() 50 if (bits % BITS_PER_LONG) { in slow_bitmap_empty() 51 if (bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) { in slow_bitmap_empty() 59 int slow_bitmap_full(const unsigned long *bitmap, long bits) in slow_bitmap_full() argument 61 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_full() 69 if (bits % BITS_PER_LONG) { in slow_bitmap_full() 70 if (~bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) { in slow_bitmap_full() 79 const unsigned long *bitmap2, long bits) in slow_bitmap_equal() argument 81 long k, lim = bits/BITS_PER_LONG; in slow_bitmap_equal() [all …]
|
| /openbmc/u-boot/board/toradex/apalis_imx6/ |
| H A D | pf0100_otp.inc | 74 {pmic_i2c, 0xF1, 0x00}, // Reset Bank 1 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 75 {pmic_i2c, 0xF2, 0x00}, // Reset Bank 2 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 76 {pmic_i2c, 0xF3, 0x00}, // Reset Bank 3 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 77 {pmic_i2c, 0xF4, 0x00}, // Reset Bank 4 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 78 {pmic_i2c, 0xF5, 0x00}, // Reset Bank 5 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 79 {pmic_i2c, 0xF6, 0x00}, // Reset Bank 6 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 80 {pmic_i2c, 0xF7, 0x00}, // Reset Bank 7 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 81 {pmic_i2c, 0xF8, 0x00}, // Reset Bank 8 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 82 {pmic_i2c, 0xF9, 0x00}, // Reset Bank 9 ANTIFUSE_RW and ANTIFUSE_BYPASS bits 83 {pmic_i2c, 0xFA, 0x00}, // Reset Bank 10 ANTIFUSE_RW and ANTIFUSE_BYPASS bits [all …]
|
| /openbmc/u-boot/drivers/net/ |
| H A D | smc91111.c | 841 static void smc_dump_mii_stream (byte * bits, int size) in smc_dump_mii_stream() argument 852 if (bits[i] & MII_MDOE) in smc_dump_mii_stream() 860 if (bits[i] & MII_MDO) in smc_dump_mii_stream() 868 if (bits[i] & MII_MDI) in smc_dump_mii_stream() 888 byte bits[64]; in smc_read_phy_register() local 896 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register() 899 bits[clk_idx++] = MII_MDOE; in smc_read_phy_register() 900 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register() 903 bits[clk_idx++] = MII_MDOE | MII_MDO; in smc_read_phy_register() 904 bits[clk_idx++] = MII_MDOE; in smc_read_phy_register() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 112.out | 6 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits 8 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits 10 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits 12 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits 14 refcount bits: 1 16 refcount bits: 64 18 refcount bits: 16 23 refcount bits: 16 25 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1… 27 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1… [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch | 14 sysdeps/aarch64/bits/wordsize.h | 11 +++++++++-- 15 sysdeps/arm/bits/wordsize.h | 22 +--------------------- 17 mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h 19 diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h 21 --- a/sysdeps/aarch64/bits/wordsize.h 22 +++ b/sysdeps/aarch64/bits/wordsize.h 45 diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h 48 --- a/sysdeps/arm/bits/wordsize.h 72 diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h 76 +++ b/sysdeps/arm/bits/wordsize.h [all …]
|
| /openbmc/u-boot/scripts/dtc/ |
| H A D | dtc-parser.y | 47 int bits; member 329 unsigned long long bits; variable 331 bits = $2; 333 if ((bits != 8) && (bits != 16) && 334 (bits != 32) && (bits != 64)) { 337 bits = 32; 341 $$.bits = bits; 346 $$.bits = 32; 350 if ($1.bits < 64) { 351 uint64_t mask = (1ULL << $1.bits) - 1; [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/musl/musl/ |
| H A D | 0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch | 9 arch/riscv32/bits/syscall.h.in | 11 +++++++++++ 10 arch/riscv64/bits/syscall.h.in | 11 +++++++++++ 13 diff --git a/arch/riscv32/bits/syscall.h.in b/arch/riscv32/bits/syscall.h.in 15 --- a/arch/riscv32/bits/syscall.h.in 16 +++ b/arch/riscv32/bits/syscall.h.in 42 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in 44 --- a/arch/riscv64/bits/syscall.h.in 45 +++ b/arch/riscv64/bits/syscall.h.in
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/ |
| H A D | 0001-Upgrade-radium-to-1.0.patch | 30 let _: &BitSlice<u64, Msb0> = bits![u64, crate::order::Msb0; 1; 100]; 35 - let _: &BitSlice<AtomicU8, LocalBits> = bits![AtomicU8, LocalBits; 0, 1]; 36 - let _: &BitSlice<AtomicU8, Lsb0> = bits![AtomicU8, Lsb0; 0, 1]; 37 - let _: &BitSlice<AtomicU8, Msb0> = bits![AtomicU8, Msb0; 0, 1]; 38 - let _: &BitSlice<RadiumU8, LocalBits> = bits![RadiumU8, LocalBits; 1; 100]; 39 - let _: &BitSlice<RadiumU8, Lsb0> = bits![RadiumU8, Lsb0; 1; 100]; 40 - let _: &BitSlice<RadiumU8, Msb0> = bits![RadiumU8, Msb0; 1; 100]; 43 - let _: &BitSlice<AtomicU16, LocalBits> = bits![AtomicU16, LocalBits; 0, 1]; 44 - let _: &BitSlice<AtomicU16, Lsb0> = bits![AtomicU16, Lsb0; 0, 1]; 45 - let _: &BitSlice<AtomicU16, Msb0> = bits![AtomicU16, Msb0; 0, 1]; [all …]
|
| /openbmc/qemu/include/qemu/ |
| H A D | bitmap.h | 69 #define DECLARE_BITMAP(name,bits) \ argument 70 unsigned long name[BITS_TO_LONGS(bits)] 77 #define DECLARE_BITMAP32(name, bits) \ argument 78 uint32_t name[BITS_TO_U32S(bits)] 83 int slow_bitmap_empty(const unsigned long *bitmap, long bits); 84 int slow_bitmap_full(const unsigned long *bitmap, long bits); 86 const unsigned long *bitmap2, long bits); 88 long bits); 90 const unsigned long *bitmap2, long bits); 92 const unsigned long *bitmap2, long bits); [all …]
|
| /openbmc/u-boot/arch/arm/mach-sunxi/ |
| H A D | pmic_bus.c | 95 int pmic_bus_setbits(u8 reg, u8 bits) in pmic_bus_setbits() argument 104 if ((val & bits) == bits) in pmic_bus_setbits() 107 val |= bits; in pmic_bus_setbits() 111 int pmic_bus_clrbits(u8 reg, u8 bits) in pmic_bus_clrbits() argument 120 if (!(val & bits)) in pmic_bus_clrbits() 123 val &= ~bits; in pmic_bus_clrbits()
|
| /openbmc/qemu/docs/devel/testing/ |
| H A D | acpi-bits.rst | 9 `here <https://github.com/biosbits/bits/tree/master>`__. It is a software that 13 operating system getting involved in between. Bios-bits has python integration 32 bios-bits very attractive for testing bioses. More details on the inspiration 36 For QEMU, we maintain a fork of bios bits in `gitlab`_, along with all 39 bits. The author of this document is the current maintainer of the QEMU 40 fork of bios bits repository. For more information, please see `the 41 author's FOSDEM presentation <FOSDEM_>`__ on this bios-bits based test framework. 43 .. _Plumbers: https://blog.linuxplumbersconf.org/2011/ocw/system/presentations/867/original/bits.pdf 45 .. _gitlab: https://gitlab.com/qemu-project/biosbits-bits 61 ├── acpi-bits [all …]
|
| /openbmc/qemu/include/exec/ |
| H A D | cputlb.h | 204 uint16_t idxmap, unsigned bits); 209 unsigned bits); 224 unsigned bits); 231 unsigned bits); 265 unsigned bits) in tlb_flush_page_bits_by_mmuidx() argument 270 uint16_t idxmap, unsigned bits) in tlb_flush_page_bits_by_mmuidx_all_cpus_synced() argument 275 unsigned bits) in tlb_flush_range_by_mmuidx() argument 282 unsigned bits) in tlb_flush_range_by_mmuidx_all_cpus_synced() argument
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | mini_inflate.c | 37 stream->codes.bits = 8; in init_stream() 45 stream->lengths.bits = 16; in init_stream() 53 stream->distance.bits = 16; in init_stream() 67 const unsigned int bits) in pull_bits() argument 73 for (i = 0; i < bits; i++) { in pull_bits() 123 int bits = 0; in read_symbol() local 125 while (!(set->count[bits] && code < set->first[bits] + in read_symbol() 126 set->count[bits])) { in read_symbol() 128 if (++bits > set->bits) { in read_symbol() 134 return set->symbols[set->pos[bits] + code - set->first[bits]]; in read_symbol() [all …]
|