Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/codecs/hda-dai.c hda_codec_dai_hw_free() -> snd_hda_codec_cleanup()

Type Parameter Key Value
PARAM_VALUE 2 substream 4096-ptr_max
BUF_SIZE 1 hinfo s32min-(-2),1-s32max
BUF_SIZE 1 hinfo s32min-(-2),1-s32max
DATA_SOURCE 1 hinfo r snd_soc_dai_dma_data_get
DATA_SOURCE 2 substream $0
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
UNITS 0 codec unit_byte
USER_PTR 2 substream->runtime->oss.buffer

sound/soc/codecs/hdac_hda.c hdac_hda_dai_hw_free() -> snd_hda_codec_cleanup()

Type Parameter Key Value
DATA_SOURCE 2 substream $0
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

sound/hda/common/controller.c azx_pcm_hw_free() -> snd_hda_codec_cleanup()

Type Parameter Key Value
PARAM_VALUE 2 substream 4096-ptr_max
PARAM_VALUE 2 substream->ops 4096-ptr_max
PARAM_VALUE 2 substream->ops->hw_free 1-u64max
PARAM_VALUE 2 substream->private_data 4096-ptr_max
PARAM_VALUE 2 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 2 substream->private_data->stopped 0
PARAM_VALUE 2 substream->runtime 4096-ptr_max
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 2 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 2 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 2 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 2 substream->runtime->stop_operating 0
CAPPED_DATA 2 substream 1
DATA_SOURCE 1 hinfo r to_hda_pcm_stream
DATA_SOURCE 2 substream $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 substream->f_flags 0-u32max
LOCK2 &azx_dev->core.dsp_mutex
HALF_LOCKED2 &runtime->buffer_mutex
TYPE_LOCK (struct hdac_stream)->dsp_mutex