Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/soc/codecs/wm_adsp.c wm_adsp_buffer_get_error() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 field_offset 11
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dsp->cs_dsp.pwr_lock
HALF_LOCKED2 _T->lock

sound/soc/codecs/wm_adsp.c wm_adsp_buffer_populate() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->avail 0
PARAM_VALUE 0 buf->dsp 4096-ptr_max
PARAM_VALUE 0 buf->host_buf_ptr 1-u32max
PARAM_VALUE 0 buf->irq_count u32max
PARAM_VALUE 0 buf->read_index (-1)
PARAM_VALUE 0 buf->regions 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 buf 72
BUF_SIZE 0 buf->regions 48
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
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_buffer_populate() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->avail 0
PARAM_VALUE 0 buf->dsp 4096-ptr_max
PARAM_VALUE 0 buf->dsp->cs_dsp.num_mems 1-s32max
PARAM_VALUE 0 buf->dsp->cs_dsp.regmap->cache_dirty 0-1
PARAM_VALUE 0 buf->host_buf_mem_type 2-6,16-18
PARAM_VALUE 0 buf->host_buf_ptr 1-u32max
PARAM_VALUE 0 buf->irq_count u32max
PARAM_VALUE 0 buf->read_index (-1)
PARAM_VALUE 0 buf->regions 4096-ptr_max
PARAM_VALUE 2 data 591530422932545536
PARAM_VALUE 2 *data 0-16777215
BUF_SIZE 0 buf 72
BUF_SIZE 0 buf->regions 48
CAPPED_DATA 0 buf->dsp->cs_dsp.num_mems 1
CAPPED_DATA 0 buf->dsp->cs_dsp.regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 buf->dsp->cs_dsp.regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 buf->host_buf_mem_type 1
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
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_buffer_update_avail() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->error 0
PARAM_VALUE 0 buf->read_index s32min-(-1)
PARAM_VALUE 1 field_offset 10
PARAM_VALUE 2 data 4726365555389349888
DATA_SOURCE 0 buf $0
FUZZY_MAX 0 buf->read_index (-1)
HARD_MAX 0 buf->read_index (-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dsp->cs_dsp.pwr_lock
HALF_LOCKED2 _T->lock

sound/soc/codecs/wm_adsp.c wm_adsp_buffer_update_avail() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->error 0
PARAM_VALUE 0 buf->read_index 0-s32max
PARAM_VALUE 1 field_offset 9
PARAM_VALUE 2 data 1348011896683130880
DATA_SOURCE 0 buf $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dsp->cs_dsp.pwr_lock
HALF_LOCKED2 _T->lock

sound/soc/codecs/wm_adsp.c wm_adsp_compr_handle_irq() -> wm_adsp_buffer_read()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->dsp 4096-ptr_max
PARAM_VALUE 0 buf->dsp->cs_dsp.num_mems 1-s32max
PARAM_VALUE 0 buf->dsp->cs_dsp.regmap->cache_dirty 0-1
PARAM_VALUE 0 buf->error 0
PARAM_VALUE 0 buf->host_buf_mem_type 2-6,16-18
PARAM_VALUE 1 field_offset 7
PARAM_VALUE 2 data 4096-ptr_max
CAPPED_DATA 0 buf->dsp->cs_dsp.num_mems 1
CAPPED_DATA 0 buf->dsp->cs_dsp.regmap->rd_table->n_no_ranges 1
CAPPED_DATA 0 buf->dsp->cs_dsp.regmap->rd_table->n_yes_ranges 1
CAPPED_DATA 0 buf->host_buf_mem_type 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dsp->cs_dsp.pwr_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct cs_dsp)->pwr_lock