Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c, line 63
- sound/core/pcm.c, line 1102
- sound/core/pcm_lib.c
- sound/core/pcm_native.c
- sound/drivers/aloop.c, line 453
- sound/i2c/other/ak4113.c, line 600
- sound/i2c/other/ak4114.c, line 580
- sound/i2c/other/ak4117.c, line 494
- sound/soc/intel/avs/ipc.c, line 130
- sound/soc/qcom/lpass-platform.c, line 1003
- sound/soc/sti/uniperif_player.c
- sound/soc/sti/uniperif_reader.c, line 69
- sound/soc/stm/stm32_spdifrx.c, line 741
- sound/soc/ti/omap-hdmi.c, line 55
- sound/usb/usx2y/us144mkii_playback.c
Smatch caller information:
sound/i2c/other/ak4117.c snd_ak4117_check_rate_and_errors() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->self_group.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->self_group.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | substream->self_group.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | state | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/ti/omap-hdmi.c hdmi_dai_abort() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | state | 8 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/soc/intel/avs/ipc.c avs_dsp_recovery() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| PARAM_VALUE | 1 | state | 8 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/core/pcm.c snd_pcm_dev_disconnect() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | state | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/i2c/other/ak4114.c snd_ak4114_check_rate_and_errors() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->self_group.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->self_group.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | substream->self_group.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | state | 5 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/soc/stm/stm32_spdifrx.c stm32_spdifrx_isr() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | state | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &spdifrx->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct stm32_spdifrx_data)->irq_lock |
sound/drivers/aloop.c loopback_check_format() -> snd_pcm_stop()
| 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 | 3 |
| PARAM_VALUE | 1 | state | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->control | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 2-3,6 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->twake | 1-u64max |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->twake | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 0 | substream->runtime->state | 3 |
| FUZZY_MAX | 0 | substream->runtime->twake | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count | 33-4294967295[c] |
| USER_DATA | 0 | substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count | 33-4294967295[c] |
| 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_lib.c __snd_pcm_xrun() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | state | 4 |
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| 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 |
| UNITS | 0 | substream | unit_byte |
| 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_native.c snd_pcm_drain() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-6,8-s32max |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->group | 1 |
| CAPPED_DATA | 0 | &substream->group->substreams | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| 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 |
sound/core/pcm_native.c snd_pcm_drop() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 0 | substream->runtime->state | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| USER_DATA | 0 | substream->f_flags | 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 |
sound/core/pcm_native.c snd_pcm_prepare() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->private_data->elapsed_period.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->private_data->stopped | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->data_subs | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->lowlatency_playback | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->prepare_data_urb | 0,4049760685819678720 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->retire_data_urb | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->state.counter | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->sync_sink | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->dma_chan->completed_cookie | 1 |
| PARAM_VALUE | 0 | substream->runtime->private_data->dma_chan->cookie | 1 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->data_subs | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->lowlatency_playback | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->prepare_data_urb | 0,4049760685819678720 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->retire_data_urb | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->state.counter | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->sync_sink | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.entry.pprev | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.flags | 0-4294967295 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_tstamp_latched | 0 |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| 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 |
sound/soc/qcom/lpass-platform.c lpass_dma_interrupt_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 8 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c bcm2835_playback_fifo() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1,4 |
| FUZZY_MAX | 1 | state | 4 |
| BIT_INFO | 1 | state | 0x0,0x5 |
| HARD_MAX | 1 | state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/i2c/other/ak4113.c snd_ak4113_check_rate_and_errors() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->self_group.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->self_group.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | substream->self_group.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | state | 5 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/soc/sti/uniperif_player.c uni_player_irq_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &player->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |
sound/soc/sti/uniperif_player.c uni_player_irq_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| LOCK2 | &player->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |
sound/soc/sti/uniperif_player.c uni_player_irq_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| LOCK2 | &player->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |
sound/soc/sti/uniperif_reader.c uni_reader_irq_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &reader->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |
sound/usb/usx2y/us144mkii_playback.c tascam_stop_pcm_work_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | state | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/usb/usx2y/us144mkii_playback.c tascam_stop_pcm_work_handler() -> snd_pcm_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | state | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |