linux/sound/soc/qcom/qdsp6/q6dsp-common.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __Q6DSP_COMMON_H__
#define __Q6DSP_COMMON_H__

#include <linux/kernel.h>

#define PCM_MAX_NUM_CHANNEL
#define PCM_CHANNEL_NULL

#define PCM_CHANNEL_FL
#define PCM_CHANNEL_FR
#define PCM_CHANNEL_FC
#define PCM_CHANNEL_LS
#define PCM_CHANNEL_RS
#define PCM_CHANNEL_LFE
#define PCM_CHANNEL_CS
#define PCM_CHANNEL_LB
#define PCM_CHANNEL_RB
#define PCM_CHANNELS

int q6dsp_map_channels(u8 ch_map[PCM_MAX_NUM_CHANNEL], int ch);
int q6dsp_get_channel_allocation(int channels);

#endif /* __Q6DSP_COMMON_H__ */