Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- include/sound/hda_codec.h, line 464
- sound/hda/codecs/generic.c, line 5617
- sound/hda/common/codec.c, line 1191
Smatch caller information:
sound/hda/codecs/hdmi/hdmi.c snd_hda_hdmi_generic_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/ca0132.c ca0132_capture_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/ca0132.c ca0132_playback_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 1 | nid | 2-4 |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c alt_capture_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c alt_playback_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c capture_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c dyn_adc_capture_pcm_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c dyn_adc_pcm_resetup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.bus->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->spec->paths.used | 1-4294967295 |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | do_now | 1 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | codec | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | codec->core.bus->corb.addr | |
| NO_OVERFLOW_SIMPLE | 0 | codec->core.num_nodes | |
| UNITS | 0 | codec | unit_byte |
sound/hda/common/codec.c cleanup_dig_out_stream() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| DATA_SOURCE | 1 | nid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/hda/common/codec.c cleanup_dig_out_stream() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 0 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | codec->follower_dig_outs | 1-u64max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/hda/common/codec.c hda_pcm_default_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nid | unit_array_size |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/common/codec.c snd_hda_multi_out_analog_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/common/codec.c snd_hda_multi_out_analog_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/common/codec.c snd_hda_multi_out_analog_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/common/codec.c snd_hda_multi_out_analog_cleanup() -> __snd_hda_codec_cleanup_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | nid | 1-u16max |
| PARAM_VALUE | 2 | do_now | 0 |
| DATA_SOURCE | 0 | codec | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |