brintos

brintos / linux-shallow public Read only

0
0
Text · 818 B · 4f56999 Raw
28 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __Q6_ADM_V2_H__3#define __Q6_ADM_V2_H__4 5#define ADM_PATH_PLAYBACK	0x16#define ADM_PATH_LIVE_REC	0x27#define MAX_COPPS_PER_PORT	88#define NULL_COPP_TOPOLOGY	0x000103129 10/* multiple copp per stream. */11struct route_payload {12	int num_copps;13	int session_id;14	int copp_idx[MAX_COPPS_PER_PORT];15	int port_id[MAX_COPPS_PER_PORT];16};17 18struct q6copp;19struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate,20			   int channel_mode, int topology, int perf_mode,21			   uint16_t bit_width, int app_type, int acdb_id);22int q6adm_close(struct device *dev, struct q6copp *copp);23int q6adm_get_copp_id(struct q6copp *copp);24int q6adm_matrix_map(struct device *dev, int path,25		     struct route_payload payload_map, int perf_mode);26 27#endif /* __Q6_ADM_V2_H__ */28