Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/firmware/cirrus/cs_dsp.c, line 870
- drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
- drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c
- sound/soc/codecs/wm_adsp.c
Smatch caller information:
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_reapply_after_fw_reload() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_reapply_after_fw_swap() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_reapply_every_run() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_write_after_stop() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_write_before_run() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_write_not_current_fw() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_sync_write_while_running() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_not_current_loaded_fw() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_not_current_running_fw() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_not_started() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_powered_down() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_stopped() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_stopped_powered_down() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_unchanged_not_started() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_write_unchanged_not_started() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_writethrough() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_writethrough_unchanged() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c cs_dsp_ctl_cache_writethrough_unchanged() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
sound/soc/codecs/wm_adsp.c wm_coeff_put() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| BUF_SIZE | 2 | buf | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 2 | buf | |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/wm_adsp.c wm_coeff_tlv_put() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-s32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 2 | buf | r vmemdup_user |
| DATA_SOURCE | 3 | len | $2 |
| USER_DATA | 2 | *buf | s64min-s64max |
| USER_DATA | 3 | len | 8-s32max[c] |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
| USER_PTR | 2 | buf | |
| HALF_LOCKED2 | _T->lock |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_read_from_writeonly() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| UNITS | 3 | len | unit_byte |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_cache_truncated() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 48 |
| BUF_SIZE | 2 | buf | 48 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_cache_truncated() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 4,8-47 |
| BUF_SIZE | 2 | buf | 48 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| FUZZY_MAX | 3 | len | 47 |
| HARD_MAX | 3 | len | 47 |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_cache_with_seek() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 48 |
| BUF_SIZE | 2 | buf | 48 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_cache_with_seek() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 1-11 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 4-44 |
| BUF_SIZE | 2 | buf | 48 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| FUZZY_MAX | 1 | off | 11 |
| FUZZY_MAX | 3 | len | 44 |
| HARD_MAX | 1 | off | 11 |
| HARD_MAX | 3 | len | 44 |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_running() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_to_readonly() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_to_readonly() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_truncated() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 4,8-47 |
| BUF_SIZE | 2 | buf | 48 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| FUZZY_MAX | 3 | len | 47 |
| HARD_MAX | 3 | len | 47 |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_volatile_not_current_loaded_fw() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_volatile_not_current_running_fw() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_volatile_not_started() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_volatile_stopped() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_volatile_stopped_powered_down() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_length_overflow() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_length_overflow() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_seek() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 1-11 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 4-44 |
| BUF_SIZE | 2 | buf | 48 |
| DATA_SOURCE | 2 | buf | r kunit_kmalloc |
| FUZZY_MAX | 1 | off | 11 |
| FUZZY_MAX | 3 | len | 44 |
| HARD_MAX | 1 | off | 11 |
| HARD_MAX | 3 | len | 44 |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_seek_and_length_oob() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 1 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_seek_and_length_oob() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 1 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| UNITS | 3 | len | unit_byte |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_seek_oob() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 1-u64max |
| PARAM_VALUE | 1 | off | 0-1073741823 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| PARAM_COMPARE | 3 | len | > $1 |
| UNITS | 3 | len | unit_byte |
| ELEM_COUNT | 2 | ==buf1 | 8051 |
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c cs_dsp_ctl_write_with_seek_oob() -> cs_dsp_coeff_lock_and_write_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctl->dsp | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctl->dsp->pwr_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | off | 0-1073741823 |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| BUF_SIZE | 2 | buf | 0-u32max |
| DATA_SOURCE | 2 | buf | r kunit_kzalloc |
| PARAM_COMPARE | 3 | len | > $1 |
| UNITS | 3 | len | unit_byte |
| ELEM_COUNT | 2 | ==buf1 | 8051 |