Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- sound/soc/fsl/fsl_asrc_dma.c, line 222
- sound/soc/intel/avs/avs.h, line 345
- sound/soc/soc-component.c, line 67
- sound/soc/soc-generic-dmaengine-pcm.c
- sound/soc/soc-topology-test.c
Smatch caller information:
sound/soc/intel/avs/topology.c avs_manifest() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_audio_format_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_binding_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_modcfg_base_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_modcfg_ext_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_nhlt_config_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_parse_pplcfg_ptr() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_audio_formats() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_bindings() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_condpath_templates() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_initial_configs() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_libraries() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_modcfgs_base() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_modcfgs_ext() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_nhlt_configs() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_tplg_parse_pplcfgs() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| PARAM_VALUE | 0 | component->priv | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/topology.c avs_widget_load() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/path.c avs_path_module_send_init_configs() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->comp_list_mutex | ||
| HALF_LOCKED2 | &adev->path_mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/fsl/fsl_asrc_dma.c fsl_asrc_dma_hw_params() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| BUF_SIZE | 0 | component->driver->name | (-1),18 |
| CAPPED_DATA | 0 | component->dev | 1 |
| CAPPED_DATA | 0 | component->driver->name | 1 |
| DATA_SOURCE | 0 | component | r snd_soc_lookup_component_nolocked |
| STR_LEN | 0 | component->driver->name | (-1),17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_copy() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_compat_request_channel() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_hw_params() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_new() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_open() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | component->mark_open->f_flags | 0-u32max |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_pointer() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | irq |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_set_runtime_hwparams() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/soc-generic-dmaengine-pcm.c snd_dmaengine_pcm_unregister() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| CAPPED_DATA | 0 | component->dev | 1 |
| DATA_SOURCE | 0 | component | r snd_soc_lookup_component |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_dev->mutex |
sound/soc/soc-topology-test.c d_probe() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| CAPPED_DATA | 0 | component->driver->num_dapm_widgets | 1 |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-topology-test.c d_probe_null_comp() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| CAPPED_DATA | 0 | component->driver->num_dapm_widgets | 1 |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-topology-test.c d_probe_null_fw() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| CAPPED_DATA | 0 | component->driver->num_dapm_widgets | 1 |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-topology-test.c d_remove() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex |
sound/soc/intel/avs/pcm.c avs_component_probe() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| CAPPED_DATA | 0 | component->driver->num_dapm_widgets | 1 |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/intel/avs/pcm.c avs_component_remove() -> snd_soc_component_to_priv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | component | 4096-ptr_max |
| DATA_SOURCE | 0 | component | $0 |
| STR_LEN | 0 | component->card->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | component->card->num_of_dapm_routes | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex |