Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/lib/
Dtest_sysctl.c57 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 …]
Dtest_firmware.c627 static const u8 test_data[] = { in trigger_request_platform_store() local
645 efi_embedded_fw.data = (void *)test_data; in trigger_request_platform_store()
646 efi_embedded_fw.length = sizeof(test_data); in trigger_request_platform_store()
657 if (firmware->size != sizeof(test_data) || in trigger_request_platform_store()
658 memcmp(firmware->data, test_data, sizeof(test_data)) != 0) { in trigger_request_platform_store()
/kernel/linux/linux-5.10/fs/ext4/
Dinode-test.c104 const struct timestamp_expectation test_data[] = { in inode_test_xtimestamp_decoding() local
238 for (i = 0; i < ARRAY_SIZE(test_data); ++i) { in inode_test_xtimestamp_decoding()
239 timestamp.tv_sec = get_32bit_time(&test_data[i]); in inode_test_xtimestamp_decoding()
241 cpu_to_le32(test_data[i].extra_bits)); in inode_test_xtimestamp_decoding()
244 test_data[i].expected.tv_sec, in inode_test_xtimestamp_decoding()
247 test_data[i].test_case_name, in inode_test_xtimestamp_decoding()
248 test_data[i].msb_set, in inode_test_xtimestamp_decoding()
249 test_data[i].lower_bound, in inode_test_xtimestamp_decoding()
250 test_data[i].extra_bits); in inode_test_xtimestamp_decoding()
252 test_data[i].expected.tv_nsec, in inode_test_xtimestamp_decoding()
[all …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtest.c363 static const struct port_expectation test_data[] = { in tb_test_path_single_hop_walk() local
383 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk()
384 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk()
385 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk()
387 test_data[i].type); in tb_test_path_single_hop_walk()
391 KUNIT_EXPECT_EQ(test, i, (int)ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk()
393 i = ARRAY_SIZE(test_data) - 1; in tb_test_path_single_hop_walk()
395 KUNIT_EXPECT_TRUE(test, i < ARRAY_SIZE(test_data)); in tb_test_path_single_hop_walk()
396 KUNIT_EXPECT_EQ(test, tb_route(p->sw), test_data[i].route); in tb_test_path_single_hop_walk()
397 KUNIT_EXPECT_EQ(test, p->port, test_data[i].port); in tb_test_path_single_hop_walk()
[all …]
/kernel/linux/linux-5.10/include/crypto/
Ddrbg.h143 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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"
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_debug.c373 struct dentry *test_data, *test_type; in dp_debug_init() local
392 test_data = debugfs_create_file("msm_dp_test_data", 0444, in dp_debug_init()
395 if (IS_ERR_OR_NULL(test_data)) { in dp_debug_init()
396 rc = PTR_ERR(test_data); in dp_debug_init()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_test.c2192 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_blocking_perf() local
2201 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_blocking_perf()
2211 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_write_nonblock_perf() local
2220 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_write_nonblock_perf()
2230 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_blocking_perf() local
2239 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_blocking_perf()
2249 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_mult_read_nonblock_perf() local
2258 return mmc_test_rw_multiple_size(test, &test_data); in mmc_test_profile_mult_read_nonblock_perf()
2268 struct mmc_test_multiple_rw test_data = { in mmc_test_profile_sglen_wr_blocking_perf() local
2277 return mmc_test_rw_multiple_sg_len(test, &test_data); in mmc_test_profile_sglen_wr_blocking_perf()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/phy/rockchip/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1521 u8 *test_data = NULL; in hinic_run_lp_test() local
1529 test_data = __skb_put(skb_tmp, LP_PKT_LEN); in hinic_run_lp_test()
1531 memset(test_data, 0xFF, 2 * ETH_ALEN); in hinic_run_lp_test()
1532 test_data[ETH_ALEN] = 0xFE; in hinic_run_lp_test()
1533 test_data[2 * ETH_ALEN] = 0x08; in hinic_run_lp_test()
1534 test_data[2 * ETH_ALEN + 1] = 0x0; in hinic_run_lp_test()
1537 test_data[i] = i & 0xFF; in hinic_run_lp_test()
/kernel/linux/linux-5.10/crypto/
Ddrbg.c251 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()
1142 if (list_empty(&drbg->test_data.list)) { in drbg_seed()
1143 drbg_string_fill(&data1, drbg->test_data.buf, in drbg_seed()
1144 drbg->test_data.len); in drbg_seed()
1514 if (list_empty(&drbg->test_data.list)) in drbg_prepare_hrng()
1637 drbg_string_fill(&drbg->test_data, data, len); in drbg_kcapi_set_entropy()
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
Dsmiapp.h271 struct v4l2_ctrl *test_data[SMIAPP_COLOUR_COMPONENTS]; member
Dsmiapp-core.c502 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) in smiapp_set_ctrl()
504 sensor->test_data[i], in smiapp_set_ctrl()
692 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) { in smiapp_init_late_controls()
695 sensor->test_data[i] = v4l2_ctrl_new_std( in smiapp_init_late_controls()
1780 for (i = 0; i < ARRAY_SIZE(sensor->test_data); i++) in smiapp_set_format_source()
1782 sensor->test_data[i], 0, in smiapp_set_format_source()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c1373 intel_dp->compliance.test_data.edid); in i915_displayport_test_data_show()
1377 intel_dp->compliance.test_data.hdisplay); in i915_displayport_test_data_show()
1379 intel_dp->compliance.test_data.vdisplay); in i915_displayport_test_data_show()
1381 intel_dp->compliance.test_data.bpc); in i915_displayport_test_data_show()
1385 intel_dp->compliance.test_data.phytest.phy_pattern); in i915_displayport_test_data_show()
1387 intel_dp->compliance.test_data.phytest.num_lanes); in i915_displayport_test_data_show()
1389 intel_dp->compliance.test_data.phytest.link_rate); in i915_displayport_test_data_show()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx6-mipi-csi2.c149 u32 test_code, u32 test_data) in dw_mipi_csi2_phy_write() argument
164 writel(test_data, csi2->base + CSI2_PHY_TST_CTRL1); in dw_mipi_csi2_phy_write()
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
Dtdc.py435 with open(filename) as test_data:
436 testlist = json.load(test_data, object_pairs_hook=OrderedDict)
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c332 u8 test_data) in dw_mipi_dsi_phy_write() argument
347 PHY_TESTDIN(test_data)); in dw_mipi_dsi_phy_write()

12