Documented in 1 files:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/usb/gadget/function/u_audio.c, line 188
- sound/core/pcm.c, line 1101
- sound/core/pcm_lib.c
- sound/core/pcm_native.c
- sound/i2c/other/ak4113.c, line 599
- sound/i2c/other/ak4114.c, line 579
- sound/i2c/other/ak4117.c, line 493
- sound/mips/snd-n64.c
- sound/pcmcia/pdaudiocf/pdaudiocf_irq.c, line 255
- sound/sh/aica.c
- sound/soc/atmel/atmel-pcm-dma.c, line 61
- sound/soc/dwc/dwc-pcm.c, line 102
- sound/soc/intel/keembay/kmb_platform.c, line 231
- sound/soc/renesas/rcar/core.c, line 261
- sound/soc/ti/omap-hdmi.c, line 52
- sound/soc/xtensa/xtfpga-i2s.c
Smatch caller information:
sound/i2c/other/ak4117.c snd_ak4117_check_rate_and_errors() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/ti/omap-hdmi.c hdmi_dai_abort() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| LOCK2 | _T->lock |
sound/soc/dwc/dwc-pcm.c dw_pcm_transfer() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
sound/soc/renesas/rcar/core.c rsnd_io_is_working() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct rsnd_priv)->lock |
sound/core/pcm.c snd_pcm_dev_disconnect() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| LOCK2 | _T->lock |
sound/pcmcia/pdaudiocf/pdaudiocf_irq.c pdacf_threaded_irq() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/u_audio.c u_audio_iso_complete() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |
sound/soc/intel/keembay/kmb_platform.c kmb_pcm_operation() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
sound/i2c/other/ak4114.c snd_ak4114_check_rate_and_errors() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
sound/soc/atmel/atmel-pcm-dma.c atmel_pcm_dma_irq() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| DATA_SOURCE | 0 | substream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
sound/core/pcm_lib.c snd_pcm_lib_ioctl_reset() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_lib.c snd_pcm_period_elapsed_under_stream_lock() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/core/pcm_native.c snd_pcm_do_stop() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_suspend() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_status64() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | substream | unit_byte |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c snd_pcm_status64() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| UNITS | 0 | substream | unit_byte |
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c snd_pcm_stop_xrun() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | substream | unit_byte |
| HALF_LOCKED2 | &i2s->irq_lock | ||
| HALF_LOCKED2 | &sai->irq_lock | ||
| HALF_LOCKED2 | &spdifrx->irq_lock | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c snd_pcm_sw_params() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 0 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_native.c snd_pcm_undo_resume() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/soc/xtensa/xtfpga-i2s.c xtfpga_i2s_threaded_irq_handler() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
sound/soc/xtensa/xtfpga-i2s.c xtfpga_pcm_push_tx() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
sound/i2c/other/ak4113.c snd_ak4113_check_rate_and_errors() -> snd_pcm_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |