Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/firmware/cirrus/test/cs_dsp_test_callbacks.c cs_dsp_callbacks_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->dsp->type 2,4
PARAM_VALUE 0 priv->local 16,4096-ptr_max
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 7127037475568820224
PARAM_VALUE 0 priv->test->last_seen.line 707
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version 1-3
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 176
DATA_SOURCE 0 priv r kunit_kzalloc
DATA_SOURCE 1 format_version $2
HARD_MAX 1 format_version 3
MEM_ZERO 0 priv

drivers/firmware/cirrus/test/cs_dsp_test_wmfw_error.c cs_dsp_wmfw_err_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->dsp->type 2,4
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 7127037475568820224
PARAM_VALUE 0 priv->test->last_seen.line 707
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version 0-3
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 24
DATA_SOURCE 0 priv r kunit_kzalloc
DATA_SOURCE 1 format_version $2
MEM_ZERO 0 priv

drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c _create_dummy_wmfw() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->local 4096-ptr_max
BUF_SIZE 0 priv (-1),32
BUF_SIZE 0 priv (-1),32

drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c cs_dsp_wmfw_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->dsp->type 2,4
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_version 0-3
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 7127037475568820224
PARAM_VALUE 0 priv->test->last_seen.line 707
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version 0-3
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 24
DATA_SOURCE 0 priv r kunit_kzalloc
DATA_SOURCE 1 format_version $2
MEM_ZERO 0 priv

drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c cs_dsp_ctl_fw_uniqueness() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_builder 4096-ptr_max
PARAM_VALUE 1 format_version 0-255
BUF_SIZE 0 priv s32min,(-10),1-s32max
BUF_SIZE 0 priv s32min,(-10),1-s32max

drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c cs_dsp_ctl_parse_fw_name() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_builder 4096-ptr_max
PARAM_VALUE 1 format_version 0-255
BUF_SIZE 0 priv s32min,(-10),1-s32max
BUF_SIZE 0 priv s32min,(-10),1-s32max

drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c cs_dsp_ctl_parse_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->dsp->type 2,4
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_version 1-3
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 7127037475568820224
PARAM_VALUE 0 priv->test->last_seen.line 707
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version 1-3
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 24
DATA_SOURCE 0 priv r kunit_kzalloc
DATA_SOURCE 1 format_version $2
MEM_ZERO 0 priv

drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c cs_dsp_get_ctl_test_multiple_wmfw() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_builder 4096-ptr_max
PARAM_VALUE 1 format_version 0-255
BUF_SIZE 0 priv s32min,(-10),1-s32max
BUF_SIZE 0 priv s32min,(-10),1-s32max

drivers/firmware/cirrus/test/cs_dsp_test_bin.c cs_dsp_bin_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->bin_builder 4096-ptr_max
PARAM_VALUE 0 priv->local->bin_builder->bytes_used 16
PARAM_VALUE 0 priv->local->bin_builder->test_priv 4096-ptr_max
PARAM_VALUE 0 priv->local->bin_builder->test_priv->dsp s64min-(-4096),4096-s64max
PARAM_VALUE 0 priv->local->bin_builder->test_priv->local s64min-(-4096),16,4096-s64max
PARAM_VALUE 0 priv->local->bin_builder->test_priv->test s64min-(-4096),4096-s64max
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 8090938237943001088
PARAM_VALUE 0 priv->test->last_seen.line 99
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version (-1)
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 24
BUF_SIZE 0 priv->local->bin_builder 32
DATA_SOURCE 0 priv r kunit_kzalloc
MEM_ZERO 0 priv
MEM_ZERO 0 priv->local

drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c cs_dsp_bin_err_test_common_init() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dsp 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->dsp->mem 2042098690311979008,3303495641393344512,6658809426303332352
PARAM_VALUE 0 priv->dsp->num 1
PARAM_VALUE 0 priv->dsp->num_mems 0-s32max
PARAM_VALUE 0 priv->dsp->regmap 4096-ptr_max
PARAM_VALUE 0 priv->dsp->regmap->cache_only 1
PARAM_VALUE 0 priv->dsp->type 2,4
PARAM_VALUE 0 priv->local 4096-ptr_max
PARAM_VALUE 0 priv->local->wmfw_version 1-3
PARAM_VALUE 0 priv->test 4096-ptr_max
PARAM_VALUE 0 priv->test->last_seen.file 7127037475568820224
PARAM_VALUE 0 priv->test->last_seen.line 707
PARAM_VALUE 0 priv->test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 format_version 1-3
BUF_SIZE 0 priv 32
BUF_SIZE 0 priv->dsp 344
BUF_SIZE 0 priv->local 40
DATA_SOURCE 0 priv r kunit_kzalloc
DATA_SOURCE 1 format_version $2
MEM_ZERO 0 priv

drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c _create_dummy_wmfw() -> cs_dsp_mock_wmfw_init()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->local 4096-ptr_max
BUF_SIZE 0 priv (-1),32
BUF_SIZE 0 priv (-1),32