/linux-6.1.9/lib/ |
D | test_sysctl.c | 58 static struct test_sysctl_data test_data = { variable 78 .data = &test_data.int_0001, 87 .data = &test_data.int_0002, 94 .data = &test_data.int_0003, 95 .maxlen = sizeof(test_data.int_0003), 108 .data = &test_data.boot_int, 109 .maxlen = sizeof(test_data.boot_int), 117 .data = &test_data.uint_0001, 124 .data = &test_data.string_0001, 125 .maxlen = sizeof(test_data.string_0001), [all …]
|
D | test_firmware.c | 680 static const u8 test_data[] = { in trigger_request_platform_store() local 698 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store() 699 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store() 710 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store() 711 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/linux-6.1.9/drivers/gpu/drm/kmb/ |
D | kmb_dsi.c | 772 u32 test_code, u32 test_data) in test_mode_send() argument 814 test_data << ((dphy_no % 4) * 8)); in test_mode_send() 997 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1500() local 1002 test_data = 0x02; in set_slewrate_gt_1500() 1003 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1007 test_data = 0x00; in set_slewrate_gt_1500() 1008 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1013 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1000() local 1023 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000() 1024 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1000() [all …]
|
/linux-6.1.9/drivers/thunderbolt/ |
D | test.c | 473 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local 493 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 494 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 495 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() 497 test_data[i].type); in tb_test_path_single_hop_walk() 501 KUNIT_EXPECT_EQ(test, i, ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 503 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk() 505 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 506 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 507 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() [all …]
|
/linux-6.1.9/include/crypto/ |
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.1.9/tools/perf/arch/x86/tests/ |
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()
|
D | intel-pt-pkt-decoder-test.c | 20 static struct test_data { struct 204 static void decoding_failed(struct test_data *d) in decoding_failed() 211 static int fail(struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 240 static int test_ctx_unchanged(struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 256 static int test_one(struct test_data *d) in test_one() 305 struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
/linux-6.1.9/tools/perf/tests/ |
D | dlfilter-test.c | 39 struct test_data { struct 64 struct test_data *td = container_of(tool, struct test_data, tool); in process() argument 107 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() 168 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() 240 static int check_filter_desc(struct test_data *td) in check_filter_desc() 258 static int get_ip_addr(struct test_data *td) in get_ip_addr() 283 static int do_run_perf_script(struct test_data *td, int do_early) in do_run_perf_script() 297 static int run_perf_script(struct test_data *td) in run_perf_script() 315 static int test__dlfilter_test(struct test_data *td) in test__dlfilter_test() 390 static void test_data__free(struct test_data *td) in test_data__free() [all …]
|
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.1.9/sound/pci/asihpi/ |
D | hpi6000.c | 637 u32 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() local 718 test_data = 0x00000001; in hpi6000_adapter_boot_load_dsp() 720 iowrite32(test_data, pdo->prHPI_address); in hpi6000_adapter_boot_load_dsp() 722 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 724 test_data, data, dsp_index); 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() 780 hpi_write_word(pdo, test_addr + i, test_data); in hpi6000_adapter_boot_load_dsp() 782 if (data != test_data) { in hpi6000_adapter_boot_load_dsp() 785 test_addr + i, test_data, in hpi6000_adapter_boot_load_dsp() [all …]
|
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.1.9/Documentation/dev-tools/kunit/ |
D | tips.rst | 99 struct test_data { 107 struct test_data *test_data = test->priv; 109 KUNIT_EXPECT_EQ(test, test_data->want_foo_called_with, arg); 110 return test_data->foo_result; 116 struct test_data *test_data = test->priv; 118 test_data->foo_result = 42; 119 test_data->want_foo_called_with = 1;
|
D | usage.rst | 640 struct test_data { 648 struct test_data *test_data = test->priv; 650 KUNIT_EXPECT_EQ(test, test_data->want_foo_called_with, arg); 651 return test_data->foo_result; 658 struct test_data *test_data = test->priv; 660 test_data->foo_result = 42; 661 test_data->want_foo_called_with = 1;
|
/linux-6.1.9/samples/bpf/ |
D | test_lwt_bpf.sh | 196 function test_data { function 198 install_test $1 test_data 211 install_test in test_data 382 test_data "xmit" 383 test_data "out"
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
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.1.9/fs/ext4/ |
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.1.9/tools/testing/selftests/bpf/prog_tests/ |
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.1.9/drivers/mmc/core/ |
D | mmc_test.c | 2177 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local 2186 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf() 2196 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local 2205 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf() 2215 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local 2224 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf() 2234 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local 2243 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf() 2253 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local 2262 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf() [all …]
|
/linux-6.1.9/tools/testing/selftests/kvm/ |
D | memslot_perf_test.c | 736 struct test_data { struct 747 const struct test_data *tdata, in test_execute() argument 797 static const struct test_data tests[] = { 945 static bool test_loop(const struct test_data *data, in test_loop() 1018 const struct test_data *data = &tests[tctr]; in main()
|
/linux-6.1.9/drivers/char/hw_random/ |
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()
|
D | n2rng.h | 141 u64 test_data; member
|
/linux-6.1.9/drivers/phy/rockchip/ |
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.1.9/crypto/ |
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.1.9/sound/pci/ice1712/ |
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.1.9/drivers/net/ethernet/huawei/hinic/ |
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()
|