Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

sound/soc/intel/avs/icl.c avs_icl_load_basefw() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 1
PARAM_VALUE 1 bits 32
PARAM_VALUE 2 rate 48000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

sound/soc/codecs/hdac_hdmi.c hdac_hdmi_set_hw_params() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING

sound/hda/codecs/hdmi/intelhdmi.c silent_stream_enable_i915() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 2
PARAM_VALUE 1 bits 16
PARAM_VALUE 2 rate 48000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

sound/soc/intel/avs/probes.c avs_probe_compr_set_params() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 1-u32max
PARAM_VALUE 1 bits 3-5,8,16,24,32,64
DATA_SOURCE 1 bits r snd_pcm_format_physical_width
USER_DATA 0 channels 1-u32max
USER_DATA 2 rate 0-u32max
LOCK2 _T->lock
HALF_LOCKED2 &fe->card->mutex

sound/soc/codecs/hda-dai.c hda_codec_dai_prepare() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING

sound/soc/codecs/hdac_hda.c hdac_hda_dai_hw_params() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING

sound/hda/core/device.c snd_hdac_spdif_stream_format() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 0 channels $0
DATA_SOURCE 1 bits $1
DATA_SOURCE 2 rate $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 channels unit_byte
LOCK2 &azx_dev->core.dsp_mutex
TYPE_LOCK (struct hdac_stream)->dsp_mutex

sound/hda/codecs/ca0132.c dma_convert_to_hda_format() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 0-16
PARAM_VALUE 1 bits 32
PARAM_VALUE 2 rate 48000,96000,192000
DATA_SOURCE 0 channels $2
DATA_SOURCE 2 rate $1
FUZZY_MAX 0 channels 16
FUZZY_MAX 2 rate 48000
HARD_MAX 0 channels 16
RX_PATH
TASK_NOT_RUNNING

sound/soc/sof/intel/hda-dai-ops.c dmic_calc_stream_format() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/sof/intel/hda-dai-ops.c generic_calc_stream_format() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/sof/intel/hda-dai-ops.c hda_calc_stream_format() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex

sound/soc/intel/avs/pcm.c avs_dai_fe_prepare() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING

sound/soc/intel/avs/pcm.c avs_dai_hda_be_prepare() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 1 bits 1-4294967274
CAPPED_DATA 1 bits 1
DATA_SOURCE 1 bits r snd_hdac_stream_format_bits
RX_PATH
TASK_NOT_RUNNING

sound/soc/intel/avs/loader.c avs_hda_load_basefw() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 1
PARAM_VALUE 1 bits 32
PARAM_VALUE 2 rate 48000
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

sound/soc/intel/avs/loader.c avs_hda_load_library() -> snd_hdac_stream_format()

Type Parameter Key Value
PARAM_VALUE 0 channels 1
PARAM_VALUE 1 bits 32
PARAM_VALUE 2 rate 48000
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &card->mutex