/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _Q6_VOICE_H #define _Q6_VOICE_H enum q6voice_path_type { Q6VOICE_PATH_VOICE = 0, Q6VOICE_PATH_VOIP = 1, Q6VOICE_PATH_VOLTE = 2, Q6VOICE_PATH_VOICE2 = 3, Q6VOICE_PATH_QCHAT = 4, Q6VOICE_PATH_VOWLAN = 5, Q6VOICE_PATH_VOICEMMODE1 = 6, Q6VOICE_PATH_VOICEMMODE2 = 7, Q6VOICE_PATH_COUNT }; struct q6voice; struct q6voice *q6voice_create(struct device *dev, bool cvd_v2_3); int q6voice_start(struct q6voice *v, enum q6voice_path_type path, bool capture); int q6voice_stop(struct q6voice *v, enum q6voice_path_type path, bool capture); int q6voice_get_port(struct q6voice *v, enum q6voice_path_type path, bool capture); void q6voice_set_port(struct q6voice *v, enum q6voice_path_type path, bool capture, int index); u32 q6voice_get_topology(struct q6voice *v, enum q6voice_path_type path, bool capture); void q6voice_set_topology(struct q6voice *v, enum q6voice_path_type path, bool capture, u32 topo); #endif /*_Q6_VOICE_H */