/linux-6.3-rc2/lib/ |
A D | test_sysctl.c | 68 .data = &test_data.int_0001, 77 .data = &test_data.int_0002, 84 .data = &test_data.int_0003, 85 .maxlen = sizeof(test_data.int_0003), 98 .data = &test_data.boot_int, 107 .data = &test_data.uint_0001, 114 .data = &test_data.string_0001, 121 .data = &test_data.bitmap_0001, 158 if (!test_data.bitmap_0001) in test_sysctl_init() 162 kfree(test_data.bitmap_0001); in test_sysctl_init() [all …]
|
A D | test_firmware.c | 681 static const u8 test_data[] = { in trigger_request_platform_store() local 699 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store() 700 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store() 711 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store() 712 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/linux-6.3-rc2/drivers/gpu/drm/kmb/ |
A D | kmb_dsi.c | 1002 test_data = 0x02; in set_slewrate_gt_1500() 1007 test_data = 0x00; in set_slewrate_gt_1500() 1023 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000() 1028 test_data = 0x01; in set_slewrate_gt_1000() 1035 test_data = (0x72f & 0x7f); in set_slewrate_gt_1000() 1063 test_data = 0x01; in set_slewrate_lt_1000() 1068 test_data = (0x523 & 0x7f); in set_slewrate_lt_1000() 1084 test_data = 0x01; in setup_pll() 1148 test_data = 0x01; in dphy_init_sequence() 1150 test_data = 0x00; in dphy_init_sequence() [all …]
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | test.c | 497 test_data[i].type); in tb_test_path_single_hop_walk() 509 test_data[i].type); in tb_test_path_single_hop_walk() 556 test_data[i].type); in tb_test_path_daisy_chain_walk() 568 test_data[i].type); in tb_test_path_daisy_chain_walk() 619 test_data[i].type); in tb_test_path_simple_tree_walk() 631 test_data[i].type); in tb_test_path_simple_tree_walk() 703 test_data[i].type); in tb_test_path_complex_tree_walk() 715 test_data[i].type); in tb_test_path_complex_tree_walk() 806 test_data[i].type); in tb_test_path_max_length_walk() 818 test_data[i].type); in tb_test_path_max_length_walk() [all …]
|
/linux-6.3-rc2/include/crypto/ |
A D | drbg.h | 144 struct drbg_string test_data; member 236 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() argument 238 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test() 239 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test() 260 struct drbg_test_data *test_data) in crypto_drbg_reset_test() argument 262 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_reset_test() 263 test_data->testentropy->len); in crypto_drbg_reset_test()
|
/linux-6.3-rc2/tools/perf/arch/x86/tests/ |
A D | insn-x86.c | 12 struct test_data { struct 21 struct test_data test_data_32[] = { argument 28 struct test_data test_data_64[] = { 96 static int test_data_item(struct test_data *dat, int x86_64) in test_data_item() 146 static int test_data_set(struct test_data *dat_set, int x86_64) in test_data_set() 148 struct test_data *dat; in test_data_set()
|
A D | intel-pt-test.c | 25 static struct test_data { struct 209 static void decoding_failed(struct test_data *d) in decoding_failed() 216 static int fail(struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 245 static int test_ctx_unchanged(struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 261 static int test_one(struct test_data *d) in test_one() 310 struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | dlfilter-test.c | 40 struct test_data { struct 65 struct test_data *td = container_of(tool, struct test_data, tool); in process() argument 108 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() 169 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() 241 static int check_filter_desc(struct test_data *td) in check_filter_desc() 259 static int get_ip_addr(struct test_data *td) in get_ip_addr() 284 static int do_run_perf_script(struct test_data *td, int do_early) in do_run_perf_script() 298 static int run_perf_script(struct test_data *td) in run_perf_script() 316 static int test__dlfilter_test(struct test_data *td) in test__dlfilter_test() 391 static void test_data__free(struct test_data *td) in test_data__free() [all …]
|
A D | time-utils-test.c | 60 struct test_data { struct 70 static bool test__perf_time__parse_for_ranges(struct test_data *d) in test__perf_time__parse_for_ranges() argument 160 struct test_data d = { in test__time_utils() 175 struct test_data d = { in test__time_utils() 190 struct test_data d = { in test__time_utils() 205 struct test_data d = { in test__time_utils() 220 struct test_data d = { in test__time_utils() 235 struct test_data d = { in test__time_utils()
|
/linux-6.3-rc2/sound/pci/asihpi/ |
A D | hpi6000.c | 718 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 722 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 727 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 778 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 790 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 895 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 908 test_data = test_data << 1; in hpi6000_adapter_boot_load_dsp() 914 test_data = 0x0; in hpi6000_adapter_boot_load_dsp() 917 test_data++; in hpi6000_adapter_boot_load_dsp() 920 test_data = 0x0; in hpi6000_adapter_boot_load_dsp() [all …]
|
A D | hpi6205.c | 1838 u32 test_data = 0, data = 0; in boot_loader_test_memory() local 1848 test_data = 0x00000001; in boot_loader_test_memory() 1851 test_data); in boot_loader_test_memory() 1854 if (data != test_data) { in boot_loader_test_memory() 1858 test_data, data, dsp_index); in boot_loader_test_memory() 1861 test_data = test_data << 1; in boot_loader_test_memory() 1870 test_data = 0xA5A55A5A; in boot_loader_test_memory() 1871 boot_loader_write_mem32(pao, dsp_index, test_addr, test_data); in boot_loader_test_memory() 1874 if (data != test_data) { in boot_loader_test_memory() 1877 "%08x %08x %08x %i\n", test_addr, test_data, in boot_loader_test_memory()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/ |
A D | hyperv_tlb_flush.c | 65 struct test_data { struct 73 static void worker_guest_code(vm_vaddr_t test_data) in worker_guest_code() argument 75 struct test_data *data = (struct test_data *)test_data; in worker_guest_code() 161 static inline void prepare_to_test(struct test_data *data) in prepare_to_test() 184 static inline void post_test(struct test_data *data, u64 exp1, u64 exp2) in post_test() 201 static void sender_guest_code(vm_vaddr_t test_data) in sender_guest_code() argument 203 struct test_data *data = (struct test_data *)test_data; in sender_guest_code() 595 struct test_data *data; in main() 603 data = (struct test_data *)addr_gva2hva(vm, test_data_page); in main()
|
A D | nested_exceptions_test.c | 159 static void __attribute__((__flatten__)) l1_guest_code(void *test_data) in l1_guest_code() argument 162 l1_svm_code(test_data); in l1_guest_code() 164 l1_vmx_code(test_data); in l1_guest_code()
|
/linux-6.3-rc2/samples/bpf/ |
A D | test_lwt_bpf.sh | 199 function test_data { function 201 install_test $1 test_data 214 install_test in test_data 386 test_data "xmit" 387 test_data "out"
|
/linux-6.3-rc2/fs/ext4/ |
A D | inode-test.c | 83 static const struct timestamp_expectation test_data[] = { variable 220 KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | attach_probe.c | 26 static char test_data[] = "test_data"; variable 192 skel->bss->user_ptr = test_data; in test_attach_probe()
|
/linux-6.3-rc2/drivers/mmc/core/ |
A D | mmc_test.c | 2172 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local 2181 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf() 2191 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local 2200 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf() 2210 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local 2219 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf() 2229 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local 2248 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local 2267 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_nonblock_perf() local 2286 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_r_blocking_perf() local [all …]
|
/linux-6.3-rc2/drivers/char/hw_random/ |
A D | n2-drv.c | 422 unsigned long ra = __pa(&np->test_data); in n2rng_data_read() 435 np->buffer = np->test_data >> 32; in n2rng_data_read() 436 *data = np->test_data & 0xffffffff; in n2rng_data_read() 457 unsigned long ra = __pa(&np->test_data); in n2rng_guest_check()
|
A D | n2rng.h | 141 u64 test_data; member
|
/linux-6.3-rc2/tools/testing/selftests/kvm/ |
A D | memslot_perf_test.c | 782 struct test_data { struct 793 const struct test_data *tdata, in test_execute() argument 842 static const struct test_data tests[] = { 1030 static bool test_loop(const struct test_data *data, in test_loop() 1103 const struct test_data *data = &tests[tctr]; in main()
|
/linux-6.3-rc2/Documentation/dev-tools/kunit/ |
A D | usage.rst | 661 struct test_data { 669 struct test_data *test_data = test->priv; 671 KUNIT_EXPECT_EQ(test, test_data->want_foo_called_with, arg); 672 return test_data->foo_result; 679 struct test_data *test_data = test->priv; 681 test_data->foo_result = 42; 682 test_data->want_foo_called_with = 1;
|
/linux-6.3-rc2/drivers/phy/rockchip/ |
A D | phy-rockchip-dphy-rx0.c | 173 static void rk_dphy_write(struct rk_dphy *priv, u8 test_code, u8 test_data) in rk_dphy_write() argument 185 rk_dphy_write_grf(priv, GRF_DPHY_RX0_TESTDIN, test_data); in rk_dphy_write()
|
/linux-6.3-rc2/crypto/ |
A D | drbg.c | 253 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test() 1122 if (list_empty(&drbg->test_data.list)) in drbg_nopr_reseed_interval_elapsed() 1165 if (list_empty(&drbg->test_data.list)) { in drbg_seed() 1166 drbg_string_fill(&data1, drbg->test_data.buf, in drbg_seed() 1167 drbg->test_data.len); in drbg_seed() 1541 if (list_empty(&drbg->test_data.list)) in drbg_prepare_hrng() 1665 drbg_string_fill(&drbg->test_data, data, len); in drbg_kcapi_set_entropy()
|
/linux-6.3-rc2/sound/pci/ice1712/ |
A D | prodigy192.c | 683 const unsigned char test_data = 0xd1; /* random value */ in prodigy192_miodio_exists() local 688 prodigy192_ak4114_write(ice, addr, test_data); in prodigy192_miodio_exists() 689 if (prodigy192_ak4114_read(ice, addr) == test_data) { in prodigy192_miodio_exists()
|
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_ethtool.c | 1519 u8 *test_data = NULL; in hinic_run_lp_test() local 1527 test_data = __skb_put(skb_tmp, LP_PKT_LEN); in hinic_run_lp_test() 1529 memset(test_data, 0xFF, 2 * ETH_ALEN); in hinic_run_lp_test() 1530 test_data[ETH_ALEN] = 0xFE; in hinic_run_lp_test() 1531 test_data[2 * ETH_ALEN] = 0x08; in hinic_run_lp_test() 1532 test_data[2 * ETH_ALEN + 1] = 0x0; in hinic_run_lp_test() 1535 test_data[i] = i & 0xFF; in hinic_run_lp_test()
|