linux/drivers/usb/gadget/function/u_uac2.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * u_uac2.h
 *
 * Utility definitions for UAC2 function
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * Author: Andrzej Pietrasiewicz <[email protected]>
 */

#ifndef U_UAC2_H
#define U_UAC2_H

#include <linux/usb/composite.h>
#include "uac_common.h"

#define UAC2_DEF_PCHMASK
#define UAC2_DEF_PSRATE
#define UAC2_DEF_PSSIZE
#define UAC2_DEF_PHSBINT
#define UAC2_DEF_CCHMASK
#define UAC2_DEF_CSRATE
#define UAC2_DEF_CSSIZE
#define UAC2_DEF_CHSBINT
#define UAC2_DEF_CSYNC

#define UAC2_DEF_MUTE_PRESENT
#define UAC2_DEF_VOLUME_PRESENT
#define UAC2_DEF_MIN_DB
#define UAC2_DEF_MAX_DB
#define UAC2_DEF_RES_DB

#define UAC2_DEF_REQ_NUM
#define UAC2_DEF_INT_REQ_NUM

#define UAC2_DEF_P_TERM_TYPE
	/* UAC_OUTPUT_TERMINAL_SPEAKER */
#define UAC2_DEF_C_TERM_TYPE
	/* UAC_INPUT_TERMINAL_MICROPHONE*/

struct f_uac2_opts {};

#endif