Home
last modified time | relevance | path

Searched refs:test_priv (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_bin.c25 struct cs_dsp_test *test_priv; member
42 fw = kunit_kzalloc(builder->test_priv->test, sizeof(*fw), GFP_KERNEL); in cs_dsp_mock_bin_get_firmware()
43 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, fw); in cs_dsp_mock_bin_get_firmware()
71 KUNIT_ASSERT_TRUE(builder->test_priv->test, in cs_dsp_mock_bin_add_raw_block()
101 tmp = kunit_kzalloc(builder->test_priv->test, info_len, GFP_KERNEL); in cs_dsp_mock_bin_add_name_or_info()
102 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, tmp); in cs_dsp_mock_bin_add_name_or_info()
108 kunit_kfree(builder->test_priv->test, tmp); in cs_dsp_mock_bin_add_name_or_info()
156 KUNIT_ASSERT_EQ(builder->test_priv->test, payload_len_bytes % 4, 0); in cs_dsp_mock_bin_add_patch()
185 builder->test_priv = priv; in cs_dsp_mock_bin_init()
H A Dcs_dsp_mock_wmfw.c23 struct cs_dsp_test *test_priv; member
79 fw = kunit_kzalloc(builder->test_priv->test, sizeof(*fw), GFP_KERNEL); in cs_dsp_mock_wmfw_get_firmware()
80 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, fw); in cs_dsp_mock_wmfw_get_firmware()
106 KUNIT_ASSERT_TRUE(builder->test_priv->test, in cs_dsp_mock_wmfw_add_raw_block()
138 tmp = kunit_kzalloc(builder->test_priv->test, info_len, GFP_KERNEL); in cs_dsp_mock_wmfw_add_info()
139 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, tmp); in cs_dsp_mock_wmfw_add_info()
145 kunit_kfree(builder->test_priv->test, tmp); in cs_dsp_mock_wmfw_add_info()
163 KUNIT_ASSERT_EQ(builder->test_priv->test, payload_len_bytes % 4, 0); in cs_dsp_mock_wmfw_add_data_block()
182 KUNIT_ASSERT_LE(builder->test_priv->test, alg_id, 0xffffff); in cs_dsp_mock_wmfw_start_alg_info_block()
192 KUNIT_FAIL(builder->test_priv in cs_dsp_mock_wmfw_start_alg_info_block()
[all...]
H A Dcs_dsp_mock_mem_maps.c476 switch (header->test_priv->dsp->type) { in cs_dsp_mock_xm_header_get_fw_version()
484 KUNIT_FAIL(header->test_priv->test, NULL); in cs_dsp_mock_xm_header_get_fw_version()
650 struct cs_dsp_test *priv = header->test_priv; in cs_dsp_mock_xm_header_write_to_regmap()
683 builder->test_priv = priv; in cs_dsp_create_mock_xm_header()
/linux/drivers/base/test/
H A Droot-device-test.c10 struct test_priv { struct
19 struct test_priv *priv; in root_device_devm_init() argument
32 struct test_priv *priv = ptr; in devm_device_action()
46 struct test_priv *priv = test->priv; in root_device_devm_register_unregister_test()
64 struct test_priv *priv = ptr; in devm_put_device_action()
78 struct test_priv *priv = test->priv; in root_device_devm_register_get_unregister_with_devm_test()
H A Dplatform-device-test.c13 struct test_priv { struct
23 struct test_priv *priv; in platform_device_devm_init() argument
37 struct test_priv *priv = ptr; in devm_device_action()
45 struct test_priv *priv = ptr; in devm_put_device_action()
61 struct test_priv *priv = test->priv; in platform_device_devm_register_unregister_test()
90 struct test_priv *priv = test->priv; in platform_device_devm_register_get_unregister_with_devm_test()
115 struct test_priv *priv = platform_get_drvdata(pdev); in fake_probe()
137 struct test_priv *priv = test->priv; in probed_platform_device_devm_register_unregister_test()
176 struct test_priv *priv = test->priv; in probed_platform_device_devm_register_get_unregister_with_devm_test()
/linux/sound/soc/generic/
H A Dtest-component.c23 struct test_priv { struct
410 static void test_component_timer_stop(struct test_priv *priv) in test_component_timer_stop()
415 static void test_component_timer_start(struct test_priv *priv) in test_component_timer_start()
422 struct test_priv *priv = container_of(work, struct test_priv, dwork.work); in test_component_dwork()
433 struct test_priv *priv = dev_get_drvdata(component->dev); in test_component_trigger()
539 struct test_priv *priv; in test_driver_probe()
24 devtest_priv global() argument
25 substreamtest_priv global() argument
26 dworktest_priv global() argument
27 component_drivertest_priv global() argument
28 dai_drivertest_priv global() argument
29 nametest_priv global() argument
/linux/include/linux/firmware/cirrus/
H A Dcs_dsp_test_utils.h70 * @test_priv: Pointer to the struct cs_dsp_test.
75 struct cs_dsp_test *test_priv; member