1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright(c) 2021-2022 Intel Corporation 3 * Copyright(c) 2021-2022 Intel Corporation 4 * 4 * 5 * Authors: Amadeusz Slawinski <amadeuszx.slaw 5 * Authors: Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com> 6 * Cezary Rojewski <cezary.rojewski@i 6 * Cezary Rojewski <cezary.rojewski@intel.com> 7 */ 7 */ 8 8 9 #ifndef __SOUND_SOC_INTEL_AVS_CTRL_H 9 #ifndef __SOUND_SOC_INTEL_AVS_CTRL_H 10 #define __SOUND_SOC_INTEL_AVS_CTRL_H 10 #define __SOUND_SOC_INTEL_AVS_CTRL_H 11 11 12 #include <sound/control.h> 12 #include <sound/control.h> 13 13 14 struct avs_control_data { 14 struct avs_control_data { 15 u32 id; 15 u32 id; 16 16 17 long volume; 17 long volume; 18 }; 18 }; 19 19 20 int avs_control_volume_get(struct snd_kcontrol 20 int avs_control_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); 21 int avs_control_volume_put(struct snd_kcontrol 21 int avs_control_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); 22 22 23 #endif 23 #endif 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.