Home
last modified time | relevance | path

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

/linux/drivers/firmware/cirrus/test/
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->test, "wmfwV0 does not have alg blocks\n"); in cs_dsp_mock_wmfw_start_alg_info_block()
[all …]
/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()
/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