/Linux-v5.15/lib/ |
D | test_sysctl.c | 57 static struct test_sysctl_data test_data = { variable 77 .data = &test_data.int_0001, 86 .data = &test_data.int_0002, 93 .data = &test_data.int_0003, 94 .maxlen = sizeof(test_data.int_0003), 100 .data = &test_data.boot_int, 101 .maxlen = sizeof(test_data.boot_int), 109 .data = &test_data.uint_0001, 116 .data = &test_data.string_0001, 117 .maxlen = sizeof(test_data.string_0001), [all …]
|
D | test_firmware.c | 615 static const u8 test_data[] = { in trigger_request_platform_store() local 633 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store() 634 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store() 645 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store() 646 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
|
/Linux-v5.15/drivers/thunderbolt/ |
D | test.c | 432 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local 452 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 453 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 454 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() 456 test_data[i].type); in tb_test_path_single_hop_walk() 460 KUNIT_EXPECT_EQ(test, i, ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 462 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk() 464 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk() 465 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk() 466 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk() [all …]
|
/Linux-v5.15/drivers/gpu/drm/kmb/ |
D | kmb_dsi.c | 771 u32 test_code, u32 test_data) in test_mode_send() argument 813 test_data << ((dphy_no % 4) * 8)); in test_mode_send() 996 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1500() local 1001 test_data = 0x02; in set_slewrate_gt_1500() 1002 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1006 test_data = 0x00; in set_slewrate_gt_1500() 1007 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1500() 1012 u32 test_code = 0, test_data = 0; in set_slewrate_gt_1000() local 1022 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000() 1023 test_mode_send(kmb_dsi, dphy_no, test_code, test_data); in set_slewrate_gt_1000() [all …]
|
/Linux-v5.15/include/crypto/ |
D | drbg.h | 138 struct drbg_string test_data; member 231 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() argument 233 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test() 234 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test() 255 struct drbg_test_data *test_data) in crypto_drbg_reset_test() argument 257 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_reset_test() 258 test_data->testentropy->len); in crypto_drbg_reset_test()
|
/Linux-v5.15/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 struct test_data { struct 193 static void decoding_failed(struct test_data *d) in decoding_failed() 200 static int fail(struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 229 static int test_ctx_unchanged(struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 245 static int test_one(struct test_data *d) in test_one() 294 struct test_data *d = data; in test__intel_pt_pkt_decoder()
|
/Linux-v5.15/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-v5.15/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-v5.15/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;
|
/Linux-v5.15/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-v5.15/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-v5.15/drivers/mmc/core/ |
D | mmc_test.c | 2178 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local 2187 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf() 2197 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local 2206 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf() 2216 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local 2225 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf() 2235 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local 2244 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf() 2254 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local 2263 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf() [all …]
|
/Linux-v5.15/tools/testing/selftests/kvm/ |
D | memslot_perf_test.c | 726 struct test_data { struct 737 const struct test_data *tdata, in test_execute() argument 787 static const struct test_data tests[] = { 935 static bool test_loop(const struct test_data *data, in test_loop() 1008 const struct test_data *data = &tests[tctr]; in main()
|
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 1520 u8 *test_data = NULL; in hinic_run_lp_test() local 1528 test_data = __skb_put(skb_tmp, LP_PKT_LEN); in hinic_run_lp_test() 1530 memset(test_data, 0xFF, 2 * ETH_ALEN); in hinic_run_lp_test() 1531 test_data[ETH_ALEN] = 0xFE; in hinic_run_lp_test() 1532 test_data[2 * ETH_ALEN] = 0x08; in hinic_run_lp_test() 1533 test_data[2 * ETH_ALEN + 1] = 0x0; in hinic_run_lp_test() 1536 test_data[i] = i & 0xFF; in hinic_run_lp_test()
|
/Linux-v5.15/crypto/ |
D | drbg.c | 252 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test() 1134 if (list_empty(&drbg->test_data.list)) { in drbg_seed() 1135 drbg_string_fill(&data1, drbg->test_data.buf, in drbg_seed() 1136 drbg->test_data.len); in drbg_seed() 1507 if (list_empty(&drbg->test_data.list)) in drbg_prepare_hrng() 1661 drbg_string_fill(&drbg->test_data, data, len); in drbg_kcapi_set_entropy()
|
/Linux-v5.15/drivers/media/i2c/ccs/ |
D | ccs.h | 276 struct v4l2_ctrl *test_data[CCS_COLOUR_COMPONENTS]; member
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_display_debugfs.c | 1545 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show() 1549 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show() 1551 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show() 1553 intel_dp->compliance.test_data.bpc); in i915_displayport_test_data_show() 1557 intel_dp->compliance.test_data.phytest.phy_pattern); in i915_displayport_test_data_show() 1559 intel_dp->compliance.test_data.phytest.num_lanes); in i915_displayport_test_data_show() 1561 intel_dp->compliance.test_data.phytest.link_rate); in i915_displayport_test_data_show()
|
/Linux-v5.15/drivers/staging/media/imx/ |
D | imx6-mipi-csi2.c | 150 u32 test_code, u32 test_data) in dw_mipi_csi2_phy_write() argument 165 writel(test_data, csi2->base + CSI2_PHY_TST_CTRL1); in dw_mipi_csi2_phy_write()
|