1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ATMEL_CLASSD_H_ 3 #define __ATMEL_CLASSD_H_ 4 5 #define CLASSD_CR 0x00000000 6 #define CLASSD_CR_RESET 0x1 7 8 #define CLASSD_MR 0x0000 9 10 #define CLASSD_MR_LEN_DIS 0x0 11 #define CLASSD_MR_LEN_EN 0x1 12 #define CLASSD_MR_LEN_MASK (0x1 < 13 #define CLASSD_MR_LEN_SHIFT (0) 14 15 #define CLASSD_MR_LMUTE_DIS 0x0 16 #define CLASSD_MR_LMUTE_EN 0x1 17 #define CLASSD_MR_LMUTE_SHIFT (0x1) 18 #define CLASSD_MR_LMUTE_MASK (0x1 < 19 20 #define CLASSD_MR_REN_DIS 0x0 21 #define CLASSD_MR_REN_EN 0x1 22 #define CLASSD_MR_REN_MASK (0x1 < 23 #define CLASSD_MR_REN_SHIFT (4) 24 25 #define CLASSD_MR_RMUTE_DIS 0x0 26 #define CLASSD_MR_RMUTE_EN 0x1 27 #define CLASSD_MR_RMUTE_SHIFT (0x5) 28 #define CLASSD_MR_RMUTE_MASK (0x1 < 29 30 #define CLASSD_MR_PWMTYP_SINGLE 0x0 31 #define CLASSD_MR_PWMTYP_DIFF 0x1 32 #define CLASSD_MR_PWMTYP_MASK (0x1 < 33 #define CLASSD_MR_PWMTYP_SHIFT (8) 34 35 #define CLASSD_MR_NON_OVERLAP_DIS 0x0 36 #define CLASSD_MR_NON_OVERLAP_EN 0x1 37 #define CLASSD_MR_NON_OVERLAP_MASK (0x1 < 38 #define CLASSD_MR_NON_OVERLAP_SHIFT (16) 39 40 #define CLASSD_MR_NOVR_VAL_5NS 0x0 41 #define CLASSD_MR_NOVR_VAL_10NS 0x1 42 #define CLASSD_MR_NOVR_VAL_15NS 0x2 43 #define CLASSD_MR_NOVR_VAL_20NS 0x3 44 #define CLASSD_MR_NOVR_VAL_MASK (0x3 < 45 #define CLASSD_MR_NOVR_VAL_SHIFT (20) 46 47 #define CLASSD_INTPMR 48 49 #define CLASSD_INTPMR_ATTL_MASK 50 #define CLASSD_INTPMR_ATTL_SHIFT 51 #define CLASSD_INTPMR_ATTR_MASK 52 #define CLASSD_INTPMR_ATTR_SHIFT 53 54 #define CLASSD_INTPMR_DSP_CLK_FREQ_12M288 55 #define CLASSD_INTPMR_DSP_CLK_FREQ_11M2896 56 #define CLASSD_INTPMR_DSP_CLK_FREQ_MASK 57 #define CLASSD_INTPMR_DSP_CLK_FREQ_SHIFT 58 59 #define CLASSD_INTPMR_DEEMP_DIS 60 #define CLASSD_INTPMR_DEEMP_EN 61 #define CLASSD_INTPMR_DEEMP_MASK 62 #define CLASSD_INTPMR_DEEMP_SHIFT 63 64 #define CLASSD_INTPMR_SWAP_LEFT_ON_LSB 65 #define CLASSD_INTPMR_SWAP_RIGHT_ON_LSB 66 #define CLASSD_INTPMR_SWAP_MASK 67 #define CLASSD_INTPMR_SWAP_SHIFT 68 69 #define CLASSD_INTPMR_FRAME_8K 70 #define CLASSD_INTPMR_FRAME_16K 71 #define CLASSD_INTPMR_FRAME_32K 72 #define CLASSD_INTPMR_FRAME_48K 73 #define CLASSD_INTPMR_FRAME_96K 74 #define CLASSD_INTPMR_FRAME_22K 75 #define CLASSD_INTPMR_FRAME_44K 76 #define CLASSD_INTPMR_FRAME_88K 77 #define CLASSD_INTPMR_FRAME_MASK 78 #define CLASSD_INTPMR_FRAME_SHIFT 79 80 #define CLASSD_INTPMR_EQCFG_FLAT 81 #define CLASSD_INTPMR_EQCFG_B_BOOST_12 82 #define CLASSD_INTPMR_EQCFG_B_BOOST_6 83 #define CLASSD_INTPMR_EQCFG_B_CUT_12 84 #define CLASSD_INTPMR_EQCFG_B_CUT_6 85 #define CLASSD_INTPMR_EQCFG_M_BOOST_3 86 #define CLASSD_INTPMR_EQCFG_M_BOOST_8 87 #define CLASSD_INTPMR_EQCFG_M_CUT_3 88 #define CLASSD_INTPMR_EQCFG_M_CUT_8 89 #define CLASSD_INTPMR_EQCFG_T_BOOST_12 90 #define CLASSD_INTPMR_EQCFG_T_BOOST_6 91 #define CLASSD_INTPMR_EQCFG_T_CUT_12 92 #define CLASSD_INTPMR_EQCFG_T_CUT_6 93 #define CLASSD_INTPMR_EQCFG_SHIFT 94 95 #define CLASSD_INTPMR_MONO_DIS 96 #define CLASSD_INTPMR_MONO_EN 97 #define CLASSD_INTPMR_MONO_MASK 98 #define CLASSD_INTPMR_MONO_SHIFT 99 100 #define CLASSD_INTPMR_MONO_MODE_MIX 101 #define CLASSD_INTPMR_MONO_MODE_SAT 102 #define CLASSD_INTPMR_MONO_MODE_LEFT 103 #define CLASSD_INTPMR_MONO_MODE_RIGHT 104 #define CLASSD_INTPMR_MONO_MODE_MASK 105 #define CLASSD_INTPMR_MONO_MODE_SHIFT 106 107 #define CLASSD_INTSR 0x0000000c 108 109 #define CLASSD_THR 0x00000010 110 111 #define CLASSD_IER 0x00000014 112 113 #define CLASSD_IDR 0x00000018 114 115 #define CLASSD_IMR 0x0000001c 116 117 #define CLASSD_ISR 0x00000020 118 119 #define CLASSD_WPMR 0x000000e4 120 121 #endif 122
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.