// SPDX-License-Identifier: GPL-2.0-only // // Copyright(c) 2021-2022 Intel Corporation // // Authors: Amadeusz Slawinski <[email protected]> // Cezary Rojewski <[email protected]> // #include <sound/soc.h> #include "avs.h" #include "control.h" #include "messages.h" #include "path.h" static struct avs_dev *avs_get_kcontrol_adev(struct snd_kcontrol *kcontrol) { … } static struct avs_path_module *avs_get_volume_module(struct avs_dev *adev, u32 id) { … } int avs_control_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { … } int avs_control_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { … }