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

TOMOYO Linux Cross Reference
Linux/sound/soc/mediatek/mt8173/mt8173-afe-common.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/mediatek/mt8173/mt8173-afe-common.h (Architecture m68k) and /sound/soc/mediatek/mt8173/mt8173-afe-common.h (Architecture alpha)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * mt8173_afe_common.h  --  Mediatek 8173 audi      3  * mt8173_afe_common.h  --  Mediatek 8173 audio driver common definitions
  4  *                                                  4  *
  5  * Copyright (c) 2015 MediaTek Inc.                 5  * Copyright (c) 2015 MediaTek Inc.
  6  * Author: Koro Chen <koro.chen@mediatek.com>       6  * Author: Koro Chen <koro.chen@mediatek.com>
  7  *             Sascha Hauer <s.hauer@pengutron      7  *             Sascha Hauer <s.hauer@pengutronix.de>
  8  *             Hidalgo Huang <hidalgo.huang@me      8  *             Hidalgo Huang <hidalgo.huang@mediatek.com>
  9  *             Ir Lian <ir.lian@mediatek.com>       9  *             Ir Lian <ir.lian@mediatek.com>
 10  */                                                10  */
 11                                                    11 
 12 #ifndef _MT8173_AFE_COMMON_H_                      12 #ifndef _MT8173_AFE_COMMON_H_
 13 #define _MT8173_AFE_COMMON_H_                      13 #define _MT8173_AFE_COMMON_H_
 14                                                    14 
 15 #include <linux/clk.h>                             15 #include <linux/clk.h>
 16 #include <linux/regmap.h>                          16 #include <linux/regmap.h>
 17                                                    17 
 18 enum {                                             18 enum {
 19         MT8173_AFE_MEMIF_DL1,                      19         MT8173_AFE_MEMIF_DL1,
 20         MT8173_AFE_MEMIF_DL2,                      20         MT8173_AFE_MEMIF_DL2,
 21         MT8173_AFE_MEMIF_VUL,                      21         MT8173_AFE_MEMIF_VUL,
 22         MT8173_AFE_MEMIF_DAI,                      22         MT8173_AFE_MEMIF_DAI,
 23         MT8173_AFE_MEMIF_AWB,                      23         MT8173_AFE_MEMIF_AWB,
 24         MT8173_AFE_MEMIF_MOD_DAI,                  24         MT8173_AFE_MEMIF_MOD_DAI,
 25         MT8173_AFE_MEMIF_HDMI,                     25         MT8173_AFE_MEMIF_HDMI,
 26         MT8173_AFE_MEMIF_NUM,                      26         MT8173_AFE_MEMIF_NUM,
 27         MT8173_AFE_IO_MOD_PCM1 = MT8173_AFE_ME     27         MT8173_AFE_IO_MOD_PCM1 = MT8173_AFE_MEMIF_NUM,
 28         MT8173_AFE_IO_MOD_PCM2,                    28         MT8173_AFE_IO_MOD_PCM2,
 29         MT8173_AFE_IO_PMIC,                        29         MT8173_AFE_IO_PMIC,
 30         MT8173_AFE_IO_I2S,                         30         MT8173_AFE_IO_I2S,
 31         MT8173_AFE_IO_2ND_I2S,                     31         MT8173_AFE_IO_2ND_I2S,
 32         MT8173_AFE_IO_HW_GAIN1,                    32         MT8173_AFE_IO_HW_GAIN1,
 33         MT8173_AFE_IO_HW_GAIN2,                    33         MT8173_AFE_IO_HW_GAIN2,
 34         MT8173_AFE_IO_MRG_O,                       34         MT8173_AFE_IO_MRG_O,
 35         MT8173_AFE_IO_MRG_I,                       35         MT8173_AFE_IO_MRG_I,
 36         MT8173_AFE_IO_DAIBT,                       36         MT8173_AFE_IO_DAIBT,
 37         MT8173_AFE_IO_HDMI,                        37         MT8173_AFE_IO_HDMI,
 38 };                                                 38 };
 39                                                    39 
 40 enum {                                             40 enum {
 41         MT8173_AFE_IRQ_DL1,                        41         MT8173_AFE_IRQ_DL1,
 42         MT8173_AFE_IRQ_DL2,                        42         MT8173_AFE_IRQ_DL2,
 43         MT8173_AFE_IRQ_VUL,                        43         MT8173_AFE_IRQ_VUL,
 44         MT8173_AFE_IRQ_DAI,                        44         MT8173_AFE_IRQ_DAI,
 45         MT8173_AFE_IRQ_AWB,                        45         MT8173_AFE_IRQ_AWB,
 46         MT8173_AFE_IRQ_MOD_DAI,                    46         MT8173_AFE_IRQ_MOD_DAI,
 47         MT8173_AFE_IRQ_HDMI,                       47         MT8173_AFE_IRQ_HDMI,
 48         MT8173_AFE_IRQ_NUM,                        48         MT8173_AFE_IRQ_NUM,
 49 };                                                 49 };
 50                                                    50 
 51 enum {                                             51 enum {
 52         MT8173_CLK_INFRASYS_AUD,                   52         MT8173_CLK_INFRASYS_AUD,
 53         MT8173_CLK_TOP_PDN_AUD,                    53         MT8173_CLK_TOP_PDN_AUD,
 54         MT8173_CLK_TOP_PDN_AUD_BUS,                54         MT8173_CLK_TOP_PDN_AUD_BUS,
 55         MT8173_CLK_I2S0_M,                         55         MT8173_CLK_I2S0_M,
 56         MT8173_CLK_I2S1_M,                         56         MT8173_CLK_I2S1_M,
 57         MT8173_CLK_I2S2_M,                         57         MT8173_CLK_I2S2_M,
 58         MT8173_CLK_I2S3_M,                         58         MT8173_CLK_I2S3_M,
 59         MT8173_CLK_I2S3_B,                         59         MT8173_CLK_I2S3_B,
 60         MT8173_CLK_BCK0,                           60         MT8173_CLK_BCK0,
 61         MT8173_CLK_BCK1,                           61         MT8173_CLK_BCK1,
 62         MT8173_CLK_NUM                             62         MT8173_CLK_NUM
 63 };                                                 63 };
 64                                                    64 
 65 #endif                                             65 #endif
 66                                                    66 

~ [ 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