Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/hda/codecs/generic.c alt_playback_pcm_cleanup() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.cleanup | 4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 3 | action | 2 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hinfo->nid | 1 |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c alt_playback_pcm_close() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 3 | action | 3 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hinfo | 1 |
| CAPPED_DATA | 2 | substream | 1 |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &chip->open_mutex |
sound/hda/codecs/generic.c alt_playback_pcm_open() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 3 | action | 0 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &chip->open_mutex |
sound/hda/codecs/generic.c alt_playback_pcm_prepare() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.prepare | 4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 2 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.buffer | 0 |
| PARAM_VALUE | 2 | substream->runtime->oss.buffer_bytes | 0-9223372036854775807 |
| PARAM_VALUE | 2 | substream->runtime->oss.channels | 0-128 |
| PARAM_VALUE | 2 | substream->runtime->oss.fragshift | 0-24 |
| PARAM_VALUE | 2 | substream->runtime->oss.maxfrags | 0-u16max |
| PARAM_VALUE | 2 | substream->runtime->oss.period_bytes | 0,16-1048576 |
| PARAM_VALUE | 2 | substream->runtime->oss.period_frames | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->oss.rate | 0,1000-192000 |
| PARAM_VALUE | 2 | substream->runtime->oss.subdivision | 0-2,4,8,16 |
| PARAM_VALUE | 2 | substream->runtime->oss.sync_trigger | 0 |
| PARAM_VALUE | 3 | action | 1 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |
sound/hda/codecs/generic.c playback_pcm_cleanup() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.cleanup | 4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 1 | *codec->follower_dig_outs | 0 |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 3 | action | 2 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 2 | substream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex |
sound/hda/codecs/generic.c playback_pcm_close() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.close | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 3 | action | 3 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hinfo | 1 |
| CAPPED_DATA | 2 | substream | 1 |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &chip->open_mutex |
sound/hda/codecs/generic.c playback_pcm_open() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.bus->rirb.rp | 0-65534 |
| PARAM_VALUE | 1 | codec->core.bus->rirb.wp | 0-65534 |
| PARAM_VALUE | 1 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 3 | action | 0 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream->runtime | (-1),1344 |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &chip->open_mutex |
sound/hda/codecs/generic.c playback_pcm_prepare() -> call_pcm_playback_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | hinfo->ops.prepare | 4096-ptr_max |
| PARAM_VALUE | 1 | codec | 4096-ptr_max |
| PARAM_VALUE | 1 | codec->core->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.regmap->async | 0-1 |
| PARAM_VALUE | 1 | codec->core.regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | codec->core.regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 1 | codec->core.regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | codec->spec | 4096-ptr_max |
| PARAM_VALUE | 1 | *codec->follower_dig_outs | 0 |
| PARAM_VALUE | 2 | substream | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 2 | substream->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 2 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 2 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 2 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 2 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 2 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 2 | substream->runtime->oss.buffer | 0 |
| PARAM_VALUE | 2 | substream->runtime->oss.buffer_bytes | 0-9223372036854775807 |
| PARAM_VALUE | 2 | substream->runtime->oss.channels | 0-128 |
| PARAM_VALUE | 2 | substream->runtime->oss.fragshift | 0-24 |
| PARAM_VALUE | 2 | substream->runtime->oss.maxfrags | 0-u16max |
| PARAM_VALUE | 2 | substream->runtime->oss.period_bytes | 0,16-1048576 |
| PARAM_VALUE | 2 | substream->runtime->oss.period_frames | 0-1 |
| PARAM_VALUE | 2 | substream->runtime->oss.rate | 0,1000-192000 |
| PARAM_VALUE | 2 | substream->runtime->oss.subdivision | 0-2,4,8,16 |
| PARAM_VALUE | 2 | substream->runtime->oss.sync_trigger | 0 |
| PARAM_VALUE | 3 | action | 1 |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hinfo | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hinfo | $0 |
| DATA_SOURCE | 1 | codec | $1 |
| DATA_SOURCE | 2 | substream | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | substream->f_flags | 0-u32max |
| USER_DATA | 2 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 2 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 2 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 2 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 2 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 2 | substream->runtime->oss.buffer | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &azx_dev->core.dsp_mutex | ||
| HALF_LOCKED2 | 2 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 2 | &substream->self_group.lock | |
| HALF_LOCKED2 | 2 | &substream->self_group.mutex |