linux/sound/pci/oxygen/cs2000.h

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

#define CS2000_DEV_ID
#define CS2000_DEV_CTRL
#define CS2000_DEV_CFG_1
#define CS2000_DEV_CFG_2
#define CS2000_GLOBAL_CFG
#define CS2000_RATIO_0
#define CS2000_RATIO_1
#define CS2000_RATIO_2
#define CS2000_RATIO_3
#define CS2000_FUN_CFG_1
#define CS2000_FUN_CFG_2
#define CS2000_FUN_CFG_3

/* DEV_ID */
#define CS2000_DEVICE_MASK
#define CS2000_REVISION_MASK

/* DEV_CTRL */
#define CS2000_UNLOCK
#define CS2000_AUX_OUT_DIS
#define CS2000_CLK_OUT_DIS

/* DEV_CFG_1 */
#define CS2000_R_MOD_SEL_MASK
#define CS2000_R_MOD_SEL_1
#define CS2000_R_MOD_SEL_2
#define CS2000_R_MOD_SEL_4
#define CS2000_R_MOD_SEL_8
#define CS2000_R_MOD_SEL_1_2
#define CS2000_R_MOD_SEL_1_4
#define CS2000_R_MOD_SEL_1_8
#define CS2000_R_MOD_SEL_1_16
#define CS2000_R_SEL_MASK
#define CS2000_R_SEL_SHIFT
#define CS2000_AUX_OUT_SRC_MASK
#define CS2000_AUX_OUT_SRC_REF_CLK
#define CS2000_AUX_OUT_SRC_CLK_IN
#define CS2000_AUX_OUT_SRC_CLK_OUT
#define CS2000_AUX_OUT_SRC_PLL_LOCK
#define CS2000_EN_DEV_CFG_1

/* DEV_CFG_2 */
#define CS2000_LOCK_CLK_MASK
#define CS2000_LOCK_CLK_SHIFT
#define CS2000_FRAC_N_SRC_MASK
#define CS2000_FRAC_N_SRC_STATIC
#define CS2000_FRAC_N_SRC_DYNAMIC

/* GLOBAL_CFG */
#define CS2000_FREEZE
#define CS2000_EN_DEV_CFG_2

/* FUN_CFG_1 */
#define CS2000_CLK_SKIP_EN
#define CS2000_AUX_LOCK_CFG_MASK
#define CS2000_AUX_LOCK_CFG_PP_HIGH
#define CS2000_AUX_LOCK_CFG_OD_LOW
#define CS2000_REF_CLK_DIV_MASK
#define CS2000_REF_CLK_DIV_4
#define CS2000_REF_CLK_DIV_2
#define CS2000_REF_CLK_DIV_1

/* FUN_CFG_2 */
#define CS2000_CLK_OUT_UNL
#define CS2000_L_F_RATIO_CFG_MASK
#define CS2000_L_F_RATIO_CFG_20_12
#define CS2000_L_F_RATIO_CFG_12_20

/* FUN_CFG_3 */
#define CS2000_CLK_IN_BW_MASK
#define CS2000_CLK_IN_BW_1
#define CS2000_CLK_IN_BW_2
#define CS2000_CLK_IN_BW_4
#define CS2000_CLK_IN_BW_8
#define CS2000_CLK_IN_BW_16
#define CS2000_CLK_IN_BW_32
#define CS2000_CLK_IN_BW_64
#define CS2000_CLK_IN_BW_128

#endif