Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/usb/qcom/qc_audio_offload.c enable_audio_stream() -> snd_usb_hw_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->cur_audiofmt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->opened | 1 |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip->intf | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->pcm | 1-u64max |
| PARAM_VALUE | 1 | hw_params | 4915381875828178944 |
| PARAM_VALUE | 1 | hw_params->flags | 0 |
| PARAM_VALUE | 1 | hw_params->info | u32max |
| PARAM_VALUE | 1 | hw_params->msbits | 0 |
| PARAM_VALUE | 1 | hw_params->rate_den | 0 |
| PARAM_VALUE | 1 | hw_params->rate_num | 0 |
| DATA_SOURCE | 0 | subs | $0 |
| MEM_ZERO | 1 | hw_params | |
| LOCK2 | &pool->lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | global &qdev_mutex | ||
| HALF_LOCKED2 | &txn->lock |
sound/usb/pcm.c snd_usb_pcm_hw_params() -> snd_usb_hw_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hw_params | 4096-ptr_max |
| PARAM_VALUE | 1 | hw_params->info | 0-1073741823 |
| PARAM_VALUE | 1 | hw_params->rmask | 0 |
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | hw_params | (-1),608 |
| BUF_SIZE | 1 | hw_params | (-1),608 |
| DATA_SOURCE | 1 | hw_params | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | hw_params->cmask | 0-u32max |
| USER_DATA | 1 | hw_params->flags | 0-u32max |
| USER_DATA | 1 | hw_params->msbits | 0-u32max |
| USER_DATA | 1 | hw_params->rate_den | 0-u32max |
| USER_DATA | 1 | hw_params->rate_num | 0-u32max |
| UNITS | 0 | subs | unit_byte |
| USER_PTR | 1 | hw_params | |
| USER_PTR | 1 | hw_params->intervals | |
| USER_PTR | 1 | hw_params->ires | |
| USER_PTR | 1 | hw_params->masks | |
| USER_PTR | 1 | hw_params->mres | |
| USER_PTR | 1 | hw_params->reserved | |
| LOCK2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |