~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/atmel/atmel-classd.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/atmel/atmel-classd.h (Version linux-6.12-rc7) and /sound/soc/atmel/atmel-classd.h (Version linux-4.11.12)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php