Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/codecs/wm_adsp.c wm_adsp_write_ctl() -> cs_dsp_coeff_write_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 0 ctl r cs_dsp_get_ctl
DATA_SOURCE 2 buf $4
DATA_SOURCE 3 len $5
LOCK2 _T->lock

drivers/firmware/cirrus/cs_dsp.c cs_dsp_coeff_lock_and_write_ctrl() -> cs_dsp_coeff_write_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
USER_DATA 2 *buf s64min-s64max
USER_DATA 3 len 8-s32max[c]
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_wseq_write() -> cs_dsp_coeff_write_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 1 off 0-16383
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 len 4
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
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

drivers/firmware/cirrus/cs_dsp.c cs_dsp_wseq_write() -> cs_dsp_coeff_write_ctrl()

Type Parameter Key Value
PARAM_VALUE 1 off 0-16383
PARAM_VALUE 2 buf 1640912909973516288
PARAM_VALUE 3 len 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 buf 12
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
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_perform_calibration() -> cs_dsp_coeff_write_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 5879436561314029568
PARAM_VALUE 2 *buf 0
PARAM_VALUE 3 len 4
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
LOCK2 _T->lock

sound/soc/codecs/cs-amp-lib.c cs_amp_write_cal_coeff() -> cs_dsp_coeff_write_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 2571977896735100928
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