sound/soc/codecs/aw88081.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/aw88081.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/aw88081.h- Extension
.h- Size
- 10019 bytes
- Lines
- 330
- 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
// SPDX-License-Identifier: GPL-2.0-only
//
// aw88081.h -- AW88081 ALSA SoC Audio driver
//
// Copyright (c) 2024 awinic Technology CO., LTD
//
// Author: Weidong Wang <wangweidong.a@awinic.com>
//
#ifndef __AW88081_H__
#define __AW88081_H__
#define AW88081_ID_REG (0x00)
#define AW88081_SYSST_REG (0x01)
#define AW88081_SYSINT_REG (0x02)
#define AW88081_SYSINTM_REG (0x03)
#define AW88081_SYSCTRL_REG (0x04)
#define AW88081_SYSCTRL2_REG (0x05)
#define AW88081_I2SCTRL1_REG (0x06)
#define AW88081_I2SCTRL2_REG (0x07)
#define AW88081_I2SCTRL3_REG (0x08)
#define AW88081_DACCFG1_REG (0x09)
#define AW88081_DACCFG2_REG (0x0A)
#define AW88081_DACCFG3_REG (0x0B)
#define AW88081_DACCFG4_REG (0x0C)
#define AW88081_DACCFG5_REG (0x0D)
#define AW88081_DACCFG6_REG (0x0E)
#define AW88081_DACCFG7_REG (0x11)
#define AW88081_PWMCTRL1_REG (0x13)
#define AW88081_PWMCTRL2_REG (0x14)
#define AW88081_PWMCTRL3_REG (0x15)
#define AW88081_PWMCTRL4_REG (0x16)
#define AW88081_I2SCFG1_REG (0x17)
#define AW88081_DBGCTRL_REG (0x18)
#define AW88081_PDMCTRL_REG (0x19)
#define AW88081_DACST_REG (0x20)
#define AW88081_PATTERNST_REG (0x21)
#define AW88081_I2SINT_REG (0x26)
#define AW88081_I2SCAPCNT_REG (0x27)
#define AW88081_ANASTA1_REG (0x28)
#define AW88081_ANASTA2_REG (0x29)
#define AW88081_ANASTA3_REG (0x2A)
#define AW88081_VBAT_REG (0x21)
#define AW88081_TEMP_REG (0x22)
#define AW88081_PVDD_REG (0x23)
#define AW88081_ISNDAT_REG (0x24)
#define AW88081_VSNDAT_REG (0x25)
#define AW88081_DSMCFG1_REG (0x30)
#define AW88081_DSMCFG2_REG (0x31)
#define AW88081_DSMCFG3_REG (0x32)
#define AW88081_DSMCFG4_REG (0x33)
#define AW88081_DSMCFG5_REG (0x34)
#define AW88081_DSMCFG6_REG (0x35)
#define AW88081_DSMCFG7_REG (0x36)
#define AW88081_DSMCFG8_REG (0x37)
#define AW88081_TESTIN_REG (0x38)
#define AW88081_TESTOUT_REG (0x39)
#define AW88081_BOPCTRL1_REG (0x40)
#define AW88081_BOPCTRL2_REG (0x41)
#define AW88081_BOPCTRL3_REG (0x42)
#define AW88081_BOPSTA_REG (0x43)
#define AW88081_PLLCTRL1_REG (0x54)
#define AW88081_PLLCTRL2_REG (0x55)
#define AW88081_PLLCTRL3_REG (0x56)
#define AW88081_CDACTRL1_REG (0x57)
#define AW88081_CDACTRL2_REG (0x58)
#define AW88081_CDACTRL3_REG (0x59)
#define AW88081_DITHERCFG1_REG (0x5A)
#define AW88081_DITHERCFG2_REG (0x5B)
#define AW88081_DITHERCFG3_REG (0x5C)
#define AW88081_TM_REG (0x6E)
#define AW88081_TM2_REG (0x6F)
#define AW88081_TESTCTRL1_REG (0x70)
#define AW88081_TESTCTRL2_REG (0x71)
#define AW88081_REG_MAX (0x72)
#define AW88081_UVLS_START_BIT (14)
#define AW88081_UVLS_UVLO (1)
#define AW88081_UVLS_UVLO_VALUE \
(AW88081_UVLS_UVLO << AW88081_UVLS_START_BIT)
#define AW88081_SWS_START_BIT (8)
#define AW88081_SWS_SWITCHING (1)
#define AW88081_SWS_SWITCHING_VALUE \
(AW88081_SWS_SWITCHING << AW88081_SWS_START_BIT)
#define AW88081_NOCLKS_START_BIT (5)
#define AW88081_NOCLKS_NO_CLOCK (1)
#define AW88081_NOCLKS_NO_CLOCK_VALUE \
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.