Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/firmware/cirrus/cs_dsp.c cs_dsp_adsp1_setup_algs() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->num_mems | 1-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->regmap->async | 0 |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0 |
| PARAM_VALUE | 0 | *dsp->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | alg_region | 4096-ptr_max |
| PARAM_VALUE | 1 | alg_region->type | 3 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | subname | 0 |
| PARAM_VALUE | 5 | subname_len | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | type | 4 |
| BUF_SIZE | 1 | alg_region | 16 |
| CAPPED_DATA | 0 | dsp->num_mems | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->volatile_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| DATA_SOURCE | 1 | alg_region | r cs_dsp_create_region |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_adsp1_setup_algs() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->num_mems | 1-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->regmap->async | 0 |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0 |
| PARAM_VALUE | 0 | *dsp->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | alg_region | 4096-ptr_max |
| PARAM_VALUE | 1 | alg_region->type | 4 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | subname | 0 |
| PARAM_VALUE | 5 | subname_len | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | type | 4 |
| BUF_SIZE | 1 | alg_region | 16 |
| CAPPED_DATA | 0 | dsp->num_mems | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->volatile_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| DATA_SOURCE | 1 | alg_region | r cs_dsp_create_region |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_adsp2_setup_algs() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->num_mems | 1-s32max |
| PARAM_VALUE | 0 | dsp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->ops->enable_core | 0,6467496593912152064,7914272739083653120 |
| PARAM_VALUE | 0 | dsp->ops->enable_memory | 0,6807573523074510848 |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0 |
| PARAM_VALUE | 0 | *dsp->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | alg_region | 4096-ptr_max |
| PARAM_VALUE | 1 | alg_region->type | 5 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | subname | 0 |
| PARAM_VALUE | 5 | subname_len | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | type | 4 |
| BUF_SIZE | 1 | alg_region | 16 |
| CAPPED_DATA | 0 | dsp->num_mems | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| DATA_SOURCE | 1 | alg_region | r cs_dsp_create_region |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_adsp2_setup_algs() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->num_mems | 1-s32max |
| PARAM_VALUE | 0 | dsp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->ops->enable_core | 0,6467496593912152064,7914272739083653120 |
| PARAM_VALUE | 0 | dsp->ops->enable_memory | 0,6807573523074510848 |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0 |
| PARAM_VALUE | 0 | *dsp->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | alg_region | 4096-ptr_max |
| PARAM_VALUE | 1 | alg_region->type | 6 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | subname | 0 |
| PARAM_VALUE | 5 | subname_len | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | type | 4 |
| BUF_SIZE | 1 | alg_region | 16 |
| CAPPED_DATA | 0 | dsp->num_mems | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| DATA_SOURCE | 1 | alg_region | r cs_dsp_create_region |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_adsp2_setup_algs() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->alg_regions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->num_mems | 1-s32max |
| PARAM_VALUE | 0 | dsp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->ops->enable_core | 0,6467496593912152064,7914272739083653120 |
| PARAM_VALUE | 0 | dsp->ops->enable_memory | 0,6807573523074510848 |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0 |
| PARAM_VALUE | 0 | *dsp->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | alg_region | 4096-ptr_max |
| PARAM_VALUE | 1 | alg_region->type | 4 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 4 | subname | 0 |
| PARAM_VALUE | 5 | subname_len | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | type | 4 |
| BUF_SIZE | 1 | alg_region | 16 |
| CAPPED_DATA | 0 | dsp->num_mems | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | dsp->regmap->rd_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| DATA_SOURCE | 1 | alg_region | r cs_dsp_create_region |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_parse_coeff() -> cs_dsp_create_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsp | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dsp->ops->enable_core | 0,6467496593912152064,7914272739083653120 |
| PARAM_VALUE | 0 | dsp->ops->enable_memory | 0,6807573523074510848 |
| PARAM_VALUE | 0 | dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dsp->regmap->async | 0-1 |
| PARAM_VALUE | 0 | dsp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dsp->type | 0-255 |
| PARAM_VALUE | 0 | dsp->wmfw_ver | 0-3 |
| PARAM_VALUE | 1 | alg_region | 7884124328674074624 |
| PARAM_VALUE | 1 | alg_region->base | 0 |
| PARAM_VALUE | 1 | alg_region->type | 0-u16max |
| PARAM_VALUE | 1 | alg_region->ver | 0 |
| PARAM_VALUE | 2 | offset | 0-u16max |
| PARAM_VALUE | 5 | subname_len | 0-u16max |
| PARAM_VALUE | 7 | type | 4,4096-4098,4100 |
| BUF_SIZE | 4 | subname | 256 |
| CAPPED_DATA | 0 | dsp->type | 1 |
| DATA_SOURCE | 0 | dsp | $0 |
| UNITS | 2 | offset | unit_array_size |
| UNITS | 3 | len | unit_byte |
| LOCK2 | 0 | &dsp->pwr_lock | |
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |