/openbmc/linux/tools/testing/selftests/livepatch/ |
H A D | test-shadow-vars.sh | 5 . $(dirname $0)/functions.sh 20 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1234) = PTR0 23 $MOD_TEST: klp_shadow_get_or_alloc(obj=PTR1, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, c… 25 $MOD_TEST: klp_shadow_alloc(obj=PTR1, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 27 $MOD_TEST: klp_shadow_alloc(obj=PTR9, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 29 $MOD_TEST: klp_shadow_alloc(obj=PTR9, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_dat… 31 $MOD_TEST: klp_shadow_get_or_alloc(obj=PTR14, id=0x1234, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, … 33 $MOD_TEST: klp_shadow_alloc(obj=PTR14, id=0x1235, size=8, gfp_flags=GFP_KERNEL), ctor=PTR4, ctor_da… 34 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1234) = PTR3 36 $MOD_TEST: klp_shadow_get(obj=PTR1, id=0x1235) = PTR6 [all …]
|
/openbmc/u-boot/post/lib_powerpc/ |
H A D | threex.c | 40 0x1234, 41 0x5678, 42 0x1234 | 0x5678 46 0x1234, 47 0x5678, 48 0x1234 | ~0x5678 52 0x1234, 53 0x5678, 54 0x1234 ^ 0x5678 58 0x1234, [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | tests.json | 14 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok" 16 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall", 17 "expExitCode": "0", 19 "matchPattern": "filter protocol all pref 1 matchall chain 0 handle 0x1234", 35 …"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress handle 0xffffffff flower acti… 36 "expExitCode": "0", 38 "matchPattern": "filter protocol ip pref 1 flower.*handle 0xffffffff", 59 "expExitCode": "0", 61 "matchPattern": "action order 0: gact action drop.*index 1 ref 1000000 bind 1000000", 85 "matchPattern": "filter protocol ip pref 1 flower chain 0 handle", [all …]
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | vistr.c | 23 .h[0] = 0x1234, .h[1] = 0x0056, .h[2] = 0x7800, .h[3] = 0x0000, in main() 24 .h[4] = 0x0078, .h[5] = 0x0000, .h[6] = 0x6543, .h[7] = 0x2100 in main() 27 .w[0] = 0x12340000, .w[1] = 0x78654300, in main() 28 .w[2] = 0x0, .w[3] = 0x12, in main() 31 vistr(&vd, &vs16, 1, 0); in main() 32 if (vd.h[0] != 0x1234 || vd.h[1] != 0x0056 || vd.h[2] != 0x7800 || in main() 38 vistr(&vd, &vs32, 2, 0); in main() 39 if (vd.w[0] != 0x12340000 || vd.w[1] != 0x78654300 || vd.w[2] || vd.w[3]) { in main() 44 return 0; in main()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_read_macros.c | 25 int duration = 0, err; in test_core_read_macros() 38 bss->k_probe_in.func = (void *)(long)0x1234; in test_core_read_macros() 39 bss->k_core_in.func = (void *)(long)0xabcd; in test_core_read_macros() 42 u_probe_in.func = (void *)(long)0x5678; in test_core_read_macros() 46 u_core_in.func = (void *)(long)0xdbca; in test_core_read_macros() 56 ASSERT_EQ(bss->k_probe_out, 0x1234, "k_probe_out"); in test_core_read_macros() 57 ASSERT_EQ(bss->k_core_out, 0xabcd, "k_core_out"); in test_core_read_macros() 59 ASSERT_EQ(bss->u_probe_out, 0x5678, "u_probe_out"); in test_core_read_macros() 60 ASSERT_EQ(bss->u_core_out, 0xdbca, "u_core_out"); in test_core_read_macros()
|
H A D | map_init.c | 7 #define TEST_VALUE 0x1234 8 #define FILL_VALUE 0xdeadbeef 26 for (i = 0; i < nr_cpus; i++) in map_populate() 35 return 0; in map_populate() 61 if (CHECK(*map_fd < 0, "bpf_map__fd", "failed\n")) in setup() 97 return 0; in prog_run_insert_elem() 102 int i, nzCnt = 0; in check_values_one_cpu() 105 for (i = 0; i < nr_cpus; i++) { in check_values_one_cpu() 109 "unexpected for cpu %d: 0x%llx\n", i, val)) in check_values_one_cpu() 119 return 0; in check_values_one_cpu() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | stats64.h | 78 *s = (Stat64) { .low = value, .high = value >> 32, .lock = 0 }; in stat64_init() 132 * can get a false positive (e.g. 0x1235,0x0000 changes to in stat64_min() 133 * 0x1234,0x8000 and we read it as 0x1234,0x0000). Pairs with in stat64_min() 172 * can get a false positive (e.g. 0x1234,0x8000 changes to in stat64_max() 173 * 0x1235,0x0000 and we read it as 0x1235,0x8000). Pairs with in stat64_max()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | hw.h | 23 #define QCA988X_2_0_DEVICE_ID_UBNT (0x11ac) 24 #define QCA988X_2_0_DEVICE_ID (0x003c) 25 #define QCA6164_2_1_DEVICE_ID (0x0041) 26 #define QCA6174_2_1_DEVICE_ID (0x003e) 27 #define QCA6174_3_2_DEVICE_ID (0x0042) 28 #define QCA99X0_2_0_DEVICE_ID (0x0040) 29 #define QCA9888_2_0_DEVICE_ID (0x0056) 30 #define QCA9984_1_0_DEVICE_ID (0x0046) 31 #define QCA9377_1_0_DEVICE_ID (0x0042) 32 #define QCA9887_1_0_DEVICE_ID (0x0050) [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | r4k-bugs64.c | 33 ".balign %0\n\t" in align_mod() 72 : "0" (5), "1" (8), "2" (5)); in mult_sh_align_mod() 86 "dsll32 %0, %4, %5\n\t" in mult_sh_align_mod() 87 "mflo $0\n\t" in mult_sh_align_mod() 92 : "r" (m1), "r" (m2), "r" (s), "I" (0) in mult_sh_align_mod() 93 : "hi", "lo", "$0"); in mult_sh_align_mod() 103 : "0" (m1), "1" (m2), "2" (s)); in mult_sh_align_mod() 110 : "0" (lv2), "r" (p)); in mult_sh_align_mod() 134 mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); in check_mult_sh() 143 bug = 0; in check_mult_sh() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | quirks-pl2303-ids.h | 11 #define BENQ_VENDOR_ID 0x04a5 12 #define BENQ_PRODUCT_ID_S81 0x4027 14 #define PL2303_VENDOR_ID 0x067b 15 #define PL2303_PRODUCT_ID 0x2303 16 #define PL2303_PRODUCT_ID_RSAQ2 0x04bb 17 #define PL2303_PRODUCT_ID_DCU11 0x1234 18 #define PL2303_PRODUCT_ID_PHAROS 0xaaa0 19 #define PL2303_PRODUCT_ID_RSAQ3 0xaaa2 20 #define PL2303_PRODUCT_ID_ALDIGA 0x0611 21 #define PL2303_PRODUCT_ID_MMX 0x0612 [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | isl_pmbus_vr-test.c | 29 #define TEST_ADDR (0x43) 61 return (resp[1] << 8) | resp[0]; in isl_pmbus_vr_i2c_get16() 70 data[0] = value & 255; in isl_pmbus_vr_i2c_set16() 80 value = qmp_isl_pmbus_vr_get(TEST_ID, "vout[0]"); in test_defaults() 86 value = qmp_isl_pmbus_vr_get(TEST_ID, "pout[0]"); in test_defaults() 92 value = qmp_isl_pmbus_vr_get(TEST_ID, "iin[0]"); in test_defaults() 98 value = qmp_isl_pmbus_vr_get(TEST_ID, "temp1[0]"); in test_defaults() 159 value = qmp_isl_pmbus_vr_get(TEST_ID, "vout[0]"); in raa228000_test_defaults() 160 g_assert_cmpuint(value, ==, 0); in raa228000_test_defaults() 163 g_assert_cmpuint(i2c_value, ==, 0); in raa228000_test_defaults() [all …]
|
/openbmc/u-boot/board/ronetix/pm9263/ |
H A D | pm9263.c | 43 csa = readl(&matrix->csa[0]) | AT91_MATRIX_CSA_EBI_CS3A; in pm9263_nand_hw_init() 44 writel(csa, &matrix->csa[0]); in pm9263_nand_hw_init() 82 * 0 - disable in pm9263_macb_hw_init() 85 at91_set_pio_value(AT91_PIO_PORTB, 27, 1); /* 1- enable, 0 - disable */ in pm9263_macb_hw_init() 93 * ERX1 (PE26) => PHY ADDR1 => PHYADDR = 0x0 in pm9263_macb_hw_init() 98 at91_set_pio_pullup(AT91_PIO_PORTC, 25, 0); in pm9263_macb_hw_init() 99 at91_set_pio_pullup(AT91_PIO_PORTE, 25, 0); in pm9263_macb_hw_init() 100 at91_set_pio_pullup(AT91_PIO_PORTE, 26, 0); in pm9263_macb_hw_init() 125 .vl_lower_margin = 0, 136 at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power down */ in lcd_disable() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | pl2303.h | 6 #define BENQ_VENDOR_ID 0x04a5 7 #define BENQ_PRODUCT_ID_S81 0x4027 9 #define PL2303_VENDOR_ID 0x067b 10 #define PL2303_PRODUCT_ID 0x2303 11 #define PL2303_PRODUCT_ID_TB 0x2304 12 #define PL2303_PRODUCT_ID_GC 0x23a3 13 #define PL2303_PRODUCT_ID_GB 0x23b3 14 #define PL2303_PRODUCT_ID_GT 0x23c3 15 #define PL2303_PRODUCT_ID_GL 0x23d3 16 #define PL2303_PRODUCT_ID_GE 0x23e3 [all …]
|
/openbmc/u-boot/tools/dtoc/ |
H A D | dtoc_test_addr32.dts | 17 reg = <0x1234 0x5678>; 23 reg = <0x12345678 0x98765432 2 3>;
|
H A D | dtoc_test_addr64_32.dts | 17 reg = <0x1234 0x0 0x5678>; 23 reg = <0x12345678 0x90123456 0x98765432>; 29 reg = <0x12345678 0x90123456 0x98765432 0 2 3>;
|
H A D | dtoc_test_addr32_64.dts | 17 reg = <0x1234 0x5678 0x0>; 23 reg = <0x12345678 0x98765432 0x10987654>; 29 reg = <0x12345678 0x98765432 0x10987654 2 0 3>;
|
H A D | dtoc_test_addr64.dts | 17 reg = /bits/ 64 <0x1234 0x5678>; 23 reg = /bits/ 64 <0x1234567890123456 0x9876543210987654>; 29 reg = /bits/ 64 <0x1234567890123456 0x9876543210987654 2 3>;
|
/openbmc/u-boot/doc/ |
H A D | README.android-fastboot-protocol | 77 Host: "download:00001234" request to send 0x1234 bytes of data 81 Host: < 0x1234 bytes > send data 102 for illustration only here) and without a trailing 0 byte. 125 "erase:%s" Erase the indicated partition (clear to 0xFFs)
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_endian.c | 8 #define IN16 0x1234 9 #define IN32 0x12345678U 10 #define IN64 0x123456789abcdef0ULL 12 __u16 in16 = 0; 13 __u32 in32 = 0; 14 __u64 in64 = 0; 16 __u16 out16 = 0; 17 __u32 out32 = 0; 18 __u64 out64 = 0; 20 __u16 const16 = 0; [all …]
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.h | 18 #define EP11_STRUCT_MAGIC 0x1234 19 #define EP11_BLOB_PKEY_EXTRACTABLE 0x00200000 25 #define TOKVER_EP11_AES 0x03 /* EP11 AES key blob (old style) */ 26 #define TOKVER_EP11_AES_WITH_HEADER 0x06 /* EP11 AES key blob with header */ 27 #define TOKVER_EP11_ECC_WITH_HEADER 0x07 /* EP11 ECC key blob with header */ 39 u16 version; /* 0x1234, EP11_STRUCT_MAGIC */ 63 * Returns 0 on success or errno value on failure. 72 * Returns 0 on success or errno value on failure. 82 * Returns 0 on success or errno value on failure. 91 char serial[16]; /* serial number string (16 ascii, no 0x00 !) */ [all …]
|
/openbmc/linux/include/linux/soc/samsung/ |
H A D | exynos-regs-pmu.h | 17 #define S5P_CENTRAL_SEQ_CONFIGURATION 0x0200 21 #define S5P_CENTRAL_SEQ_OPTION 0x0208 42 #define EXYNOS_SWRESET 0x0400 44 #define S5P_WAKEUP_STAT 0x0600 46 #define EXYNOS_EINT_WAKEUP_MASK_DISABLED 0xffffffff 47 #define EXYNOS_EINT_WAKEUP_MASK 0x0604 48 #define S5P_WAKEUP_MASK 0x0608 49 #define S5P_WAKEUP_MASK2 0x0614 52 #define EXYNOS4_MIPI_PHY_CONTROL(n) (0x0710 + (n) * 4) 54 #define EXYNOS4_PHY_ENABLE (1 << 0) [all …]
|
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/ |
H A D | test_dsp_r1_muleq_s_w_phr.c | 9 rs = 0x8000; in main() 10 rt = 0x8000; in main() 11 result = 0x7FFFFFFF; in main() 15 ("muleq_s.w.phr %0, %2, %3\n\t" in main() 20 dsp = (dsp >> 21) & 0x01; in main() 24 rs = 0x1234; in main() 25 rt = 0x4321; in main() 26 result = 0x98be968; in main() 30 ("muleq_s.w.phr %0, %2, %3\n\t" in main() 35 dsp = (dsp >> 21) & 0x01; in main() [all …]
|
/openbmc/u-boot/doc/driver-model/ |
H A D | pci-info.txt | 9 Bus number 0 will need to be requested first, and the alias in the device 55 ranges = <0x02000000 0x0 0x40000000 0x40000000 0 0x80000000 56 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000 57 0x01000000 0x0 0x2000 0x2000 0 0xe000>; 59 pcie@17,0 { 64 reg = <0x0000b800 0x0 0x0 0x0 0x0>; 66 topcliff@0,0 { 71 reg = <0x00010000 0x0 0x0 0x0 0x0>; 80 reg = <0x00025100 0x0 0x0 0x0 0x0 81 0x01025110 0x0 0x0 0x0 0x0>; [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-flags.c | 23 addr = mmap (NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in main() 24 *addr = 0x1234; in main() 36 assert((flags & 0xff) == 0xd7 && (flags_after & 0x8ff) == 0x17); in main()
|
/openbmc/linux/arch/s390/boot/ |
H A D | pgm_check_info.c | 20 for (*p-- = 0; p >= dst; val >>= 4) in as_hex() 21 *p-- = hex_asc[val & 0x0f]; in as_hex() 34 /* symbol entries are in a form "10000 c4 startup\0" */ in findsym() 71 /* reserve 15 bytes for offset/len in symbol+0x1234/0x1234 */ in strsym() 73 strcpy(p, "+0x"); in strsym() 74 p = as_hex(p + 3, off, 0); in strsym() 75 strcpy(p, "/0x"); in strsym() 76 as_hex(p + 3, len, 0); in strsym() 85 char buf[1024] = { 0 }; in decompressor_printk() 86 char *end = buf + sizeof(buf) - 1; /* make sure buf is 0 terminated */ in decompressor_printk() [all …]
|