/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | i2c_compare_bit_action_tests.cpp | 46 I2CCompareBitAction action{0x7C, 2, 0}; in TEST() 47 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 49 EXPECT_EQ(action.getValue(), 0); in TEST() 59 I2CCompareBitAction action{0x7C, 8, 0}; in TEST() 74 I2CCompareBitAction action{0x7C, 2, 2}; in TEST() 92 // Create mock I2CInterface: read() returns value 0x96 (1001 0110) in TEST() 96 EXPECT_CALL(*i2cInterface, read(0x7C, A<uint8_t&>())) in TEST() 97 .WillRepeatedly(SetArgReferee<1>(0x96)); in TEST() 110 // Test all bits in register value 0x96 == 1001 0110). in TEST() 113 I2CCompareBitAction{0x7C, 7, 1}, in TEST() [all …]
|
H A D | i2c_write_bit_action_tests.cpp | 47 I2CWriteBitAction action{0x7C, 2, 0}; in TEST() 48 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 50 EXPECT_EQ(action.getValue(), 0); in TEST() 60 I2CWriteBitAction action{0x7C, 8, 0}; in TEST() 75 I2CWriteBitAction action{0x7C, 2, 2}; in TEST() 90 // Test where works: Value is 0 in TEST() 93 // Create mock I2CInterface: read() returns value 0xB6 in TEST() 97 EXPECT_CALL(*i2cInterface, read(0xA0, A<uint8_t&>())) in TEST() 99 .WillOnce(SetArgReferee<1>(0xB6)); in TEST() 101 write(TypedEq<uint8_t>(0xA0), TypedEq<uint8_t>(0x96))) in TEST() [all …]
|
H A D | i2c_write_byte_action_tests.cpp | 46 I2CWriteByteAction action{0x7C, 0x0A}; in TEST() 47 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 48 EXPECT_EQ(action.getValue(), 0x0A); in TEST() 49 EXPECT_EQ(action.getMask(), 0xFF); in TEST() 54 I2CWriteByteAction action{0xA0, 0xD6, 0xC3}; in TEST() 55 EXPECT_EQ(action.getRegister(), 0xA0); in TEST() 56 EXPECT_EQ(action.getValue(), 0xD6); in TEST() 57 EXPECT_EQ(action.getMask(), 0xC3); in TEST() 70 EXPECT_CALL(*i2cInterface, read(A<uint8_t>(), A<uint8_t&>())).Times(0); in TEST() 72 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST() [all …]
|
H A D | i2c_compare_bytes_action_tests.cpp | 50 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() 51 I2CCompareBytesAction action{0x7C, values}; in TEST() 53 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 56 EXPECT_EQ(action.getValues()[0], 0x56); in TEST() 57 EXPECT_EQ(action.getValues()[1], 0x14); in TEST() 58 EXPECT_EQ(action.getValues()[2], 0xDA); in TEST() 61 EXPECT_EQ(action.getMasks()[0], 0xFF); in TEST() 62 EXPECT_EQ(action.getMasks()[1], 0xFF); in TEST() 63 EXPECT_EQ(action.getMasks()[2], 0xFF); in TEST() 74 I2CCompareBytesAction action{0x7C, values}; in TEST() [all …]
|
H A D | i2c_write_bytes_action_tests.cpp | 53 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() 54 I2CWriteBytesAction action{0x7C, values}; in TEST() 56 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 59 EXPECT_EQ(action.getValues()[0], 0x56); in TEST() 60 EXPECT_EQ(action.getValues()[1], 0x14); in TEST() 61 EXPECT_EQ(action.getValues()[2], 0xDA); in TEST() 63 EXPECT_EQ(action.getMasks().size(), 0); in TEST() 74 I2CWriteBytesAction action{0x7C, values}; in TEST() 95 std::vector<uint8_t> values{0x56, 0x14}; in TEST() 96 std::vector<uint8_t> masks{0x7E, 0x3C}; in TEST() [all …]
|
H A D | i2c_compare_byte_action_tests.cpp | 45 I2CCompareByteAction action{0x7C, 0xDE}; in TEST() 46 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 47 EXPECT_EQ(action.getValue(), 0xDE); in TEST() 48 EXPECT_EQ(action.getMask(), 0xFF); in TEST() 53 I2CCompareByteAction action{0xA0, 0x03, 0x47}; in TEST() 54 EXPECT_EQ(action.getRegister(), 0xA0); in TEST() 55 EXPECT_EQ(action.getValue(), 0x03); in TEST() 56 EXPECT_EQ(action.getMask(), 0x47); in TEST() 65 // Create mock I2CInterface: read() returns value 0xD7 in TEST() 69 EXPECT_CALL(*i2cInterface, read(0xA0, A<uint8_t&>())) in TEST() [all …]
|
/openbmc/linux/lib/fonts/ |
H A D | font_sun8x16.c | 7 { 0, 0, FONTDATAMAX, 0 }, { 8 /* */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 9 /* */ 0x00,0x00,0x7e,0x81,0xa5,0x81,0x81,0xbd,0x99,0x81,0x81,0x7e,0x00,0x00,0x00,0x00, 10 /* */ 0x00,0x00,0x7e,0xff,0xdb,0xff,0xff,0xc3,0xe7,0xff,0xff,0x7e,0x00,0x00,0x00,0x00, 11 /* */ 0x00,0x00,0x00,0x00,0x6c,0xfe,0xfe,0xfe,0xfe,0x7c,0x38,0x10,0x00,0x00,0x00,0x00, 12 /* */ 0x00,0x00,0x00,0x00,0x10,0x38,0x7c,0xfe,0x7c,0x38,0x10,0x00,0x00,0x00,0x00,0x00, 13 /* */ 0x00,0x00,0x00,0x18,0x3c,0x3c,0xe7,0xe7,0xe7,0x18,0x18,0x3c,0x00,0x00,0x00,0x00, 14 /* */ 0x00,0x00,0x00,0x18,0x3c,0x7e,0xff,0xff,0x7e,0x18,0x18,0x3c,0x00,0x00,0x00,0x00, 15 /* */ 0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x3c,0x3c,0x18,0x00,0x00,0x00,0x00,0x00,0x00, 16 /* */ 0xff,0xff,0xff,0xff,0xff,0xff,0xe7,0xc3,0xc3,0xe7,0xff,0xff,0xff,0xff,0xff,0xff, [all …]
|
H A D | font_pearl_8x8.c | 18 { 0, 0, FONTDATAMAX, 0 }, { 19 /* 0 0x00 '^@' */ 20 0x00, /* 00000000 */ 21 0x00, /* 00000000 */ 22 0x00, /* 00000000 */ 23 0x00, /* 00000000 */ 24 0x00, /* 00000000 */ 25 0x00, /* 00000000 */ 26 0x00, /* 00000000 */ 27 0x00, /* 00000000 */ [all …]
|
H A D | font_8x8.c | 13 { 0, 0, FONTDATAMAX, 0 }, { 14 /* 0 0x00 '^@' */ 15 0x00, /* 00000000 */ 16 0x00, /* 00000000 */ 17 0x00, /* 00000000 */ 18 0x00, /* 00000000 */ 19 0x00, /* 00000000 */ 20 0x00, /* 00000000 */ 21 0x00, /* 00000000 */ 22 0x00, /* 00000000 */ [all …]
|
H A D | font_acorn_8x8.c | 9 { 0, 0, FONTDATAMAX, 0 }, { 10 /* 00 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ^@ */ 11 /* 01 */ 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, /* ^A */ 12 /* 02 */ 0x7e, 0xff, 0xbd, 0xff, 0xc3, 0xe7, 0xff, 0x7e, /* ^B */ 13 /* 03 */ 0x6c, 0xfe, 0xfe, 0xfe, 0x7c, 0x38, 0x10, 0x00, /* ^C */ 14 /* 04 */ 0x10, 0x38, 0x7c, 0xfe, 0x7c, 0x38, 0x10, 0x00, /* ^D */ 15 /* 05 */ 0x00, 0x18, 0x3c, 0xe7, 0xe7, 0x3c, 0x18, 0x00, /* ^E */ 16 /* 06 */ 0x00, 0x00, 0x3c, 0x3c, 0x3c, 0x3c, 0x00, 0x00, 17 /* 07 */ 0x00, 0x00, 0x3c, 0x3c, 0x3c, 0x3c, 0x00, 0x00, 18 /* 08 */ 0x00, 0x00, 0x3c, 0x3c, 0x3c, 0x3c, 0x00, 0x00, [all …]
|
H A D | font_6x8.c | 7 { 0, 0, FONTDATAMAX, 0 }, { 8 /* 0 0x00 '^@' */ 9 0x00, /* 000000 */ 10 0x00, /* 000000 */ 11 0x00, /* 000000 */ 12 0x00, /* 000000 */ 13 0x00, /* 000000 */ 14 0x00, /* 000000 */ 15 0x00, /* 000000 */ 16 0x00, /* 000000 */ [all …]
|
H A D | font_6x10.c | 7 { 0, 0, FONTDATAMAX, 0 }, { 8 /* 0 0x00 '^@' */ 9 0x00, /* 00000000 */ 10 0x00, /* 00000000 */ 11 0x00, /* 00000000 */ 12 0x00, /* 00000000 */ 13 0x00, /* 00000000 */ 14 0x00, /* 00000000 */ 15 0x00, /* 00000000 */ 16 0x00, /* 00000000 */ [all …]
|
H A D | font_8x16.c | 14 { 0, 0, FONTDATAMAX, 0 }, { 15 /* 0 0x00 '^@' */ 16 0x00, /* 00000000 */ 17 0x00, /* 00000000 */ 18 0x00, /* 00000000 */ 19 0x00, /* 00000000 */ 20 0x00, /* 00000000 */ 21 0x00, /* 00000000 */ 22 0x00, /* 00000000 */ 23 0x00, /* 00000000 */ [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | btext.c | 46 unsigned long address = 0; in btext_initialize() 49 if (prom_getproperty(node, "width", (char *)&width, 4) < 0) in btext_initialize() 51 if (prom_getproperty(node, "height", (char *)&height, 4) < 0) in btext_initialize() 53 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) in btext_initialize() 57 if (prom_getproperty(node, "linebytes", (char *)&prop, 4) >= 0 && in btext_initialize() 58 prop != 0xffffffffu) in btext_initialize() 62 pitch = 0x1000; in btext_initialize() 64 if (prom_getproperty(node, "address", (char *)&prop, 4) >= 0) in btext_initialize() 70 if (address == 0) in btext_initialize() 73 g_loc_X = 0; in btext_initialize() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | btext.c | 42 unsigned long disp_BAT[2] __initdata = {0, 0}; 75 * The display is mapped to virtual address 0xD0000000, rather 77 * in the region starting at 0xC0000000 (PAGE_OFFSET). 88 unsigned long vaddr = PAGE_OFFSET + 0x10000000; in btext_prepare_BAT() 94 boot_text_mapped = 0; in btext_prepare_BAT() 97 lowbits = addr & ~0xFF000000UL; in btext_prepare_BAT() 98 addr &= 0xFF000000UL; in btext_prepare_BAT() 99 disp_BAT[0] = vaddr | (BL_16M<<2) | 2; in btext_prepare_BAT() 113 g_loc_X = 0; in btext_setup_display() 114 g_loc_Y = 0; in btext_setup_display() [all …]
|
/openbmc/linux/drivers/net/wan/ |
H A D | wanxlfw.inc_shipped | 2 0x60,0x00,0x00,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 3 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0xB9,0x40,0x00,0x00,0x00,0x00,0x00, 4 0x10,0x14,0x42,0x80,0x4A,0xB0,0x09,0xB0,0x00,0x00,0x10,0x04,0x67,0x00,0x00,0x0E, 5 0x06,0xB0,0x40,0x00,0x00,0x00,0x09,0xB0,0x00,0x00,0x10,0x04,0x58,0x80,0x0C,0x80, 6 0x00,0x00,0x00,0x10,0x66,0x00,0xFF,0xDE,0x21,0xFC,0x00,0x00,0x16,0xBC,0x00,0x6C, 7 0x21,0xFC,0x00,0x00,0x17,0x5E,0x01,0x00,0x21,0xFC,0x00,0x00,0x16,0xDE,0x01,0x78, 8 0x21,0xFC,0x00,0x00,0x16,0xFE,0x01,0x74,0x21,0xFC,0x00,0x00,0x17,0x1E,0x01,0x70, 9 0x21,0xFC,0x00,0x00,0x17,0x3E,0x01,0x6C,0x21,0xFC,0x00,0x00,0x18,0x4C,0x02,0x00, 10 0x23,0xFC,0x78,0x00,0x00,0x00,0xFF,0xFC,0x15,0x48,0x33,0xFC,0x04,0x80,0xFF,0xFC, 11 0x10,0x26,0x33,0xFC,0x01,0x10,0xFF,0xFC,0x10,0x2A,0x23,0xFC,0x00,0xD4,0x9F,0x40, [all …]
|
/openbmc/linux/crypto/ |
H A D | testmgr.h | 33 * @ksize: Length of @key in bytes (0 if no key) 103 * @crypt_error: When @novrfy=0, the expected error from encrypt(). When 200 "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9" 308 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F" 361 "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5" 363 "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB" 415 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F" 463 "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25" 493 "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38" 504 "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83" [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | configuration_tests.cpp | 94 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST() 96 // Create I2CWriteByteAction with register 0x7C and value 0x0A in TEST() 98 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST() 100 // Create mock I2CInterface. Expect action to write 0x0A to 0x7C. in TEST() 105 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST() 149 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST() 154 // Linear format volts value = (1.3 / 2^(-8)) = 332.8 = 333 = 0x014D. in TEST() 160 // Create mock I2CInterface. Expect action to write 0x014D to in TEST() 161 // VOUT_COMMAND (command/register 0x21). in TEST() 166 write(TypedEq<uint8_t>(0x21), TypedEq<uint16_t>(0x014D))) in TEST() [all …]
|
/openbmc/linux/drivers/clk/socfpga/ |
H A D | clk-agilex.c | 227 { AGILEX_BOOT_CLK, "boot_clk", boot_mux, ARRAY_SIZE(boot_mux), 0, 228 0x0}, 230 0, 0x48}, 232 0, 0x9c}, 236 { AGILEX_MAIN_PLL_C0_CLK, "main_pll_c0", "main_pll", NULL, 1, 0, 0x54, 0}, 237 { AGILEX_MAIN_PLL_C1_CLK, "main_pll_c1", "main_pll", NULL, 1, 0, 0x54, 8}, 238 { AGILEX_MAIN_PLL_C2_CLK, "main_pll_c2", "main_pll", NULL, 1, 0, 0x54, 16}, 239 { AGILEX_MAIN_PLL_C3_CLK, "main_pll_c3", "main_pll", NULL, 1, 0, 0x54, 24}, 240 { AGILEX_PERIPH_PLL_C0_CLK, "peri_pll_c0", "periph_pll", NULL, 1, 0, 0xA8, 0}, 241 { AGILEX_PERIPH_PLL_C1_CLK, "peri_pll_c1", "periph_pll", NULL, 1, 0, 0xA8, 8}, [all …]
|
/openbmc/qemu/tests/migration/i386/ |
H A D | a-b-bootblock.h | 7 0xfa, 0x0f, 0x01, 0x16, 0xb8, 0x7c, 0x66, 0xb8, 0x01, 0x00, 0x00, 0x00, 8 0x0f, 0x22, 0xc0, 0x66, 0xea, 0x20, 0x7c, 0x00, 0x00, 0x08, 0x00, 0x00, 9 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0x92, 0x0c, 0x02, 10 0xe6, 0x92, 0xb8, 0x10, 0x00, 0x00, 0x00, 0x8e, 0xd8, 0x66, 0xb8, 0x41, 11 0x00, 0x66, 0xba, 0xf8, 0x03, 0xee, 0xb3, 0x00, 0xb8, 0x00, 0x00, 0x10, 12 0x00, 0xc6, 0x00, 0x00, 0x05, 0x00, 0x10, 0x00, 0x00, 0x3d, 0x00, 0x00, 13 0x40, 0x06, 0x7c, 0xf1, 0xb8, 0x00, 0x00, 0x10, 0x00, 0xfe, 0x00, 0x05, 14 0x00, 0x10, 0x00, 0x00, 0x3d, 0x00, 0x00, 0x40, 0x06, 0x7c, 0xf2, 0xfe, 15 0xc3, 0x80, 0xe3, 0x3f, 0x75, 0xe6, 0x66, 0xb8, 0x42, 0x00, 0x66, 0xba, 16 0xf8, 0x03, 0xee, 0xa1, 0xbe, 0x7c, 0x00, 0x00, 0x83, 0xf8, 0x00, 0x74, [all …]
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-imx6sll.c | 19 #define CCM_ANALOG_PLL_BYPASS (0x1 << 16) 20 #define xPLL_CLR(offset) (offset + 0x8) 62 { .val = 0, .div = 4, }, 67 { .val = 0, .div = 1, }, 92 hws[IMX6SLL_CLK_DUMMY] = imx_clk_hw_fixed("dummy", 0); in imx6sll_clocks_init() 102 base = of_iomap(np, 0); in imx6sll_clocks_init() 107 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x0)); in imx6sll_clocks_init() 108 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x10)); in imx6sll_clocks_init() 109 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x20)); in imx6sll_clocks_init() 110 writel_relaxed(CCM_ANALOG_PLL_BYPASS, base + xPLL_CLR(0x30)); in imx6sll_clocks_init() [all …]
|
/openbmc/qemu/ui/ |
H A D | vgafont.h | 3 /* 0 0x00 '^@' */ 4 0x00, /* 00000000 */ 5 0x00, /* 00000000 */ 6 0x00, /* 00000000 */ 7 0x00, /* 00000000 */ 8 0x00, /* 00000000 */ 9 0x00, /* 00000000 */ 10 0x00, /* 00000000 */ 11 0x00, /* 00000000 */ 12 0x00, /* 00000000 */ [all …]
|
/openbmc/u-boot/include/ |
H A D | video_font_data.h | 19 /* 0 0x00 '^@' */ 20 0x00, /* 00000000 */ 21 0x00, /* 00000000 */ 22 0x00, /* 00000000 */ 23 0x00, /* 00000000 */ 24 0x00, /* 00000000 */ 25 0x00, /* 00000000 */ 26 0x00, /* 00000000 */ 27 0x00, /* 00000000 */ 28 0x00, /* 00000000 */ [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-ts5500.c | 96 TS5500_DIO_IN_OUT(vaddr, vbitfrom + 0, caddr, cbit), \ 107 * 0x7b 0 0x7a 0 x x DIO1_0 1 0 108 * 0x7b 1 0x7a 0 x x DIO1_1 3 1 109 * 0x7b 2 0x7a 0 x x DIO1_2 5 2 110 * 0x7b 3 0x7a 0 x x DIO1_3 7 3 111 * 0x7b 4 0x7a 1 x x DIO1_4 9 4 112 * 0x7b 5 0x7a 1 x x DIO1_5 11 5 113 * 0x7b 6 0x7a 1 x x DIO1_6 13 6 114 * 0x7b 7 0x7a 1 x x DIO1_7 15 7 115 * 0x7c 0 0x7a 5 x x DIO1_8 4 8 [all …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | selftest.c | 49 "\x43\xfd\x24\xb2\x49\x3c\xa5\xf7\x7a\x7c\xd4\x45\x3d\x97\x75\x68" 58 "\x70\x28\xdd\xd5\x0d\x7f\x03\x80\x93\x14\x23\x8f\xb9\x22\xcd\x7c" 66 "\x9e\x3b\x36\x66\x42\x66\x76\x35\xbf\xbe\xf0\xc1\x3c\x7c\xe9\x42" 86 "\x68\xe6\xe4\x7b\xd0\x28\xf7\x6d\xe7\x3f\x50\xfc\x91\x7c\x91\x56" 88 "\x24\x8b\x7c\xc5\xa9\x86\x26\xaa\x6e\xb7\x9b\xd5\xf8\x06\xfb\x02" 151 "\x13\xd5\x7c\x42\xe8\xfb\x9c\x9a\x45\x32\xd5\xa5\x22\x62\x9d\xd4" 155 "\x12\x7c\x49\x87\xfb\xf7\xed\xdd\x95\x71\xec\x4b\x1a\x85\x08\xb0" 159 "\xaf\xb9\xd0\xe0\x60\x12\xd2\xf4\xb7\x7c\x58\x7e\xf6\x2d\xbb\x24" 160 "\x14\x5a\x20\x24\xa8\x12\xdf\x25\xbd\x42\xce\x96\x7c\x2e\xba\x14" 199 if (ret < 0) in fips_signature_selftest() [all …]
|