Home
last modified time | relevance | path

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

/Linux-v5.4/lib/
Dtest_sysctl.c55 static struct test_sysctl_data test_data = { variable
73 .data = &test_data.int_0001,
82 .data = &test_data.int_0002,
89 .data = &test_data.int_0003,
90 .maxlen = sizeof(test_data.int_0003),
96 .data = &test_data.uint_0001,
103 .data = &test_data.string_0001,
104 .maxlen = sizeof(test_data.string_0001),
110 .data = &test_data.bitmap_0001,
142 test_data.bitmap_0001 = kzalloc(SYSCTL_TEST_BITMAP_SIZE/8, GFP_KERNEL); in test_sysctl_init()
[all …]
/Linux-v5.4/include/crypto/
Ddrbg.h138 struct drbg_string test_data; member
235 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() argument
237 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test()
238 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test()
259 struct drbg_test_data *test_data) in crypto_drbg_reset_test() argument
261 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_reset_test()
262 test_data->testentropy->len); in crypto_drbg_reset_test()
/Linux-v5.4/tools/perf/arch/x86/tests/
Dinsn-x86.c12 struct test_data { struct
21 struct test_data test_data_32[] = { argument
28 struct test_data test_data_64[] = {
95 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()
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-v5.4/sound/pci/asihpi/
Dhpi6000.c637 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 …]
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-v5.4/tools/perf/tests/
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-v5.4/samples/bpf/
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-v5.4/drivers/mmc/core/
Dmmc_test.c2164 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local
2173 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf()
2183 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local
2192 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf()
2202 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local
2211 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf()
2221 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local
2230 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf()
2240 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local
2249 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf()
[all …]
/Linux-v5.4/drivers/char/hw_random/
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()
Dn2rng.h141 u64 test_data; member
/Linux-v5.4/sound/pci/ice1712/
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-v5.4/crypto/
Ddrbg.c251 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()
1137 if (list_empty(&drbg->test_data.list)) { in drbg_seed()
1138 drbg_string_fill(&data1, drbg->test_data.buf, in drbg_seed()
1139 drbg->test_data.len); in drbg_seed()
1492 if (list_empty(&drbg->test_data.list)) in drbg_prepare_hrng()
1644 drbg_string_fill(&drbg->test_data, data, len); in drbg_kcapi_set_entropy()
Dtestmgr.c3373 struct drbg_test_data test_data; in drbg_cavs_test() local
3388 test_data.testentropy = &testentropy; in drbg_cavs_test()
3391 ret = crypto_drbg_reset_test(drng, &pers, &test_data); in drbg_cavs_test()
3401 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3416 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
/Linux-v5.4/drivers/media/i2c/smiapp/
Dsmiapp.h233 struct v4l2_ctrl *test_data[SMIAPP_COLOUR_COMPONENTS]; member
Dsmiapp-core.c484 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) in smiapp_set_ctrl()
486 sensor->test_data[i], in smiapp_set_ctrl()
621 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) { in smiapp_init_late_controls()
624 sensor->test_data[i] = v4l2_ctrl_new_std( in smiapp_init_late_controls()
1775 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) in smiapp_set_format_source()
1777 sensor->test_data[i], 0, in smiapp_set_format_source()
/Linux-v5.4/drivers/staging/media/imx/
Dimx6-mipi-csi2.c142 u32 test_code, u32 test_data) in dw_mipi_csi2_phy_write() argument
157 writel(test_data, csi2->base + CSI2_PHY_TST_CTRL1); in dw_mipi_csi2_phy_write()
/Linux-v5.4/tools/testing/selftests/tc-testing/
Dtdc.py435 with open(filename) as test_data:
436 testlist = json.load(test_data, object_pairs_hook=OrderedDict)
/Linux-v5.4/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c321 u8 test_data) in dw_mipi_dsi_phy_write() argument
336 PHY_TESTDIN(test_data)); in dw_mipi_dsi_phy_write()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_dp.c1900 if (intel_dp->compliance.test_data.bpc != 0) { in intel_dp_adjust_compliance_config()
1901 int bpp = 3 * intel_dp->compliance.test_data.bpc; in intel_dp_adjust_compliance_config()
4591 intel_dp->compliance.test_data.bpc = 6; in intel_dp_autotest_video_pattern()
4594 intel_dp->compliance.test_data.bpc = 8; in intel_dp_autotest_video_pattern()
4600 intel_dp->compliance.test_data.video_pattern = test_pattern; in intel_dp_autotest_video_pattern()
4601 intel_dp->compliance.test_data.hdisplay = be16_to_cpu(h_width); in intel_dp_autotest_video_pattern()
4602 intel_dp->compliance.test_data.vdisplay = be16_to_cpu(v_height); in intel_dp_autotest_video_pattern()
4630 intel_dp->compliance.test_data.edid = INTEL_DP_RESOLUTION_FAILSAFE; in intel_dp_autotest_edid()
4644 intel_dp->compliance.test_data.edid = INTEL_DP_RESOLUTION_PREFERRED; in intel_dp_autotest_edid()
Dintel_display_types.h1141 struct intel_dp_compliance_data test_data; member
/Linux-v5.4/kernel/trace/
Dtrace_events_hist.c1746 struct hist_trigger_data *test_data; in find_var() local
1756 test_data = test->private_data; in find_var()
1757 hist_field = find_var_field(test_data, var_name); in find_var()
1800 struct hist_trigger_data *test_data; in find_file_var() local
1806 test_data = test->private_data; in find_file_var()
1807 hist_field = find_var_field(test_data, var_name); in find_file_var()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_debugfs.c3256 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show()
3260 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show()
3262 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show()
3264 intel_dp->compliance.test_data.bpc); in i915_displayport_test_data_show()