Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 25 of 32) sorted by relevance

12

/linux/lib/
A Dtest_sysctl.c77 .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,
109 .data = &test_data.uint_0001,
116 .data = &test_data.string_0001,
123 .data = &test_data.bitmap_0001,
156 if (!test_data.bitmap_0001) in test_sysctl_init()
160 kfree(test_data.bitmap_0001); in test_sysctl_init()
[all …]
A Dtest_firmware.c615 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/drivers/thunderbolt/
A Dtest.c456 test_data[i].type); in tb_test_path_single_hop_walk()
468 test_data[i].type); in tb_test_path_single_hop_walk()
515 test_data[i].type); in tb_test_path_daisy_chain_walk()
527 test_data[i].type); in tb_test_path_daisy_chain_walk()
578 test_data[i].type); in tb_test_path_simple_tree_walk()
590 test_data[i].type); in tb_test_path_simple_tree_walk()
662 test_data[i].type); in tb_test_path_complex_tree_walk()
674 test_data[i].type); in tb_test_path_complex_tree_walk()
765 test_data[i].type); in tb_test_path_max_length_walk()
777 test_data[i].type); in tb_test_path_max_length_walk()
[all …]
/linux/drivers/gpu/drm/kmb/
A Dkmb_dsi.c1001 test_data = 0x02; in set_slewrate_gt_1500()
1006 test_data = 0x00; in set_slewrate_gt_1500()
1022 test_data = (0x03 | (1 << 6)); in set_slewrate_gt_1000()
1027 test_data = 0x01; in set_slewrate_gt_1000()
1034 test_data = (0x72f & 0x7f); in set_slewrate_gt_1000()
1062 test_data = 0x01; in set_slewrate_lt_1000()
1067 test_data = (0x523 & 0x7f); in set_slewrate_lt_1000()
1083 test_data = 0x01; in setup_pll()
1147 test_data = 0x01; in dphy_init_sequence()
1149 test_data = 0x00; in dphy_init_sequence()
[all …]
/linux/include/crypto/
A Ddrbg.h138 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/sound/pci/asihpi/
A Dhpi6000.c718 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 Dhpi6205.c1838 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/tools/perf/tests/
A Ddlfilter-test.c39 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 …]
A Dtime-utils-test.c60 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/tools/perf/arch/x86/tests/
A Dinsn-x86.c12 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 Dintel-pt-pkt-decoder-test.c20 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/Documentation/dev-tools/kunit/
A Dtips.rst99 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/samples/bpf/
A Dtest_lwt_bpf.sh196 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/fs/ext4/
A Dinode-test.c83 static const struct timestamp_expectation test_data[] = { variable
220 KUNIT_ARRAY_PARAM(ext4_inode, test_data, timestamp_expectation_to_desc);
/linux/drivers/mmc/core/
A Dmmc_test.c2177 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
2253 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local
2272 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_nonblock_perf() local
2291 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_r_blocking_perf() local
[all …]
/linux/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c738 struct test_data { struct
749 const struct test_data *tdata, in test_execute() argument
799 static const struct test_data tests[] = {
947 static bool test_loop(const struct test_data *data, in test_loop()
1020 const struct test_data *data = &tests[tctr]; in main()
/linux/drivers/char/hw_random/
A Dn2-drv.c422 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 Dn2rng.h141 u64 test_data; member
/linux/drivers/phy/rockchip/
A Dphy-rockchip-dphy-rx0.c173 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/sound/pci/ice1712/
A Dprodigy192.c683 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/drivers/net/ethernet/huawei/hinic/
A Dhinic_ethtool.c1518 u8 *test_data = NULL; in hinic_run_lp_test() local
1526 test_data = __skb_put(skb_tmp, LP_PKT_LEN); in hinic_run_lp_test()
1528 memset(test_data, 0xFF, 2 * ETH_ALEN); in hinic_run_lp_test()
1529 test_data[ETH_ALEN] = 0xFE; in hinic_run_lp_test()
1530 test_data[2 * ETH_ALEN] = 0x08; in hinic_run_lp_test()
1531 test_data[2 * ETH_ALEN + 1] = 0x0; in hinic_run_lp_test()
1534 test_data[i] = i & 0xFF; in hinic_run_lp_test()
/linux/crypto/
A Ddrbg.c252 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/drivers/gpu/drm/i915/display/
A Dintel_dp.c1161 if (intel_dp->compliance.test_data.bpc != 0) { in intel_dp_adjust_compliance_config()
1162 int bpp = 3 * intel_dp->compliance.test_data.bpc; in intel_dp_adjust_compliance_config()
3247 intel_dp->compliance.test_data.bpc = 6; in intel_dp_autotest_video_pattern()
3250 intel_dp->compliance.test_data.bpc = 8; in intel_dp_autotest_video_pattern()
3256 intel_dp->compliance.test_data.video_pattern = test_pattern; in intel_dp_autotest_video_pattern()
3257 intel_dp->compliance.test_data.hdisplay = be16_to_cpu(h_width); in intel_dp_autotest_video_pattern()
3258 intel_dp->compliance.test_data.vdisplay = be16_to_cpu(v_height); in intel_dp_autotest_video_pattern()
3288 intel_dp->compliance.test_data.edid = INTEL_DP_RESOLUTION_FAILSAFE; in intel_dp_autotest_edid()
3318 &intel_dp->compliance.test_data.phytest; in intel_dp_phy_pattern_update()
3437 &intel_dp->compliance.test_data.phytest; in intel_dp_process_phy_request()
[all …]
A Dintel_display_debugfs.c1531 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show()
1535 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show()
1537 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show()
1539 intel_dp->compliance.test_data.bpc); in i915_displayport_test_data_show()
1543 intel_dp->compliance.test_data.phytest.phy_pattern); in i915_displayport_test_data_show()
1545 intel_dp->compliance.test_data.phytest.num_lanes); in i915_displayport_test_data_show()
1547 intel_dp->compliance.test_data.phytest.link_rate); in i915_displayport_test_data_show()
/linux/drivers/media/i2c/ccs/
A Dccs.h276 struct v4l2_ctrl *test_data[CCS_COLOUR_COMPONENTS]; member

Completed in 82 milliseconds

12