sound/soc/codecs/wm8993.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/wm8993.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/wm8993.h- Extension
.h- Size
- 130342 bytes
- Lines
- 2140
- 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 WM8993_H
#define WM8993_H
#define WM8993_SYSCLK_MCLK 1
#define WM8993_SYSCLK_FLL 2
#define WM8993_FLL_MCLK 1
#define WM8993_FLL_BCLK 2
#define WM8993_FLL_LRCLK 3
/*
* Register values.
*/
#define WM8993_SOFTWARE_RESET 0x00
#define WM8993_POWER_MANAGEMENT_1 0x01
#define WM8993_POWER_MANAGEMENT_2 0x02
#define WM8993_POWER_MANAGEMENT_3 0x03
#define WM8993_AUDIO_INTERFACE_1 0x04
#define WM8993_AUDIO_INTERFACE_2 0x05
#define WM8993_CLOCKING_1 0x06
#define WM8993_CLOCKING_2 0x07
#define WM8993_AUDIO_INTERFACE_3 0x08
#define WM8993_AUDIO_INTERFACE_4 0x09
#define WM8993_DAC_CTRL 0x0A
#define WM8993_LEFT_DAC_DIGITAL_VOLUME 0x0B
#define WM8993_RIGHT_DAC_DIGITAL_VOLUME 0x0C
#define WM8993_DIGITAL_SIDE_TONE 0x0D
#define WM8993_ADC_CTRL 0x0E
#define WM8993_LEFT_ADC_DIGITAL_VOLUME 0x0F
#define WM8993_RIGHT_ADC_DIGITAL_VOLUME 0x10
#define WM8993_GPIO_CTRL_1 0x12
#define WM8993_GPIO1 0x13
#define WM8993_IRQ_DEBOUNCE 0x14
#define WM8993_INPUTS_CLAMP_REG 0x15
#define WM8993_GPIOCTRL_2 0x16
#define WM8993_GPIO_POL 0x17
#define WM8993_LEFT_LINE_INPUT_1_2_VOLUME 0x18
#define WM8993_LEFT_LINE_INPUT_3_4_VOLUME 0x19
#define WM8993_RIGHT_LINE_INPUT_1_2_VOLUME 0x1A
#define WM8993_RIGHT_LINE_INPUT_3_4_VOLUME 0x1B
#define WM8993_LEFT_OUTPUT_VOLUME 0x1C
#define WM8993_RIGHT_OUTPUT_VOLUME 0x1D
#define WM8993_LINE_OUTPUTS_VOLUME 0x1E
#define WM8993_HPOUT2_VOLUME 0x1F
#define WM8993_LEFT_OPGA_VOLUME 0x20
#define WM8993_RIGHT_OPGA_VOLUME 0x21
#define WM8993_SPKMIXL_ATTENUATION 0x22
#define WM8993_SPKMIXR_ATTENUATION 0x23
#define WM8993_SPKOUT_MIXERS 0x24
#define WM8993_SPKOUT_BOOST 0x25
#define WM8993_SPEAKER_VOLUME_LEFT 0x26
#define WM8993_SPEAKER_VOLUME_RIGHT 0x27
#define WM8993_INPUT_MIXER2 0x28
#define WM8993_INPUT_MIXER3 0x29
#define WM8993_INPUT_MIXER4 0x2A
#define WM8993_INPUT_MIXER5 0x2B
#define WM8993_INPUT_MIXER6 0x2C
#define WM8993_OUTPUT_MIXER1 0x2D
#define WM8993_OUTPUT_MIXER2 0x2E
#define WM8993_OUTPUT_MIXER3 0x2F
#define WM8993_OUTPUT_MIXER4 0x30
#define WM8993_OUTPUT_MIXER5 0x31
#define WM8993_OUTPUT_MIXER6 0x32
#define WM8993_HPOUT2_MIXER 0x33
#define WM8993_LINE_MIXER1 0x34
#define WM8993_LINE_MIXER2 0x35
#define WM8993_SPEAKER_MIXER 0x36
#define WM8993_ADDITIONAL_CONTROL 0x37
#define WM8993_ANTIPOP1 0x38
#define WM8993_ANTIPOP2 0x39
#define WM8993_MICBIAS 0x3A
#define WM8993_FLL_CONTROL_1 0x3C
#define WM8993_FLL_CONTROL_2 0x3D
#define WM8993_FLL_CONTROL_3 0x3E
#define WM8993_FLL_CONTROL_4 0x3F
#define WM8993_FLL_CONTROL_5 0x40
#define WM8993_CLOCKING_3 0x41
#define WM8993_CLOCKING_4 0x42
#define WM8993_MW_SLAVE_CONTROL 0x43
#define WM8993_BUS_CONTROL_1 0x45
#define WM8993_WRITE_SEQUENCER_0 0x46
#define WM8993_WRITE_SEQUENCER_1 0x47
#define WM8993_WRITE_SEQUENCER_2 0x48
#define WM8993_WRITE_SEQUENCER_3 0x49
#define WM8993_WRITE_SEQUENCER_4 0x4A
#define WM8993_WRITE_SEQUENCER_5 0x4B
#define WM8993_CHARGE_PUMP_1 0x4C
#define WM8993_CLASS_W_0 0x51
#define WM8993_DC_SERVO_0 0x54
#define WM8993_DC_SERVO_1 0x55
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.