Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_free_comp_asrc() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_free_comp_mixer() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_free_comp_pga() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_free_comp_process() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_free_comp_src() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_asrc() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_dai() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
PARAM_VALUE 0 available_fmt->changed_params 0,2
PARAM_VALUE 0 available_fmt->input_pin_fmts 4096-ptr_max
PARAM_VALUE 0 available_fmt->num_input_formats 0-s32max
PARAM_VALUE 0 available_fmt->output_pin_fmts 4096-ptr_max
BUF_SIZE 0 available_fmt 32
CAPPED_DATA 0 available_fmt->num_input_formats 1
CAPPED_DATA 0 available_fmt->num_output_formats 1
BIT_INFO 0 available_fmt->changed_params 0x0,0x2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_mixer() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_pga() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_process() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
PARAM_VALUE 0 available_fmt->changed_params 0,2,1024,1026,2048,2050,3072,3074
PARAM_VALUE 0 available_fmt->input_pin_fmts 4096-ptr_max
PARAM_VALUE 0 available_fmt->num_input_formats 0-s32max
PARAM_VALUE 0 available_fmt->output_pin_fmts 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_comp_src() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

sound/soc/sof/ipc4-topology.c sof_ipc4_widget_setup_pcm() -> sof_ipc4_free_audio_fmt()

Type Parameter Key Value
PARAM_VALUE 0 available_fmt 4096-ptr_max
PARAM_VALUE 0 available_fmt->changed_params 0,2
PARAM_VALUE 0 available_fmt->input_pin_fmts 4096-ptr_max
PARAM_VALUE 0 available_fmt->num_input_formats 0-s32max
PARAM_VALUE 0 available_fmt->output_pin_fmts 4096-ptr_max
BUF_SIZE 0 available_fmt 32
CAPPED_DATA 0 available_fmt->num_input_formats 1
CAPPED_DATA 0 available_fmt->num_output_formats 1
BIT_INFO 0 available_fmt->changed_params 0x0,0x2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 available_fmt->num_input_formats
NO_OVERFLOW_SIMPLE 0 available_fmt->num_output_formats
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex