linux/sound/soc/fsl/fsl_audmix.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * NXP AUDMIX ALSA SoC Digital Audio Interface (DAI) driver
 *
 * Copyright 2017 NXP
 */

#ifndef __FSL_AUDMIX_H
#define __FSL_AUDMIX_H

#define FSL_AUDMIX_FORMATS
/* AUDMIX Registers */
#define FSL_AUDMIX_CTR
#define FSL_AUDMIX_STR

#define FSL_AUDMIX_ATCR0
#define FSL_AUDMIX_ATIVAL0
#define FSL_AUDMIX_ATSTPUP0
#define FSL_AUDMIX_ATSTPDN0
#define FSL_AUDMIX_ATSTPTGT0
#define FSL_AUDMIX_ATTNVAL0
#define FSL_AUDMIX_ATSTP0

#define FSL_AUDMIX_ATCR1
#define FSL_AUDMIX_ATIVAL1
#define FSL_AUDMIX_ATSTPUP1
#define FSL_AUDMIX_ATSTPDN1
#define FSL_AUDMIX_ATSTPTGT1
#define FSL_AUDMIX_ATTNVAL1
#define FSL_AUDMIX_ATSTP1

/* AUDMIX Control Register */
#define FSL_AUDMIX_CTR_MIXCLK_SHIFT
#define FSL_AUDMIX_CTR_MIXCLK_MASK
#define FSL_AUDMIX_CTR_MIXCLK(i)
#define FSL_AUDMIX_CTR_OUTSRC_SHIFT
#define FSL_AUDMIX_CTR_OUTSRC_MASK
#define FSL_AUDMIX_CTR_OUTSRC(i)
#define FSL_AUDMIX_CTR_OUTWIDTH_SHIFT
#define FSL_AUDMIX_CTR_OUTWIDTH_MASK
#define FSL_AUDMIX_CTR_OUTWIDTH(i)
#define FSL_AUDMIX_CTR_OUTCKPOL_SHIFT
#define FSL_AUDMIX_CTR_OUTCKPOL_MASK
#define FSL_AUDMIX_CTR_OUTCKPOL(i)
#define FSL_AUDMIX_CTR_MASKRTDF_SHIFT
#define FSL_AUDMIX_CTR_MASKRTDF_MASK
#define FSL_AUDMIX_CTR_MASKRTDF(i)
#define FSL_AUDMIX_CTR_MASKCKDF_SHIFT
#define FSL_AUDMIX_CTR_MASKCKDF_MASK
#define FSL_AUDMIX_CTR_MASKCKDF(i)
#define FSL_AUDMIX_CTR_SYNCMODE_SHIFT
#define FSL_AUDMIX_CTR_SYNCMODE_MASK
#define FSL_AUDMIX_CTR_SYNCMODE(i)
#define FSL_AUDMIX_CTR_SYNCSRC_SHIFT
#define FSL_AUDMIX_CTR_SYNCSRC_MASK
#define FSL_AUDMIX_CTR_SYNCSRC(i)

/* AUDMIX Status Register */
#define FSL_AUDMIX_STR_RATEDIFF
#define FSL_AUDMIX_STR_CLKDIFF
#define FSL_AUDMIX_STR_MIXSTAT_SHIFT
#define FSL_AUDMIX_STR_MIXSTAT_MASK
#define FSL_AUDMIX_STR_MIXSTAT(i)
/* AUDMIX Attenuation Control Register */
#define FSL_AUDMIX_ATCR_AT_EN
#define FSL_AUDMIX_ATCR_AT_UPDN
#define FSL_AUDMIX_ATCR_ATSTPDIF_SHIFT
#define FSL_AUDMIX_ATCR_ATSTPDFI_MASK

/* AUDMIX Attenuation Initial Value Register */
#define FSL_AUDMIX_ATIVAL_ATINVAL_MASK

/* AUDMIX Attenuation Step Up Factor Register */
#define FSL_AUDMIX_ATSTPUP_ATSTEPUP_MASK

/* AUDMIX Attenuation Step Down Factor Register */
#define FSL_AUDMIX_ATSTPDN_ATSTEPDN_MASK

/* AUDMIX Attenuation Step Target Register */
#define FSL_AUDMIX_ATSTPTGT_ATSTPTG_MASK

/* AUDMIX Attenuation Value Register */
#define FSL_AUDMIX_ATTNVAL_ATCURVAL_MASK

/* AUDMIX Attenuation Step Number Register */
#define FSL_AUDMIX_ATSTP_STPCTR_MASK

#define FSL_AUDMIX_MAX_DAIS
struct fsl_audmix {};

#endif /* __FSL_AUDMIX_H */