/openbmc/linux/drivers/media/i2c/ |
H A D | bt856.c | 32 module_param(debug, int, 0); 33 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 38 #define BT856_REG_OFFSET 0xDA 67 (value ? (1 << bit) : 0)); in bt856_setbit() 75 for (i = 0; i < BT856_NR_REG; i += 2) in bt856_dump() 88 bt856_write(encoder, 0xdc, 0x18); in bt856_init() 89 bt856_write(encoder, 0xda, 0); in bt856_init() 90 bt856_write(encoder, 0xde, 0); in bt856_init() 92 bt856_setbit(encoder, 0xdc, 3, 1); in bt856_init() 93 /*bt856_setbit(encoder, 0xdc, 6, 0);*/ in bt856_init() [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 222 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63" 307 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48" 330 "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D" 343 "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77" 375 "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70" 376 "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77" 379 "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61" 414 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48" [all …]
|
H A D | dh.c | 27 memset(ctx, 0, sizeof(*ctx)); in dh_clear_ctx() 50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length() 52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length() 68 return 0; in dh_set_params() 80 if (crypto_dh_decode_key(buf, len, ¶ms) < 0) in dh_set_secret() 83 if (dh_set_params(ctx, ¶ms) < 0) in dh_set_secret() 90 return 0; in dh_set_secret() 120 if (mpi_cmp_ui(y, 1) < 1 || mpi_cmp(y, ctx->p) >= 0) in dh_is_pubkey_valid() 132 val = mpi_alloc(0); in dh_is_pubkey_valid() 159 if (ret != 0) in dh_is_pubkey_valid() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | busy_loop.S | 31 li r3, 0x3030 33 li r4, 0x4040 35 li r5, 0x5050 37 li r6, 0x6060 39 li r7, 0x7070 41 li r8, 0x0808 43 li r9, 0x0909 45 li r10, 0x1010 47 li r11, 0x1111 49 li r14, 0x1414 [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | aesgcm.c | 43 * Returns: 0 on success, or -EINVAL if @keysize or @authsize contain values 60 return 0; in aesgcm_expandkey() 67 while (len > 0) { in aesgcm_ghash() 101 while (len > 0) { in aesgcm_crypt() 365 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb" 379 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21" 387 "\x93\x67\xa8\x2d\xde\xac\x41\xa9" 423 "\x0b\x63\xde\x87\x42\x79\x8a\x68" 477 "\xde\x6b\x52\x98\x01\xef\x36\x3d" 508 "\x93\x77\xde\x48\xc4\xfa\x30\x4a" [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
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 …]
|
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 …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-der.c | 27 "\x30\x82\x01\x39" /* SEQUENCE, offset: 0, length: 313 */ 46 "\x00\xd1\x75\xaf\x4b\xc6\x1a\xb0\x98\x14\x42\xae\x33\xf3\x44\xde" 51 "\xc5\x81\xd8\x71\x1a\x2b\x6f\xbb\xa4\xde\xb3\x6e\xbe\x3b\x85\x0d" 60 "\x30\x82\x04\xa6" /* SEQUENCE, offset: 0, length 1190 */ 66 "\xf4\xc6\xf0\x32\x15\x1a\xe8\xaf\x5a\xca\x3a\xd3\x3e\xf6\xde\x86" 67 "\xdd\x9b\xa6\x4d\x74\x58\xf0\x11\x7f\x66\xd5\x1c\xd8\xde\xa3\xf8" 85 "\x49\x36\x3a\xd6\x5b\x3b\x29\x3c\xcf\x69\xde\xdf\x83\xef\x70\xc2" 96 "\x1f\x84\x87\xf4\x92\x8a\x6c\x44\x20\xaa\x8d\xd8\x50\xde\x45\x74" 113 "\xa6\x09\xb2\xe9\xcd\xc8\x51\xee\xde\xa3\x1e\x6b\xfe\xb1\xf8\xb6" 116 "\x5e\x98\x65\x66\x2f\x3a\xde\xd8\xd4\xee\x6f\x82\xe6\x36\x49\x12" [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 10 #define LP_OPTIONS 0 20 * If page size and eraseblock size are 0, the sizes are taken from the 30 { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} }, 31 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), }, 33 { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} }, 34 SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) }, 36 { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x16, 0x08, 0x00} }, 37 SZ_4K, SZ_512, SZ_256K, 0, 8, 256, NAND_ECC_INFO(8, SZ_512) }, 39 { .id = {0x98, 0xd3, 0x90, 0x26, 0x76, 0x15, 0x02, 0x08} }, 40 SZ_4K, SZ_1K, SZ_256K, 0, 8, 232, NAND_ECC_INFO(4, SZ_512) }, [all …]
|
/openbmc/google-ipmi-sys/test/ |
H A D | bios_setting_unittest.cpp | 69 // Ensure 0x0A which is a new line character '\n', is read properly in TEST_F() 70 std::vector<uint8_t> payload = {0x0A, 0xDE, 0xAD, 0xBE, 0xEF, 0x0A}; in TEST_F() 71 std::vector<uint8_t> expectedReply = {6, 0x0A, 0xDE, 0xAD, in TEST_F() 72 0xBE, 0xEF, 0x0A}; in TEST_F() 97 request = {0x01}; in TEST_F() 102 request = {0x01, 0x02, 0x03}; in TEST_F() 107 request = {0x02, 0x02}; in TEST_F() 114 std::vector<uint8_t> request = {0x02, 0xDE, 0xAD}; in TEST_F() 138 request = {0x01, 0x0A}; in TEST_F()
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom-labibb-regulator.yaml | 89 interrupts = <0x3 0xde 0x1 IRQ_TYPE_EDGE_RISING>, 90 <0x3 0xde 0x0 IRQ_TYPE_LEVEL_LOW>; 95 interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>, 96 <0x3 0xdc 0x0 IRQ_TYPE_LEVEL_LOW>;
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmi8998.dtsi | 8 reg = <0x2 SPMI_USID>; 10 #size-cells = <0>; 14 reg = <0x1000>; 16 interrupts = <0x2 0x13 0x4 IRQ_TYPE_EDGE_BOTH>, 17 <0x2 0x12 0x2 IRQ_TYPE_EDGE_BOTH>, 18 <0x2 0x16 0x1 IRQ_TYPE_EDGE_RISING>, 19 <0x2 0x13 0x6 IRQ_TYPE_EDGE_RISING>; 34 reg = <0xc000>; 36 gpio-ranges = <&pmi8998_gpios 0 0 14>; 44 reg = <0x4500>; [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | migration.c | 36 ASSERT_EQ(numa_available(), 0); in FIXTURE_SETUP() 41 for (n = 0; n < numa_max_possible_node(); n++) in FIXTURE_SETUP() 66 int status = 0; in migrate() 77 return 0; in migrate() 79 ret = move_pages(0, 1, (void **) &ptr, &n2, &status, in migrate() 82 if (ret > 0) in migrate() 94 return 0; in migrate() 99 volatile uint64_t y = 0; in access_mem() 123 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0) 127 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 23 * If page size and eraseblock size are 0, the sizes are taken from the 28 LEGACY_ID_NAND("NAND 1MiB 5V 8-bit", 0x6e, 1, SZ_4K, SP_OPTIONS), 29 LEGACY_ID_NAND("NAND 2MiB 5V 8-bit", 0x64, 2, SZ_4K, SP_OPTIONS), 30 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xe8, 1, SZ_4K, SP_OPTIONS), 31 LEGACY_ID_NAND("NAND 1MiB 3,3V 8-bit", 0xec, 1, SZ_4K, SP_OPTIONS), 32 LEGACY_ID_NAND("NAND 2MiB 3,3V 8-bit", 0xea, 2, SZ_4K, SP_OPTIONS), 33 LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xd5, 4, SZ_8K, SP_OPTIONS), 35 LEGACY_ID_NAND("NAND 8MiB 3,3V 8-bit", 0xe6, 8, SZ_8K, SP_OPTIONS), 43 { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} }, 44 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), [all …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | topro.c | 22 0xff, 0xd8, /* jpeg */ 25 0xff, 0xdb, 0x00, 0x84, /* DQT */ 26 0, 28 0x10, 0x0b, 0x0c, 0x0e, 0x0c, 0x0a, 0x10, 0x0e, 29 0x0d, 0x0e, 0x12, 0x11, 0x10, 0x13, 0x18, 0x28, 30 0x1a, 0x18, 0x16, 0x16, 0x18, 0x31, 0x23, 0x25, 31 0x1d, 0x28, 0x3a, 0x33, 0x3d, 0x3c, 0x39, 0x33, 32 0x38, 0x37, 0x40, 0x48, 0x5c, 0x4e, 0x40, 0x44, 33 0x57, 0x45, 0x37, 0x38, 0x50, 0x6d, 0x51, 0x57, 34 0x5f, 0x62, 0x67, 0x68, 0x67, 0x3e, 0x4d, 0x71, [all …]
|
/openbmc/u-boot/lib/tizen/ |
H A D | tizen_logo_16bpp_gzip.h | 12 0x1f,0x8b,0x08,0x08,0xd9,0x76,0x29,0x53,0x00,0x03,0x74,0x69,0x7a,0x65,0x6e,0x5f, 13 0x6c,0x6f,0x67,0x6f,0x2e,0x62,0x6d,0x70,0x00,0xed,0x9d,0x6f,0x6c,0x1b,0x67,0x7e, 14 0xe7,0xa9,0x4d,0x80,0x65,0xbb,0x2e,0x56,0xb1,0xd8,0x25,0xcf,0x0a,0x70,0x52,0xa4, 15 0x2d,0xc2,0x5a,0x39,0x58,0x35,0xf7,0x42,0x35,0x7a,0x63,0xd5,0x6a,0x1b,0x9d,0x5c, 16 0xd4,0x0a,0x85,0xca,0xde,0x35,0x70,0x1b,0xc7,0x29,0xbc,0xaa,0xbb,0x50,0x14,0x0a, 17 0xd6,0x79,0xdf,0x9c,0x2b,0x07,0x88,0xa1,0xb8,0x88,0x4a,0x11,0x2b,0x83,0x7a,0x71, 18 0xc9,0xd2,0x6e,0x1d,0x4c,0x76,0xa1,0x60,0x28,0x44,0xc5,0xe8,0x8d,0x6b,0xba,0xbd, 19 0x14,0xca,0x56,0xba,0x0e,0x51,0x05,0x70,0x0b,0x24,0xa8,0x83,0x7a,0xef,0x5c,0x54, 20 0x77,0x61,0x6a,0xbf,0xb9,0x79,0xe6,0x99,0xe7,0x79,0x7e,0xf3,0x87,0x9c,0x67,0x86, 21 0xc3,0x7f,0xca,0xf3,0x7d,0x30,0x1a,0x92,0xe2,0x9f,0x21,0x39,0x1f,0x7e,0x7f,0xcf, [all …]
|
/openbmc/u-boot/test/lib/ |
H A D | hexdump.c | 14 ut_asserteq(0x0, hex_to_bin('0')); in lib_test_hex_to_bin() 15 ut_asserteq(0x1, hex_to_bin('1')); in lib_test_hex_to_bin() 16 ut_asserteq(0x2, hex_to_bin('2')); in lib_test_hex_to_bin() 17 ut_asserteq(0x3, hex_to_bin('3')); in lib_test_hex_to_bin() 18 ut_asserteq(0x4, hex_to_bin('4')); in lib_test_hex_to_bin() 19 ut_asserteq(0x5, hex_to_bin('5')); in lib_test_hex_to_bin() 20 ut_asserteq(0x6, hex_to_bin('6')); in lib_test_hex_to_bin() 21 ut_asserteq(0x7, hex_to_bin('7')); in lib_test_hex_to_bin() 22 ut_asserteq(0x8, hex_to_bin('8')); in lib_test_hex_to_bin() 23 ut_asserteq(0x9, hex_to_bin('9')); in lib_test_hex_to_bin() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | bcm2835-i2c-test.c | 34 0x3f205000, /* I2C0 */ 35 0x3f804000, /* I2C1 */ 36 0x3f805000, /* I2C2 */ 41 /* read flag is bit 0 so we can write it directly */ in bcm2835_i2c_init_transfer() 56 writel(base_addr + BCM2835_I2C_A, 0x50); in test_i2c_read_write() 59 bcm2835_i2c_init_transfer(base_addr, 0); in test_i2c_read_write() 62 writel(base_addr + BCM2835_I2C_FIFO, 0xde); in test_i2c_read_write() 63 writel(base_addr + BCM2835_I2C_FIFO, 0xad); in test_i2c_read_write() 70 writel(base_addr + BCM2835_I2C_A, 0x50); in test_i2c_read_write() 73 bcm2835_i2c_init_transfer(base_addr, 0); in test_i2c_read_write() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_neigh.c | 21 #define ip4_src 0xac100164 /* 172.16.1.100 */ 22 #define ip4_dst 0xac100264 /* 172.16.2.100 */ 24 #define ip6_src { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 25 0x00, 0x01, 0xde, 0xad, 0xbe, 0xef, 0xca, 0xfe } 26 #define ip6_dst { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 27 0x00, 0x02, 0xde, 0xad, 0xbe, 0xef, 0xca, 0xfe } 30 # define v6_equal(a, b) (a.s6_addr32[0] == b.s6_addr32[0] && \ 83 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk() 104 __builtin_memset(&zero, 0, sizeof(zero)); in tc_dst() 105 if (bpf_skb_store_bytes(skb, 0, &zero, sizeof(zero), 0) < 0) in tc_dst() [all …]
|
/openbmc/linux/lib/ |
H A D | crc7.c | 18 0x00, 0x12, 0x24, 0x36, 0x48, 0x5a, 0x6c, 0x7e, 19 0x90, 0x82, 0xb4, 0xa6, 0xd8, 0xca, 0xfc, 0xee, 20 0x32, 0x20, 0x16, 0x04, 0x7a, 0x68, 0x5e, 0x4c, 21 0xa2, 0xb0, 0x86, 0x94, 0xea, 0xf8, 0xce, 0xdc, 22 0x64, 0x76, 0x40, 0x52, 0x2c, 0x3e, 0x08, 0x1a, 23 0xf4, 0xe6, 0xd0, 0xc2, 0xbc, 0xae, 0x98, 0x8a, 24 0x56, 0x44, 0x72, 0x60, 0x1e, 0x0c, 0x3a, 0x28, 25 0xc6, 0xd4, 0xe2, 0xf0, 0x8e, 0x9c, 0xaa, 0xb8, 26 0xc8, 0xda, 0xec, 0xfe, 0x80, 0x92, 0xa4, 0xb6, 27 0x58, 0x4a, 0x7c, 0x6e, 0x10, 0x02, 0x34, 0x26, [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_isight.c | 26 * 0x00 1 Header length 27 * 0x01 1 Flags (UVC-compliant) 28 * 0x02 4 Always equal to '11223344' 29 * 0x06 8 Always equal to 'deadbeefdeadface' 30 * 0x0e 16 Unknown 39 0x11, 0x22, 0x33, 0x44, in isight_decode() 40 0xde, 0xad, 0xbe, 0xef, in isight_decode() 41 0xde, 0xad, 0xfa, 0xce in isight_decode() 47 int is_header = 0; in isight_decode() 50 return 0; in isight_decode() [all …]
|
/openbmc/linux/fs/nls/ |
H A D | nls_euc-jp.c | 17 #define IS_SJIS_LOW_BYTE(l) ((0x40 <= (l)) && ((l) <= 0xFC) && ((l) != 0x7F)) 19 #define IS_SJIS_JISX0208(h, l) ((((0x81 <= (h)) && ((h) <= 0x9F)) \ 20 || ((0xE0 <= (h)) && ((h) <= 0xEA))) \ 22 #define IS_SJIS_JISX0201KANA(c) ((0xA1 <= (c)) && ((c) <= 0xDF)) 23 #define IS_SJIS_UDC_LOW(h, l) (((0xF0 <= (h)) && ((h) <= 0xF4)) \ 25 #define IS_SJIS_UDC_HI(h, l) (((0xF5 <= (h)) && ((h) <= 0xF9)) \ 27 #define IS_SJIS_IBM(h, l) (((0xFA <= (h)) && ((h) <= 0xFC)) \ 29 #define IS_SJIS_NECIBM(h, l) (((0xED <= (h)) && ((h) <= 0xEE)) \ 32 if ((sjis_lo) >= 0x9F) { \ 37 (euc_lo) = (sjis_lo) + ((sjis_lo) >= 0x7F ? 0x60 : 0x61); \ [all …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | selftest.c | 50 "\xf1\xed\x4c\x42\x0b\x70\xca\x85\xf3\xde\xe5\x88\x2c\xc5\xbe\xb6" 55 "\xe8\xde\x09\x31\x89\xed\x0e\x11\xa1\xfa\x8a\xe9\xe9\x64\x59\x62" 56 "\x53\xda\xd1\x70\xbe\x11\xd4\x99\x97\x11\xcf\x99\xde\x0b\x9d\x94" 95 "\x3a\x17\x63\x6a\x76\xde\x8d\x8f\xe0\x47\x61\x28\x3a\x83\xff\x8f" 199 if (ret < 0) in fips_signature_selftest() 202 for (i = 0; i < ARRAY_SIZE(certs_tests); i++) { in fips_signature_selftest() 213 if (ret < 0) in fips_signature_selftest() 217 if (ret < 0) in fips_signature_selftest() 224 return 0; in fips_signature_selftest()
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/ |
H A D | etm.json | 3 "PublicDescription": "ETM trace unit output 0", 4 "EventCode": "0xDE", 6 "BriefDescription": "ETM trace unit output 0" 10 "EventCode": "0xDF",
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/ |
H A D | etm.json | 3 "PublicDescription": "ETM trace unit output 0", 4 "EventCode": "0xDE", 6 "BriefDescription": "ETM trace unit output 0" 10 "EventCode": "0xDF",
|