Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/u-boot/cmd/
H A Dcrypto.c403 const struct hash_test_data *test_data = NULL; in test_hash_result() local
413 test_data = &hash_data_set[i]; in test_hash_result()
414 if (test_data->algo == 0) { in test_hash_result()
419 dev = crypto_get_device(test_data->algo); in test_hash_result()
422 test_data->algo_name, in test_hash_result()
423 test_data->mode_name); in test_hash_result()
427 csha_ctx.algo = test_data->algo; in test_hash_result()
428 csha_ctx.length = test_data->data_len; in test_hash_result()
431 if (test_data->key) { in test_hash_result()
433 (u8 *)test_data->key, in test_hash_result()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/rockchip/
H A Drk_mipi.c174 unsigned char *test_data, unsigned char size) in rk_mipi_phy_write() argument
188 rk_mipi_dsi_write(regs, PHY_TESTDIN, test_data[i]); in rk_mipi_phy_write()
210 unsigned char test_data[2] = {0}; in rk_mipi_phy_enable() local
234 test_data[0] = 0x80 | (ddr_clk / (200 * MHz)) << 3 | 0x3; in rk_mipi_phy_enable()
235 rk_mipi_phy_write(regs, CODE_PLL_VCORANGE_VCOCAP, test_data, 1); in rk_mipi_phy_enable()
237 test_data[0] = 0x8; in rk_mipi_phy_enable()
238 rk_mipi_phy_write(regs, CODE_PLL_CPCTRL, test_data, 1); in rk_mipi_phy_enable()
240 test_data[0] = 0x80 | 0x40; in rk_mipi_phy_enable()
241 rk_mipi_phy_write(regs, CODE_PLL_LPF_CP, test_data, 1); in rk_mipi_phy_enable()
252 test_data[0] = freq_rang[i][1] << 1; in rk_mipi_phy_enable()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/ext4/
H A 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 …]
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xigetselectedevents.c61 } test_data; variable
85 assert(rep->num_masks == test_data.num_masks_expected); in reply_XIGetSelectedEvents()
99 for (i = 0; i < test_data.num_masks_expected; i++) { in reply_XIGetSelectedEvents_data()
110 test_data.mask[mask->deviceid], mask->mask_len * 4) == 0); in reply_XIGetSelectedEvents_data()
157 test_data.num_masks_expected = 0; in test_XIGetSelectedEvents()
164 memset(test_data.mask, 0, sizeof(test_data.mask)); in test_XIGetSelectedEvents()
173 test_data.num_masks_expected = min(j + 1, devices.num_devices + 2); in test_XIGetSelectedEvents()
175 mask = test_data.mask[j]; in test_XIGetSelectedEvents()
196 test_data.num_masks_expected--; in test_XIGetSelectedEvents()
198 mask = test_data.mask[j]; in test_XIGetSelectedEvents()
H A Dprotocol-xigetclientpointer.c47 } test_data; variable
65 assert(rep->set == test_data.cp_is_set); in reply_XIGetClientPointer()
67 assert(rep->deviceid == test_data.dev->id); in reply_XIGetClientPointer()
76 test_data.win = req->win; in request_XIGetClientPointer()
117 test_data.cp_is_set = FALSE; in test_XIGetClientPointer()
129 test_data.dev = devices.vcp; in test_XIGetClientPointer()
130 test_data.cp_is_set = TRUE; in test_XIGetClientPointer()
138 test_data.dev = devices.vcp; in test_XIGetClientPointer()
139 test_data.cp_is_set = TRUE; in test_XIGetClientPointer()
H A Dprotocol-xiquerypointer.c52 } test_data; variable
80 sprite = test_data.dev->spriteInfo->sprite; in reply_XIQueryPointer()
84 if (test_data.win == &root) { in reply_XIQueryPointer()
154 test_data.win = &root; in test_XIQueryPointer()
156 test_data.dev = devices.vcp; in test_XIQueryPointer()
166 test_data.dev = devices.mouse; in test_XIQueryPointer()
178 test_data.dev = devices.vcp; in test_XIQueryPointer()
179 test_data.win = &window; in test_XIQueryPointer()
183 test_data.dev = devices.mouse; in test_XIQueryPointer()
H A Dprotocol-xiqueryversion.c52 struct test_data { struct
67 struct test_data *versions = (struct test_data *) closure; in reply_XIQueryVersion() argument
93 struct test_data *versions = (struct test_data *) closure; in reply_XIQueryVersion_multiple()
112 struct test_data versions; in request_XIQueryVersion()
200 struct test_data versions; in test_XIQueryVersion_multiple()
H A Dprotocol-xiquerydevice.c52 struct test_data { struct
69 struct test_data *querydata = (struct test_data *) userdata; in reply_XIQueryDevice() argument
95 struct test_data *querydata = (struct test_data *) closure; in reply_XIQueryDevice_data()
278 request_XIQueryDevice(struct test_data *querydata, int deviceid, int error) in request_XIQueryDevice()
314 struct test_data data; in test_XIQueryDevice()
/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_mipi_dphy.h89 static void testif_test_data_write(struct rk628 *rk628, u8 test_data) in testif_test_data_write() argument
92 testif_set_data(rk628, test_data); in testif_test_data_write()
96 static u8 testif_write(struct rk628 *rk628, u8 test_code, u8 test_data) in testif_write() argument
101 testif_test_data_write(rk628, test_data); in testif_write()
105 dev_dbg(rk628->dev, "test_data=0x%02x, ", test_data); in testif_write()
113 u8 test_data; in testif_read() local
116 test_data = testif_get_data(rk628); in testif_read()
117 testif_test_data_write(rk628, test_data); in testif_read()
119 return test_data; in testif_read()
/OK3568_Linux_fs/kernel/include/crypto/
H A 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()
/OK3568_Linux_fs/kernel/sound/pci/asihpi/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/perf/arch/x86/tests/
H A 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()
H 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()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H 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()
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_csi.c96 static void testif_test_data_write(struct rk628 *rk628, u8 test_data) in testif_test_data_write() argument
99 testif_set_data(rk628, test_data); in testif_test_data_write()
103 static u8 testif_write(struct rk628 *rk628, u8 test_code, u8 test_data) in testif_write() argument
108 testif_test_data_write(rk628, test_data); in testif_write()
112 dev_info(rk628->dev, "test_data=0x%02x, ", test_data); in testif_write()
136 u8 test_data; in testif_read() local
139 test_data = testif_get_data(rk628); in testif_read()
140 testif_test_data_write(rk628, test_data); in testif_read()
142 return test_data; in testif_read()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/sdkext/
H A Dtestsdk.py37 test_data = json.load(open(tdname, "r"))
70 … f.write('SSTATE_MIRRORS += "file://.* file://%s/PATH"\n' % test_data.get('SSTATE_DIR'))
71 f.write('SOURCE_MIRROR_URL = "file://%s"\n' % test_data.get('DL_DIR'))
73 …git.yoctoproject.org/.* git://%s/git2/git.yoctoproject.org.BASENAME "\n' % test_data.get('DL_DIR'))
79 tc = OESDKExtTestContext(td=test_data, logger=logger, sdk_dir=sdk_dir,
/OK3568_Linux_fs/kernel/samples/bpf/
H 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"
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dprocess_tree_test.py41 test_data = open(filename)
42 for expected, actual in zip(test_data, self.flatten(process_tree)):
50 test_data.close()
/OK3568_Linux_fs/buildroot/package/weston/
H A D0027-Support-holding-display-for-the-first-app.patch27 … -3581,6 +3582,8 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
36 … -3599,6 +3602,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
44 … -3785,6 +3789,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0027-Support-holding-display-for-the-first-app.patch27 … -3581,6 +3582,8 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
36 … -3599,6 +3602,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
44 … -3785,6 +3789,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0024-Support-holding-display-for-the-first-app.patch27 … -3336,6 +3337,8 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
36 … -3354,6 +3357,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
44 … -3528,6 +3532,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/include/kutf/
H A Dkutf_suite.h172 union kutf_callback_data test_data; member
357 union kutf_callback_data test_data);
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/
H A Dkutf_suite.c69 union kutf_callback_data test_data; member
507 union kutf_callback_data test_data) in kutf_add_test_with_filters_and_data() argument
559 test_func->test_data = test_data; in kutf_add_test_with_filters_and_data()
829 new_context->test_data = test_fix->test_func->test_data; in kutf_create_context()

1234