Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/firmware/cirrus/cs_dsp.c
- sound/hda/codecs/side-codecs/cs35l41_hda.c, line 1136
- sound/soc/codecs/cs-amp-lib.c, line 120
- sound/soc/codecs/cs35l56-shared.c
- sound/soc/codecs/wm_adsp.c
Smatch caller information:
sound/hda/codecs/side-codecs/cs35l41_hda.c cs35l41_hda_read_ctl() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 2884922176238407680 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| BUF_SIZE | 2 | buf | 4 |
| DATA_SOURCE | 2 | buf | $4 |
| DATA_SOURCE | 3 | len | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &cs35l41->fw_mutex | ||
| HALF_LOCKED2 | global &component_mutex |
sound/soc/codecs/wm_adsp.c wm_adsp_buffer_parse_coeff() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->enabled | 1 |
| PARAM_VALUE | 0 | ctl->len | 0-u32max |
| PARAM_VALUE | 0 | ctl->type | 4098 |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 4911780888382746624 |
| PARAM_VALUE | 3 | len | 0-24 |
| BUF_SIZE | 2 | buf | 24 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | ctl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &cs_dsp->pwr_lock | ||
| HALF_LOCKED2 | &cs35l56->base.irq_lock | ||
| HALF_LOCKED2 | &cs40l50->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
sound/soc/codecs/wm_adsp.c wm_adsp_read_ctl() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| DATA_SOURCE | 2 | buf | $4 |
| DATA_SOURCE | 3 | len | $5 |
| LOCK2 | _T->lock |
sound/soc/codecs/wm_adsp.c wm_coeff_tlv_get() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| BUF_SIZE | 2 | buf | 1-s32max |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 3 | len | $2 |
| NOSPEC | 3 | len | |
| NOSPEC | 3 | len | |
| USER_DATA | 3 | len | 8-s32max[c] |
| UNITS | 2 | buf | unit_byte |
| LOCK2 | _T->lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_coeff_lock_and_read_ctrl() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | off | 0-1073741823 |
| BUF_SIZE | 2 | buf | 0-s32max |
| BUF_SIZE | 2 | buf | 0-s32max |
| DATA_SOURCE | 0 | ctl | $0 |
| DATA_SOURCE | 1 | off | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | len | $3 |
| FUZZY_MAX | 1 | off | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | len | |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
| USER_PTR | 2 | buf | |
| LOCK2 | &dsp->pwr_lock | ||
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
drivers/firmware/cirrus/cs_dsp.c cs_dsp_populate_wseq() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->len | 0-4000000 |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4000000 |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
| LOCK2 | &dsp->pwr_lock | ||
| HALF_LOCKED2 | &cs35l56->base.irq_lock | ||
| HALF_LOCKED2 | &cs40l50->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cs_dsp)->pwr_lock |
sound/soc/codecs/cs35l56-shared.c cs35l56_cal_set_status_get() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 4727593416617574400 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/codecs/cs35l56-shared.c cs35l56_log_tuning() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 6290054392377053184 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/soc/codecs/cs35l56-shared.c cs35l56_log_tuning() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 1470350317866901504 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/soc/codecs/cs35l56-shared.c cs35l56_log_tuning() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 2670282527510409216 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/soc/codecs/cs35l56-shared.c cs35l56_perform_calibration() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 5879436561314029568 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| DATA_SOURCE | 0 | ctl | r cs_dsp_get_ctl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock |
sound/soc/codecs/cs-amp-lib.c cs_amp_read_cal_coeff() -> cs_dsp_coeff_read_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctl->subname | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 7001482116659294208 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | buf | 4 |
| DATA_SOURCE | 0 | ctl | r cs_dsp_get_ctl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock |