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_read_algs()

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->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 n_algs 0-u32max
PARAM_VALUE 2 mem 4096-ptr_max
PARAM_VALUE 3 pos 7
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 2 mem r cs_dsp_find_region
PARAM_COMPARE 1 n_algs == $4
PARAM_COMPARE 1 n_algs > $4
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_read_algs()

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->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 n_algs 0-u32max
PARAM_VALUE 2 mem 4096-ptr_max
PARAM_VALUE 3 pos 8
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 2 mem r cs_dsp_find_region
PARAM_COMPARE 1 n_algs == $4
PARAM_COMPARE 1 n_algs > $4
UNITS 1 n_algs unit_array_size
LOCK2 0 &dsp->pwr_lock
TYPE_LOCK (struct cs_dsp)->pwr_lock

drivers/firmware/cirrus/cs_dsp.c cs_dsp_halo_setup_algs() -> cs_dsp_read_algs()

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->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 n_algs 0-u32max
PARAM_VALUE 2 mem 4096-ptr_max
PARAM_VALUE 3 pos 10
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 2 mem r cs_dsp_find_region
PARAM_COMPARE 1 n_algs == $4
PARAM_COMPARE 1 n_algs > $4
UNITS 1 n_algs unit_array_size
LOCK2 0 &dsp->pwr_lock
TYPE_LOCK (struct cs_dsp)->pwr_lock