/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 …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | hw.h | 24 #define QCA988X_2_0_DEVICE_ID_UBNT (0x11ac) 25 #define QCA988X_2_0_DEVICE_ID (0x003c) 26 #define QCA6164_2_1_DEVICE_ID (0x0041) 27 #define QCA6174_2_1_DEVICE_ID (0x003e) 28 #define QCA6174_3_2_DEVICE_ID (0x0042) 29 #define QCA99X0_2_0_DEVICE_ID (0x0040) 30 #define QCA9888_2_0_DEVICE_ID (0x0056) 31 #define QCA9984_1_0_DEVICE_ID (0x0046) 32 #define QCA9377_1_0_DEVICE_ID (0x0042) 33 #define QCA9887_1_0_DEVICE_ID (0x0050) [all …]
|
/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 …]
|
H A D | endian.c | 9 #define IN16 0x1234 10 #define IN32 0x12345678U 11 #define IN64 0x123456789abcdef0ULL 13 #define OUT16 0x3412 14 #define OUT32 0x78563412U 15 #define OUT64 0xf0debc9a78563412ULL 38 CHECK(bss->out16 != OUT16, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian() 40 CHECK(bss->out32 != OUT32, "out32", "got 0x%llx != exp 0x%llx\n", in test_endian() 42 CHECK(bss->out64 != OUT64, "out16", "got 0x%llx != exp 0x%llx\n", in test_endian() 45 CHECK(bss->const16 != OUT16, "const16", "got 0x%llx != exp 0x%llx\n", in test_endian() [all …]
|
H A D | raw_tp_test_run.c | 11 __u64 args[2] = {0x1234ULL, 0x5678ULL}; in test_raw_tp_test_run() 12 int expected_retval = 0x1234 + 0x5678; in test_raw_tp_test_run() 36 if (!ASSERT_GE(comm_fd, 0, "open /proc/self/comm")) in test_raw_tp_test_run() 40 ASSERT_GE(err, 0, "task rename"); in test_raw_tp_test_run() 42 ASSERT_NEQ(skel->bss->count, 0, "check_count"); in test_raw_tp_test_run() 43 ASSERT_EQ(skel->data->on_cpu, 0xffffffff, "check_on_cpu"); in test_raw_tp_test_run() 50 ASSERT_NEQ(err, 0, "test_run should fail for too small ctx"); in test_raw_tp_test_run() 57 for (i = 0; i < nr_online; i++) { in test_raw_tp_test_run() 62 opts.retval = 0; in test_raw_tp_test_run() 70 opts.cpu = 0xffffffff; in test_raw_tp_test_run() [all …]
|
/linux/arch/mips/kernel/ |
H A D | r4k-bugs64.c | 34 ".balign %0\n\t" in align_mod() 73 : "0" (5), "1" (8), "2" (5)); in mult_sh_align_mod() 87 "dsll32 %0, %4, %5\n\t" in mult_sh_align_mod() 88 "mflo $0\n\t" in mult_sh_align_mod() 93 : "r" (m1), "r" (m2), "r" (s), "I" (0) in mult_sh_align_mod() 94 : "hi", "lo", "$0"); in mult_sh_align_mod() 104 : "0" (m1), "1" (m2), "2" (s)); in mult_sh_align_mod() 111 : "0" (lv2), "r" (p)); in mult_sh_align_mod() 135 mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); in check_mult_sh() 144 bug = 0; in check_mult_sh() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | userspace_msr_exit_test.c |
|
/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 …]
|
/linux/Documentation/input/ |
H A D | uinput.rst | 56 ie.time.tv_sec = 0; 57 ie.time.tv_usec = 0; 76 memset(&usetup, 0, sizeof(usetup)); 78 usetup.id.vendor = 0x1234; /* sample vendor */ 79 usetup.id.product = 0x5678; /* sample product */ 96 emit(fd, EV_SYN, SYN_REPORT, 0); 97 emit(fd, EV_KEY, KEY_SPACE, 0); 98 emit(fd, EV_SYN, SYN_REPORT, 0); 109 return 0; 139 memset(&usetup, 0, sizeof(usetup)); [all …]
|
/linux/arch/s390/boot/ |
H A D | printk.c | 25 /* leave double '\0' in the end */ in boot_rb_add() 28 /* store strings separated by '\0' */ in boot_rb_add() 30 boot_rb_off = 0; in boot_rb_add() 59 for (*p-- = '\0'; p >= dst; val >>= 4) in as_hex() 60 *p-- = hex_asc[val & 0x0f]; in as_hex() 70 if (is_signed && (long)val < 0) { in as_dec() 75 *--p = '\0'; in as_dec() 77 *--p = '0' + (val % 10); in as_dec() 102 memset(p, zero_pad ? '0' : ' ', pad - len); in strpad() 107 if (pad < 0 && -pad > len) { in strpad() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | matchall.json | 15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 16 "expExitCode": "0", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 38 "expExitCode": "0", 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 60 "expExitCode": "0", 62 …"matchPattern": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.… 81 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ipv6 matchall acti… [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coreboot | 25 begins at, in hexadecimal (e.g., ``0x76ffe000``). 32 (e.g., ``0x1234``).
|
/linux/drivers/scsi/ |
H A D | scsi_proto_test.c | 14 } d = { .arr = { 0x45, 0, 0, 0, 0xb0, 0xe4, 0xe3 } }; in test_scsi_proto() 15 KUNIT_EXPECT_EQ(test, d.desc.io_advice_hints_mode + 0, 1); in test_scsi_proto() 16 KUNIT_EXPECT_EQ(test, d.desc.st_enble + 0, 1); in test_scsi_proto() 17 KUNIT_EXPECT_EQ(test, d.desc.cs_enble + 0, 0); in test_scsi_proto() 18 KUNIT_EXPECT_EQ(test, d.desc.ic_enable + 0, 1); in test_scsi_proto() 19 KUNIT_EXPECT_EQ(test, d.desc.acdlu + 0, 1); in test_scsi_proto() 20 KUNIT_EXPECT_EQ(test, d.desc.rlbsr + 0, 3); in test_scsi_proto() 21 KUNIT_EXPECT_EQ(test, d.desc.lbm_descriptor_type + 0, 0); in test_scsi_proto() 22 KUNIT_EXPECT_EQ(test, d.desc.params[0] + 0, 0xe4); in test_scsi_proto() 23 KUNIT_EXPECT_EQ(test, d.desc.params[1] + 0, 0xe3); in test_scsi_proto() [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | serial.yaml | 125 reg = <0x1234 0x20>;
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | init.c | 39 .dataset_patch_addr = 0x57e884, 40 .app_load_addr = 0x543180, 41 .board_ext_data_addr = 0x57e500, 47 /* hw2.0 needs override address hardcoded */ 48 .app_start_override_addr = 0x944C00, 64 .dataset_patch_addr = 0x57ff74, 65 .app_load_addr = 0x1234, 66 .board_ext_data_addr = 0x542330, 70 .testscript_addr = 0x57ef74, 89 .dataset_patch_addr = 0x57e884, [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | pedit.json | 15 0, 21 "expExitCode": "0", 23 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 1 ref.*key #0 at ipv4\\+8:… 42 0, 51 …"matchPattern": "action order [0-9]+: pedit action pass keys 1.*index 90 ref.*key #0 at ipv4\\+8… 71 0, 76 "cmdUnderTest": "$TC actions add action pedit munge offset 12 u32 set 0x90abcdef", 77 "expExitCode": "0", 99 0, 104 "cmdUnderTest": "$TC actions add action pedit munge offset 2 u32 set 0x12345678", [all …]
|
H A D | gact.json | 15 0, 21 "expExitCode": "0", 23 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 42 0, 48 "expExitCode": "0", 50 "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref", 69 0, 75 "expExitCode": "0", 77 "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref", 96 0, [all …]
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hif_api_general.h | 14 #define HIF_ID_IS_INDICATION 0x80 28 HIF_REQ_ID_CONFIGURATION = 0x09, 29 HIF_REQ_ID_CONTROL_GPIO = 0x26, 30 HIF_REQ_ID_SET_SL_MAC_KEY = 0x27, 31 HIF_REQ_ID_SL_EXCHANGE_PUB_KEYS = 0x28, 32 HIF_REQ_ID_SL_CONFIGURE = 0x29, 33 HIF_REQ_ID_PREVENT_ROLLBACK = 0x2a, 34 HIF_REQ_ID_PTA_SETTINGS = 0x2b, 35 HIF_REQ_ID_PTA_PRIORITY = 0x2c, 36 HIF_REQ_ID_PTA_STATE = 0x2d, [all …]
|
/linux/include/linux/ |
H A D | efi.h | 32 #define EFI_SUCCESS 0 57 #define __efiapi __attribute__((regparm(0))) 78 (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \ 79 (b) & 0xff, ((b) >> 8) & 0xff, \ 80 (c) & 0xff, ((c) >> 8) & 0xff, d } }) 98 #define EFI_RESERVED_TYPE 0 117 #define EFI_MEMORY_UC BIT_ULL(0) /* uncached */ 204 #define EFI_CAPSULE_PERSIST_ACROSS_RESET 0x00010000 205 #define EFI_CAPSULE_POPULATE_SYSTEM_TABLE 0x00020000 206 #define EFI_CAPSULE_INITIATE_RESET 0x00040000 [all …]
|
/linux/tools/perf/tests/ |
H A D | bp_signal.c | 59 *ptr = 0x1234; in __test_function() 76 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 77 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 78 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 97 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 98 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 99 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 108 memset(&pe, 0, sizeof(struct perf_event_attr)); in __event() 112 pe.config = 0; in __event() 125 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event() [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 21 #define MAGIC_VAL 0x1234 30 * 0: Default when the test does not set 34 * -ve: It is changed to 0 before passing to listen(). 103 csum = (csum & 0xffff) + (csum >> 16); in csum_fold() 104 csum = (csum & 0xffff) + (csum >> 16); in csum_fold() 115 for (i = 0; i < num_u16; i++) in csum_partial() 123 __u32 sum = 0; in build_ip_csum() 126 iph->check = 0; in build_ip_csum() 128 sum = csum_partial(p, iph->ihl << 2, 0); in build_ip_csum() 157 s = (s & 0xffffffff) + (s >> 32); in csum_tcpudp_magic() [all …]
|