/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * Copyright(c) 2018 Intel Corporation */ #ifndef __INCLUDE_SOUND_SOF_CONTROL_H__ #define __INCLUDE_SOUND_SOF_CONTROL_H__ #include <uapi/sound/sof/header.h> #include <sound/sof/header.h> /* * Component Mixers and Controls */ /* channel positions - uses same values as ALSA */ enum sof_ipc_chmap { … }; /* control data type and direction */ enum sof_ipc_ctrl_type { … }; /* control command type */ enum sof_ipc_ctrl_cmd { … }; /* generic channel mapped value data */ struct sof_ipc_ctrl_value_chan { … } __packed; /* generic component mapped value data */ struct sof_ipc_ctrl_value_comp { … } __packed; /* generic control data */ struct sof_ipc_ctrl_data { … } __packed; /** Event type */ enum sof_ipc_ctrl_event_type { … }; /** * Generic notification data. */ struct sof_ipc_comp_event { … } __packed; #endif