linux/sound/soc/qcom/qdsp6/q6adm.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __Q6_ADM_V2_H__
#define __Q6_ADM_V2_H__

#define ADM_PATH_PLAYBACK
#define ADM_PATH_LIVE_REC
#define MAX_COPPS_PER_PORT
#define NULL_COPP_TOPOLOGY

/* multiple copp per stream. */
struct route_payload {};

struct q6copp;
struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate,
			   int channel_mode, int topology, int perf_mode,
			   uint16_t bit_width, int app_type, int acdb_id);
int q6adm_close(struct device *dev, struct q6copp *copp);
int q6adm_get_copp_id(struct q6copp *copp);
int q6adm_matrix_map(struct device *dev, int path,
		     struct route_payload payload_map, int perf_mode);

#endif /* __Q6_ADM_V2_H__ */