sound/soc/mediatek/mt6797/mt6797-reg.h

Source file repositories/reference/linux-study-clean/sound/soc/mediatek/mt6797/mt6797-reg.h

File Facts

System
Linux kernel
Corpus path
sound/soc/mediatek/mt6797/mt6797-reg.h
Extension
.h
Size
57695 bytes
Lines
1016
Domain
Driver Families
Bucket
sound/soc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _MT6797_REG_H_
#define _MT6797_REG_H_

#define AUDIO_TOP_CON0            0x0000
#define AUDIO_TOP_CON1            0x0004
#define AUDIO_TOP_CON3            0x000c
#define AFE_DAC_CON0              0x0010
#define AFE_DAC_CON1              0x0014
#define AFE_I2S_CON               0x0018
#define AFE_DAIBT_CON0            0x001c
#define AFE_CONN0                 0x0020
#define AFE_CONN1                 0x0024
#define AFE_CONN2                 0x0028
#define AFE_CONN3                 0x002c
#define AFE_CONN4                 0x0030
#define AFE_I2S_CON1              0x0034
#define AFE_I2S_CON2              0x0038
#define AFE_MRGIF_CON             0x003c
#define AFE_DL1_BASE              0x0040
#define AFE_DL1_CUR               0x0044
#define AFE_DL1_END               0x0048
#define AFE_I2S_CON3              0x004c
#define AFE_DL2_BASE              0x0050
#define AFE_DL2_CUR               0x0054
#define AFE_DL2_END               0x0058
#define AFE_CONN5                 0x005c
#define AFE_CONN_24BIT            0x006c
#define AFE_AWB_BASE              0x0070
#define AFE_AWB_END               0x0078
#define AFE_AWB_CUR               0x007c
#define AFE_VUL_BASE              0x0080
#define AFE_VUL_END               0x0088
#define AFE_VUL_CUR               0x008c
#define AFE_DAI_BASE              0x0090
#define AFE_DAI_END               0x0098
#define AFE_DAI_CUR               0x009c
#define AFE_CONN6                 0x00bc
#define AFE_MEMIF_MSB             0x00cc
#define AFE_MEMIF_MON0            0x00d0
#define AFE_MEMIF_MON1            0x00d4
#define AFE_MEMIF_MON2            0x00d8
#define AFE_MEMIF_MON4            0x00e0
#define AFE_ADDA_DL_SRC2_CON0     0x0108
#define AFE_ADDA_DL_SRC2_CON1     0x010c
#define AFE_ADDA_UL_SRC_CON0      0x0114
#define AFE_ADDA_UL_SRC_CON1      0x0118
#define AFE_ADDA_TOP_CON0         0x0120
#define AFE_ADDA_UL_DL_CON0       0x0124
#define AFE_ADDA_SRC_DEBUG        0x012c
#define AFE_ADDA_SRC_DEBUG_MON0   0x0130
#define AFE_ADDA_SRC_DEBUG_MON1   0x0134
#define AFE_ADDA_NEWIF_CFG0       0x0138
#define AFE_ADDA_NEWIF_CFG1       0x013c
#define AFE_ADDA_NEWIF_CFG2       0x0140
#define AFE_DMA_CTL               0x0150
#define AFE_DMA_MON0              0x0154
#define AFE_DMA_MON1              0x0158
#define AFE_SIDETONE_DEBUG        0x01d0
#define AFE_SIDETONE_MON          0x01d4
#define AFE_SIDETONE_CON0         0x01e0
#define AFE_SIDETONE_COEFF        0x01e4
#define AFE_SIDETONE_CON1         0x01e8
#define AFE_SIDETONE_GAIN         0x01ec
#define AFE_SGEN_CON0             0x01f0
#define AFE_SINEGEN_CON_TDM       0x01fc
#define AFE_TOP_CON0              0x0200
#define AFE_ADDA_PREDIS_CON0      0x0260
#define AFE_ADDA_PREDIS_CON1      0x0264
#define AFE_MRGIF_MON0            0x0270
#define AFE_MRGIF_MON1            0x0274
#define AFE_MRGIF_MON2            0x0278
#define AFE_I2S_MON               0x027c
#define AFE_MOD_DAI_BASE          0x0330
#define AFE_MOD_DAI_END           0x0338
#define AFE_MOD_DAI_CUR           0x033c
#define AFE_VUL_D2_BASE           0x0350
#define AFE_VUL_D2_END            0x0358
#define AFE_VUL_D2_CUR            0x035c
#define AFE_DL3_BASE              0x0360
#define AFE_DL3_CUR               0x0364
#define AFE_DL3_END               0x0368
#define AFE_HDMI_OUT_CON0         0x0370
#define AFE_HDMI_BASE             0x0374
#define AFE_HDMI_CUR              0x0378
#define AFE_HDMI_END              0x037c
#define AFE_HDMI_CONN0            0x0390
#define AFE_IRQ3_MCU_CNT_MON      0x0398
#define AFE_IRQ4_MCU_CNT_MON      0x039c
#define AFE_IRQ_MCU_CON           0x03a0
#define AFE_IRQ_MCU_STATUS        0x03a4

Annotation

Implementation Notes