linux/sound/soc/atmel/atmel-pdmic.h

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

#include <linux/bitops.h>

#define PDMIC_CR

#define PDMIC_CR_SWRST
#define PDMIC_CR_SWRST_MASK
#define PDMIC_CR_SWRST_SHIFT

#define PDMIC_CR_ENPDM_DIS
#define PDMIC_CR_ENPDM_EN
#define PDMIC_CR_ENPDM_MASK
#define PDMIC_CR_ENPDM_SHIFT

#define PDMIC_MR

#define PDMIC_MR_CLKS_PCK
#define PDMIC_MR_CLKS_GCK
#define PDMIC_MR_CLKS_MASK
#define PDMIC_MR_CLKS_SHIFT

#define PDMIC_MR_PRESCAL_MASK
#define PDMIC_MR_PRESCAL_SHIFT

#define PDMIC_CDR

#define PDMIC_IER
#define PDMIC_IER_OVRE

#define PDMIC_IDR
#define PDMIC_IDR_OVRE

#define PDMIC_IMR

#define PDMIC_ISR
#define PDMIC_ISR_OVRE

#define PDMIC_DSPR0

#define PDMIC_DSPR0_HPFBYP_DIS
#define PDMIC_DSPR0_HPFBYP_EN
#define PDMIC_DSPR0_HPFBYP_MASK
#define PDMIC_DSPR0_HPFBYP_SHIFT

#define PDMIC_DSPR0_SINBYP_DIS
#define PDMIC_DSPR0_SINBYP_EN
#define PDMIC_DSPR0_SINBYP_MASK
#define PDMIC_DSPR0_SINBYP_SHIFT

#define PDMIC_DSPR0_SIZE_16_BITS
#define PDMIC_DSPR0_SIZE_32_BITS
#define PDMIC_DSPR0_SIZE_MASK
#define PDMIC_DSPR0_SIZE_SHIFT

#define PDMIC_DSPR0_OSR_128
#define PDMIC_DSPR0_OSR_64
#define PDMIC_DSPR0_OSR_MASK
#define PDMIC_DSPR0_OSR_SHIFT

#define PDMIC_DSPR0_SCALE_MASK
#define PDMIC_DSPR0_SCALE_SHIFT

#define PDMIC_DSPR0_SHIFT_MASK
#define PDMIC_DSPR0_SHIFT_SHIFT

#define PDMIC_DSPR1

#define PDMIC_DSPR1_DGAIN_MASK
#define PDMIC_DSPR1_DGAIN_SHIFT

#define PDMIC_DSPR1_OFFSET_MASK
#define PDMIC_DSPR1_OFFSET_SHIFT

#define PDMIC_WPMR

#define PDMIC_WPSR

#endif