Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- sound/hda/common/controller.c, line 173
- sound/hda/core/device.c, line 775
- sound/soc/codecs/hda-dai.c, line 86
- sound/soc/codecs/hdac_hda.c, line 227
- sound/soc/codecs/hdac_hdmi.c, line 476
- sound/soc/intel/avs/pcm.c
- sound/soc/sof/intel/hda-dai-ops.c
Smatch caller information:
sound/soc/codecs/hdac_hdmi.c hdac_hdmi_set_hw_params() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subformat | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/hda-dai.c hda_codec_dai_prepare() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/hdac_hda.c hdac_hda_dai_hw_params() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subformat | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/sof/intel/hda-dai-ops.c dmic_calc_stream_format() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | s32min-1,3-s32max |
| PARAM_VALUE | 1 | subformat | 0 |
| PARAM_VALUE | 2 | maxbits | 3-5,8,16,24,32,64,4294967274 |
| FUZZY_MAX | 0 | format | 10 |
| FUZZY_MAX | 2 | maxbits | 32 |
| BIT_INFO | 2 | maxbits | 0x0,0x7f |
| 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_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subformat | 0 |
| PARAM_VALUE | 2 | maxbits | 3-5,8,16,24,32,64,4294967274 |
| BIT_INFO | 0 | format | 0x0,0x7fffffff |
| BIT_INFO | 2 | maxbits | 0x0,0x7f |
| 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_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subformat | 0 |
| 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_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/intel/avs/pcm.c avs_dai_hda_be_prepare() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | format | 0x0,0x7fffffff |
| BIT_INFO | 1 | subformat | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/hda/common/controller.c azx_pcm_prepare() -> snd_hdac_stream_format_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subformat | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &azx_dev->core.dsp_mutex | ||
| TYPE_LOCK | (struct hdac_stream)->dsp_mutex |