Documented in 1 files:
Defined in 1 files as a function:
Referenced in 14 files:
- include/sound/pcm.h, line 1454
- include/trace/events/asoc.h, line 216
- sound/core/pcm_timer.c, line 111
- sound/drivers/aloop.c, line 1007
- sound/pci/pcxhr/pcxhr_mix22.c, line 509
- sound/soc/codecs/hda.c
- sound/soc/fsl/lpc3xxx-i2s.c, line 191
- sound/soc/renesas/rcar/msiof.c, line 311
- sound/soc/soc-dapm.c, line 3074
- sound/soc/soc-pcm.c
- sound/soc/sof/intel/hda-stream.c, line 257
- sound/soc/sof/pcm.c, line 85
- sound/soc/stm/stm32_i2s.c
- sound/soc/tegra/tegra210_i2s.c
Smatch caller information:
sound/pci/pcxhr/pcxhr_mix22.c hr222_update_analog_audio_level() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| FUZZY_MAX | 0 | direction | 1 |
| HARD_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/mediatek/mt8365/mt8365-dai-pcm.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/sof/pcm.c sof_pcm_setup_connected_widgets() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/hda.c hda_codec_create_dais() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/codecs/hda.c hda_codec_create_dais() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/soc/soc-dapm.c dapm_update_dai_unlocked() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/lpc3xxx-i2s.c lpc3xxx_i2s_hw_params() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/soc/renesas/rcar/msiof.c msiof_hw_stop() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &priv->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct msiof_priv)->lock |
sound/soc/soc-pcm.c dpcm_be_connect() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $2 |
| FUZZY_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_dai_startup() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_dai_stop() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/soc-pcm.c dpcm_be_disconnect() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_disconnect() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_reparent() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_create_debugfs_state() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| FUZZY_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_path_get() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_path_get() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_prune_paths() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| FUZZY_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/soc-pcm.c dpcm_run_update_shutdown() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| FUZZY_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/soc-pcm.c dpcm_run_update_startup() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| FUZZY_MAX | 0 | direction | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/mediatek/mt8365/mt8365-dai-adda.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/drivers/aloop.c loopback_snd_timer_dpcm_info() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/soc/sof/intel/hda-stream.c _hda_dsp_stream_get() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | direction | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/stm/stm32_i2s.c stm32_i2s_trigger() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|
sound/soc/stm/stm32_i2s.c stm32_i2s_trigger() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/tegra/tegra210_i2s.c tegra210_i2s_init() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| FUZZY_MAX | 0 | direction | 1 |
| HARD_MAX | 0 | direction | 1 |
sound/soc/tegra/tegra210_i2s.c tegra210_i2s_sw_reset() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | direction | 0-1 |
| DATA_SOURCE | 0 | direction | $1 |
| HARD_MAX | 0 | direction | 1 |
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/core/pcm_timer.c snd_pcm_timer_init() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
sound/soc/intel/avs/pcm.c snd_pcm_stream_str() -> snd_pcm_direction_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |