/Linux-v6.6/lib/ |
D | test_sysctl.c | 55 static struct test_sysctl_data test_data = { variable 75 .data = &test_data.int_0001, 84 .data = &test_data.int_0002, 91 .data = &test_data.int_0003, 92 .maxlen = sizeof(test_data.int_0003), 105 .data = &test_data.boot_int, 106 .maxlen = sizeof(test_data.boot_int), 114 .data = &test_data.uint_0001, 121 .data = &test_data.string_0001, 122 .maxlen = sizeof(test_data.string_0001), [all …]
|
D | test_firmware.c | 708 static const u8 test_data[] = { in trigger_request_platform_store() local 726 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store() 727 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store() 738 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store() 739 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/Linux-v6.6/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-v6.6/drivers/thunderbolt/ |
D | test.c | 490 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local 510 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 511 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 512 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() 514 test_data[i].type); in tb_test_path_single_hop_walk() 518 KUNIT_EXPECT_EQ(test, i, ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 520 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk() 522 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 523 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 524 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() [all …]
|
/Linux-v6.6/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-v6.6/tools/perf/arch/x86/tests/ |
D | insn-x86.c | 12 struct test_data { struct 21 const struct test_data test_data_32[] = { argument 28 const struct test_data test_data_64[] = { 100 static int test_data_item(const struct test_data *dat, int x86_64) in test_data_item() 150 static int test_data_set(const struct test_data *dat_set, int x86_64) in test_data_set() 152 const struct test_data *dat; in test_data_set()
|
D | intel-pt-test.c | 25 static const struct test_data { struct 209 static void decoding_failed(const struct test_data *d) in decoding_failed() 216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 245 static int test_ctx_unchanged(const struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 261 static int test_one(const struct test_data *d) in test_one() 310 const struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
/Linux-v6.6/tools/perf/tests/ |
D | dlfilter-test.c | 42 struct test_data { struct 69 struct test_data *td = container_of(tool, struct test_data, tool); in process() argument 112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() 173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() 245 static int check_filter_desc(struct test_data *td) in check_filter_desc() 263 static int get_ip_addr(struct test_data *td) in get_ip_addr() 288 static int do_run_perf_script(struct test_data *td, int do_early) in do_run_perf_script() 302 static int run_perf_script(struct test_data *td) in run_perf_script() 320 static int test__dlfilter_test(struct test_data *td) in test__dlfilter_test() 395 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-v6.6/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-v6.6/tools/testing/selftests/kvm/x86_64/ |
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() 589 struct test_data *data; in main() 597 data = (struct test_data *)addr_gva2hva(vm, test_data_page); in main()
|
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-v6.6/samples/bpf/ |
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-v6.6/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-v6.6/drivers/mmc/core/ |
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 2238 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf() 2248 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local 2257 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf() [all …]
|
/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | attach_probe.c | 34 static char test_data[] = "test_data"; variable 280 skel->bss->user_ptr = test_data; in test_uprobe_sleepable()
|
/Linux-v6.6/tools/testing/selftests/kvm/ |
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() 1101 const struct test_data *data = &tests[tctr]; in main()
|
/Linux-v6.6/drivers/phy/rockchip/ |
D | phy-rockchip-dphy-rx0.c | 172 static void rk_dphy_write(struct rk_dphy *priv, u8 test_code, u8 test_data) in rk_dphy_write() argument 184 rk_dphy_write_grf(priv, GRF_DPHY_RX0_TESTDIN, test_data); in rk_dphy_write()
|
/Linux-v6.6/Documentation/dev-tools/kunit/ |
D | usage.rst | 726 struct test_data { 734 struct test_data *test_data = test->priv; 736 KUNIT_EXPECT_EQ(test, test_data->want_foo_called_with, arg); 737 return test_data->foo_result; 744 struct test_data *test_data = test->priv; 746 test_data->foo_result = 42; 747 test_data->want_foo_called_with = 1;
|
/Linux-v6.6/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-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_display_debugfs.c | 933 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show() 937 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show() 939 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show() 941 intel_dp->compliance.test_data.bpc); in i915_displayport_test_data_show() 945 intel_dp->compliance.test_data.phytest.phy_pattern); in i915_displayport_test_data_show() 947 intel_dp->compliance.test_data.phytest.num_lanes); in i915_displayport_test_data_show() 949 intel_dp->compliance.test_data.phytest.link_rate); in i915_displayport_test_data_show()
|
/Linux-v6.6/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()
|