sound/soc/mediatek/mt8186/mt8186-reg.h
Source file repositories/reference/linux-study-clean/sound/soc/mediatek/mt8186/mt8186-reg.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/mediatek/mt8186/mt8186-reg.h- Extension
.h- Size
- 106596 bytes
- Lines
- 2914
- 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.
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _MT8186_REG_H_
#define _MT8186_REG_H_
/* reg bit enum */
enum {
MT8186_MEMIF_PBUF_SIZE_32_BYTES,
MT8186_MEMIF_PBUF_SIZE_64_BYTES,
MT8186_MEMIF_PBUF_SIZE_128_BYTES,
MT8186_MEMIF_PBUF_SIZE_256_BYTES,
MT8186_MEMIF_PBUF_SIZE_NUM,
};
/*****************************************************************************
* R E G I S T E R D E F I N I T I O N
*****************************************************************************/
/* AUDIO_TOP_CON0 */
#define RESERVED_SFT 31
#define RESERVED_MASK_SFT BIT(31)
#define AHB_IDLE_EN_INT_SFT 30
#define AHB_IDLE_EN_INT_MASK_SFT BIT(30)
#define AHB_IDLE_EN_EXT_SFT 29
#define AHB_IDLE_EN_EXT_MASK_SFT BIT(29)
#define PDN_NLE_SFT 28
#define PDN_NLE_MASK_SFT BIT(28)
#define PDN_TML_SFT 27
#define PDN_TML_MASK_SFT BIT(27)
#define PDN_DAC_PREDIS_SFT 26
#define PDN_DAC_PREDIS_MASK_SFT BIT(26)
#define PDN_DAC_SFT 25
#define PDN_DAC_MASK_SFT BIT(25)
#define PDN_ADC_SFT 24
#define PDN_ADC_MASK_SFT BIT(24)
#define PDN_TDM_CK_SFT 20
#define PDN_TDM_CK_MASK_SFT BIT(20)
#define PDN_APLL_TUNER_SFT 19
#define PDN_APLL_TUNER_MASK_SFT BIT(19)
#define PDN_APLL2_TUNER_SFT 18
#define PDN_APLL2_TUNER_MASK_SFT BIT(18)
#define APB3_SEL_SFT 14
#define APB3_SEL_MASK_SFT BIT(14)
#define APB_R2T_SFT 13
#define APB_R2T_MASK_SFT BIT(13)
#define APB_W2T_SFT 12
#define APB_W2T_MASK_SFT BIT(12)
#define PDN_24M_SFT 9
#define PDN_24M_MASK_SFT BIT(9)
#define PDN_22M_SFT 8
#define PDN_22M_MASK_SFT BIT(8)
#define PDN_AFE_SFT 2
#define PDN_AFE_MASK_SFT BIT(2)
/* AUDIO_TOP_CON1 */
#define PDN_3RD_DAC_HIRES_SFT 31
#define PDN_3RD_DAC_HIRES_MASK_SFT BIT(31)
#define PDN_3RD_DAC_TML_SFT 30
#define PDN_3RD_DAC_TML_MASK_SFT BIT(30)
#define PDN_3RD_DAC_PREDIS_SFT 29
#define PDN_3RD_DAC_PREDIS_MASK_SFT BIT(29)
#define PDN_3RD_DAC_SFT 28
#define PDN_3RD_DAC_MASK_SFT BIT(28)
#define I2S_SOFT_RST5_SFT 22
#define I2S_SOFT_RST5_MASK_SFT BIT(22)
#define PDN_ADDA6_ADC_HIRES_SFT 21
#define PDN_ADDA6_ADC_HIRES_MASK_SFT BIT(21)
#define PDN_ADDA6_ADC_SFT 20
#define PDN_ADDA6_ADC_MASK_SFT BIT(20)
#define PDN_ADC_HIRES_TML_SFT 17
#define PDN_ADC_HIRES_TML_MASK_SFT BIT(17)
#define PDN_ADC_HIRES_SFT 16
#define PDN_ADC_HIRES_MASK_SFT BIT(16)
#define PDN_DAC_HIRES_SFT 15
#define PDN_DAC_HIRES_MASK_SFT BIT(15)
#define PDN_GENERAL2_ASRC_SFT 14
#define PDN_GENERAL2_ASRC_MASK_SFT BIT(14)
#define PDN_GENERAL1_ASRC_SFT 13
#define PDN_GENERAL1_ASRC_MASK_SFT BIT(13)
#define PDN_CONNSYS_I2S_ASRC_SFT 12
#define PDN_CONNSYS_I2S_ASRC_MASK_SFT BIT(12)
#define I2S4_BCLK_SW_CG_SFT 7
#define I2S4_BCLK_SW_CG_MASK_SFT BIT(7)
#define I2S3_BCLK_SW_CG_SFT 6
#define I2S3_BCLK_SW_CG_MASK_SFT BIT(6)
#define I2S2_BCLK_SW_CG_SFT 5
#define I2S2_BCLK_SW_CG_MASK_SFT BIT(5)
#define I2S1_BCLK_SW_CG_SFT 4
#define I2S1_BCLK_SW_CG_MASK_SFT BIT(4)
#define I2S_SOFT_RST2_SFT 2
#define I2S_SOFT_RST2_MASK_SFT BIT(2)
#define I2S_SOFT_RST_SFT 1
#define I2S_SOFT_RST_MASK_SFT BIT(1)
Annotation
- Atlas domain: Driver Families / sound/soc.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.