sound/soc/codecs/rt1305.h

Source file repositories/reference/linux-study-clean/sound/soc/codecs/rt1305.h

File Facts

System
Linux kernel
Corpus path
sound/soc/codecs/rt1305.h
Extension
.h
Size
10335 bytes
Lines
274
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 _RT1305_H_
#define _RT1305_H_

#define RT1305_DEVICE_ID_NUM 0x6251

#define RT1305_RESET				0x00
#define RT1305_CLK_1				0x04
#define RT1305_CLK_2				0x05
#define RT1305_CLK_3				0x06
#define RT1305_DFLL_REG				0x07
#define RT1305_CAL_EFUSE_CLOCK	0x08
#define RT1305_PLL0_1				0x0a
#define RT1305_PLL0_2				0x0b
#define RT1305_PLL1_1				0x0c
#define RT1305_PLL1_2				0x0d
#define RT1305_MIXER_CTRL_1 0x10
#define RT1305_MIXER_CTRL_2 0x11
#define RT1305_DAC_SET_1             0x12
#define RT1305_DAC_SET_2             0x14
#define RT1305_ADC_SET_1            0x16
#define RT1305_ADC_SET_2            0x17
#define RT1305_ADC_SET_3            0x18
#define RT1305_PATH_SET             0x20
#define RT1305_SPDIF_IN_SET_1                 0x22
#define RT1305_SPDIF_IN_SET_2                 0x24
#define RT1305_SPDIF_IN_SET_3                 0x26
#define RT1305_SPDIF_OUT_SET_1                 0x28
#define RT1305_SPDIF_OUT_SET_2                 0x2a
#define RT1305_SPDIF_OUT_SET_3                 0x2b
#define RT1305_I2S_SET_1                       0x2d
#define RT1305_I2S_SET_2                      0x2e
#define RT1305_PBTL_MONO_MODE_SRC            0x2f
#define RT1305_MANUALLY_I2C_DEVICE 0x32
#define RT1305_POWER_STATUS                  0x39
#define RT1305_POWER_CTRL_1                  0x3a
#define RT1305_POWER_CTRL_2                  0x3b
#define RT1305_POWER_CTRL_3                  0x3c
#define RT1305_POWER_CTRL_4                  0x3d
#define RT1305_POWER_CTRL_5                  0x3e
#define RT1305_CLOCK_DETECT                  0x3f
#define RT1305_BIQUAD_SET_1                  0x40
#define RT1305_BIQUAD_SET_2                  0x42
#define RT1305_ADJUSTED_HPF_1             0x46
#define RT1305_ADJUSTED_HPF_2               0x47
#define RT1305_EQ_SET_1                  0x4b
#define RT1305_EQ_SET_2                  0x4c
#define RT1305_SPK_TEMP_PROTECTION_0 0x4f
#define RT1305_SPK_TEMP_PROTECTION_1 0x50
#define RT1305_SPK_TEMP_PROTECTION_2 0x51
#define RT1305_SPK_TEMP_PROTECTION_3 0x52
#define RT1305_SPK_DC_DETECT_1                  0x53
#define RT1305_SPK_DC_DETECT_2                  0x54
#define RT1305_LOUDNESS 0x58
#define RT1305_THERMAL_FOLD_BACK_1 0x5e
#define RT1305_THERMAL_FOLD_BACK_2 0x5f
#define RT1305_SILENCE_DETECT                  0x60
#define RT1305_ALC_DRC_1                  0x62
#define RT1305_ALC_DRC_2                  0x63
#define RT1305_ALC_DRC_3                  0x64
#define RT1305_ALC_DRC_4                  0x65
#define RT1305_PRIV_INDEX			0x6a
#define RT1305_PRIV_DATA			0x6c
#define RT1305_SPK_EXCURSION_LIMITER_7 0x76
#define RT1305_VERSION_ID			0x7a
#define RT1305_VENDOR_ID			0x7c
#define RT1305_DEVICE_ID			0x7e
#define RT1305_EFUSE_1                  0x80
#define RT1305_EFUSE_2                  0x81
#define RT1305_EFUSE_3                  0x82
#define RT1305_DC_CALIB_1                  0x90
#define RT1305_DC_CALIB_2                  0x91
#define RT1305_DC_CALIB_3                  0x92
#define RT1305_DAC_OFFSET_1            0x93
#define RT1305_DAC_OFFSET_2            0x94
#define RT1305_DAC_OFFSET_3            0x95
#define RT1305_DAC_OFFSET_4            0x96
#define RT1305_DAC_OFFSET_5            0x97
#define RT1305_DAC_OFFSET_6            0x98
#define RT1305_DAC_OFFSET_7            0x99
#define RT1305_DAC_OFFSET_8            0x9a
#define RT1305_DAC_OFFSET_9            0x9b
#define RT1305_DAC_OFFSET_10            0x9c
#define RT1305_DAC_OFFSET_11            0x9d
#define RT1305_DAC_OFFSET_12            0x9e
#define RT1305_DAC_OFFSET_13            0x9f
#define RT1305_DAC_OFFSET_14            0xa0
#define RT1305_TRIM_1                  0xb0
#define RT1305_TRIM_2                  0xb1
#define RT1305_TUNE_INTERNAL_OSC             0xb2
#define RT1305_BIQUAD1_H0_L_28_16 0xc0

Annotation

Implementation Notes