|
|
|
|
Quelle rt5682.h
Sprache: C
|
|
- -.0only
/*
* rt5682.h -- RT5682/RT5658 ALSA
*
* Copyright 2018 Realtek Microelectronics
AuthorBard Liao <bardliao@@ealtek>
*/
#ifndef __RT5682_H__
#define __RT5682_H__
#include <sound/rt5682.h>
#include <linux/regulator/consumer.h>
#include <linux/gpio/consumer.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/soundwire/sdw.h>
#include <linux/soundwire/sdw_type.h>
#define DEVICE_ID 0x6530
/* Info */
defineRT5682_RESET x0000
#define RT5682_INT_DEVICE_ID 0x00f9
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 34
d RT5682_VENDOR_ID0x00fe
#define RT5682_DEVICE_ID 0x00ff
/* I/O - Output */
#define RT5682_HP_CTRL_1 0x0002
#define 00003
#IN /*
#defineRT5682_HP_CTRL_2 0x0003
#define RT5682_I2C_CTRL 0x0008
/* I/O - Input */
#define RT5682_CBJ_BST_CTRL 0x000b
## 0
#nclude </.>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
00012
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define RT5682_CBJ_CTRL_6 #define RT5682_CBJ_CTRL_6 0x0015# RT5682_CBJ_CTRL_2 #define 0x00f9
defineRT5682_CBJ_CTRL_7 #/consumerh
/* I/O - ADC/DAC/DMIC */
#define java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 19
0
#efine RT5682_STO1_ADC_BOOST#/clkprovider>
define 0define xc
#
/* Mixer - D-D */
# define RT5682_HP_AMP_DET_CTRL_1x00d0
#define#definedefine RT5682_HP_AMP_DET_CTRL_20x00d1
#define define RT5682_MID_HP_AMP_DET RT5682_I2S2_SDP xc
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 38
# x00
#define define RT5682_DELAY_BUF_CTRL 000
/* Mixer - ADC */
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
# x
#define RT5682_ALC_BACK_GAIN 0x0049
/* Power */
#define RT5682_PWR_DIG_1 0x00610x0076
RT5682_PWR_DIG_2
#RT5682_PWR_ANLG_1 0x0063
#define ## 0java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
##define#define 0x007c
define RT5682_PWR_MIXER #defineRT5682_TDM_TCON_CTRLx007java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [32, 7) out of bounds for length 32
/* Clock Detect */
RT5682_CLK_DET 0x006b
/* Filter Auto Reset */
#define RT5682_4BTN_IL_CMD_4 0#efine 0x0082
#fine#efine x00e7
/* DMIC */
d 0
/* Format - ADC/DAC */
#definedefine #RT5682_PLL_TRACK_5
#define define RT5682_PLL_TRACK_6x0088
#define RT5682_ADDA_CLK_1 dd RT5682_4BTN_IL_CMD_1 x00e2
# x008d
# 0java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
#fine RT5682_I2S1_F_DIV_CTRL_2
/* Format - TDM Control */definedefine RT5682_ADC_STO1_HP_CTRL_ 0x00eb
#definejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
efine RT5682_TDM_ADDA_CTRL_1 b
#define RT5682_TDM_ADDA_CTRL_2 0x007b
RT5682_DATA_SEL_CTRL_1 xcc
#define RT5682_TDM_TCON_CTRL 0x007e
/* Function - Analog *//
##define 0x009e
#define RT5682_PLL_CTRL_1 /
#define #define RT5682_PLL_CTRL_2 0
#efine 0x00a3
#define 0x0084
#d RT5682_EQ_CTRL_1 x00ae
##defineRT5682_BIAS_CUR_CTRL_80x0111
#define defineRT5682_DAC_ADC_DIG_VOL1 x0100
#efine #define RT5682_BIAS_CUR_CT 0x0113
0x008c
#define RT5682_SDW_REF_CLK 0x008d
0x008e
##efineRT5682_BIAS_CUR_CTRL_5 0010
#define RT5682_DIG_IN_CTRL_1 x0132
# RT5682_PAD_DRIVING_CTRL 0x0136
##efine #define RT5682_INT_ST_1 0
java.lang.StringIndexOutOfBoundsException: Range [24, 7) out of bounds for length 33
#define#efine RT5682_CHOP_DACdefine 0x0112
defineRT5682_BIAS_CUR_CTRL_100x0113
#define RT5682_PLL2_CTRL_1 define java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 46
#define RT5682_PLL2_CTRL_2define 0x0132
# define RT5682_VOL_TEST0#define RT5682_SOFT_RAMP_DEPOP java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39
#definedefine RT5682_SPKVDD_DET_STA 0x0142
java.lang.StringIndexOutOfBoundsException: Range [26, 7) out of bounds for length 35
#define java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
define 00146
#define java.lang.StringIndexOutOfBoundsException: Range [31, 7) out of bounds for length 40
/* Function - Digital */
#define define RT5682_SV_ZCD_2 0x00da
#define RT5682_EQ_CTRL_2#define#define RT5682_IL_CMD_1 0java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
b6
#define RT5682_IRQ_CTRL_2 0x00b7
define 0d56
define RT5682_IRQ_CTRL_4 0x00b9
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 33
# RT5682_GPIO_CTRL_1 0x00c0
#define#efine RT5682_STO_NG2_CTRL_3
#define 0
dRT5682_HP_AMP_DET_CTRL_1 0x00d0
#efineRT5682_HP_AMP_DET_CTRL_2 0x00d1
#define RT5682_MID_HP_AMP_DET 0define RT5682_STO_NG2_CTRL_6 0x0165 00164
#0x00d3#define 0x0165
x00d4
#define RT5682_SV_ZCD_1 #define java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 37
#define RT5682_SV_ZCD_2 0define RT5682_STO1_DAC_SIL_DET 0x0190
#define RT5682_IL_CMD_1defineRT5682_STO_NG2_CTRL_9
java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 33
10 0
##define RT5682_STO1_DAC_SIL_DET 0x0190
#define RT5682_IL_CMD_5 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
##defineRT5682_HP_IMP_SENS_CTRL_010
#efine RT5682_4BTN_IL_CMD_1 x0195
define define RT5682_JD1_THD 0x00f1
d # java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
#define RT5682_4BTN_IL_CMD_4 #efine RT5682_JD_CTRL_1 0x00f6
efine 0x01af
#define RT5682_4BTN_IL_CMD_6 0x00e7
#efineRT5682_4BTN_IL_CMD_7 0
#define#efinedefine RT5682_HP_IMP_SENS_CTRL_0x01b1
#define define RT5682_DUMMY_3 000c
#define RT5682_AJD1_CTRL 0x00f0
##define 0x0100#efine x01b8
#define R_CTRL_2
#d#define RT5682_HP_IMP_SENS_CTRRT5682_HP_IMP_SENS_CTRL_12 0x01ba
/* General Control */ 0
RT5682_DUMMY_1 0
##defineRT5682_BIAS_CUR_CTRL_6xf# xjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
#define RT5682_HP_IMP_SENS_CTRL_x01be
##efine java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 42
#define define RT5682_HP_IMP_SENS_CTRL_13java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [38, 7) out of bounds for length 46
# #fineRT5682_CHARGE_PUMP_1 0x0125
efineRT5682_BIAS_CUR_CTRL_5 0010java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
#define RT5682_HP_IMP_SENS_CTR0
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 39
#define RT5682_HP_IMP_SENS_CTRL_18 0x01c0
define 0x0112
#define RT5682_BIAS_CUR_CTRL_10 0#define RT5682_HP_IMP_SENS_CTRL_20 0x01java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 42
CTRL 0
#define RT5682_CHARGE_PUMP_1 0x0125#RT5682_CHOP_ADC 0
#define 0
#define define RT5682_HP_IMP_SENS_CTRL_23 0x01c5
#efine define RT5682_HP_IMP_SENS_CTRL_24
java.lang.StringIndexOutOfBoundsException: Range [23, 7) out of bounds for length 33
#definedRT5682_HP_IMP_SENS_CTRL_26
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 38
#efine 0x01c9
#define 0x0142# 001ca
# define RT5682_HP_IMP_SENS_CTRL_290cb
#define RT5682_TEST_MODE_CTRL_2 d 0
#define 001
#defineRT5682_TEST_MODE_CTRL_5 x0149
#define RT5682_TEST_MODE_CTRL_5 0x0149
RT5682_PLL1_INTERNAL 0x0150
##define 0
#define RT5682_STO_NG2_CTRL_1 0x0160
#defineRT5682_HP_IMP_SENS_CTRL_34 0x01d0
efine
#define 0x0164
#efine define java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39
#define define RT5682_HP_IMP_SENS_CTRL_37 RT5682_HP_LOGIC_CTRL_30
d 0x0166
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 38
#define 0
efine x0169
# define RT5682_HP_CALIB_CTRL_500x01d6
#define define RT5682_SIL_PSV_CTRL1 0define RT5682_HP_CALIB_CTRL_6 0x01
define RT5682_HP_CALIB_CTRL_9 0
#RT5682_SIL_PSV_CTRL3#inejava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 42
#efine#fine RT5682_SIL_PSV_CTRL4 00198java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
#efine java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 38
#define RT5682_HP_IMP_SENS_CTRL_01
02 0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
define RT5682_HP_IMP_SENS_CTRL_03 0x01b1
#define RT5682_HP_IMP_SENS_CTRL_04#define java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39
#define RT5682_HP_CALIB_CTRL_40
java.lang.StringIndexOutOfBoundsException: Range [34, 7) out of bounds for length 42
#efine RT5682_HP_IMP_SENS_CTRL_070x01b5
# 0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
#define java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 42
0
#define d RT5682_SAR_IL_CMD_8x01e7
#define define RT5682_SAR_IL_CMD_9 0x01b8
java.lang.StringIndexOutOfBoundsException: Range [34, 7) out of bounds for length 42
#define java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
defineRT5682_HP_IMP_SENS_CTRL_15x01bd
# RT5682_HP_IMP_SENS_CTRL_16 x
#RT5682_HP_IMP_SENS_CTRL_17define 0x0250
#define##0
#define 0
#define 0
x
#define RT5682_HP_IMP_SENS_CTRL_22 0
# 0x01c5
# x01c6
#define 0x01c7
#define java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
#define RT5682_HP_IMP_SENS_CTRL_27 0x01c9
#defineRT5682_HP_CALIB_STA_10 0x01f3
# RT5682_HP_IMP_SENS_CTRL_29 0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 35
RT5682_HP_IMP_SENS_CTRL_30 0x01cc
#define 0x01cd
#define RT5682_HP_IMP_SENS_CTRL_33 # RT5682_HP_IMP_SENS_CTRL_26
_CTRL_34 0x01d0
#define 0x0304
#define 0
#RT5682_DRC1_HARD_LMT_CTRL_1 0x0306define RT5682_SAR_IL_CMD_6 x0215
#efine # 0310
# 0# 0x01cd
#define RT5682_HP_IMP_SENS_CTRL_40 0x01d6
#define RT5682_HP_IMP_SENS_CTRL_42 0
_3 001d9
# 0x01da
#define RT5682_HP_LOGIC_CTRL_20021b
##define RT5682_SAR_IL_CMD_13 x021c
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 39
#define 0x01df
java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 39
define 0
define java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
#define RT5682_HP_CALIB_CTRL_6 0x01e3
#define #define RT5682_EFUSE_CTRL_5 efine 0x03c7
x01e6
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 40
#efine 0x01d8
#efine RT5682_HP_CALIB_STA_1 0x01ea
#define RT5682_HP_CALIB_STA_2 0x01eb
RT5682_HP_CALIB_STA_30x01ec
# 0x01ed
#define 0x01ee
java.lang.StringIndexOutOfBoundsException: Range [33, 29) out of bounds for length 38
#RT5682_HP_CALIB_STA_7 d d 0x0259
#define x01de
#de java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
#define define RT5682_L_EQ_BPF1_H0d RT5682_JD_TOP_VC_VTRL 0x0270
# 0
#define RT5682_SAR_IL_CMD_1#
define xjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
djava.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 36
java.lang.NullPointerException
## 0x01e6
#define##define RT5682_R_EQ_BPF2_H 003df
#define # RT5682_HP_CALIB_CTRL_11 0java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 36
#efine x03e3
#define 0#define RT5682_L_EQ_BPF3_H0 0x03e4define RT5682_DRC1_HARD_LMT_CTRL_2 0x0307java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36
# 0
#define RT5682_SAR_IL_CMD_11 0x021a
#define #efineRT5682_HP_CALIB_STA_5 #x03e9
# RT5682_SAR_IL_CMD_13 java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 38
0250
##defineRT5682_HP_CALIB_STA_90
#define definejava.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 36
#define RT5682_EFUSE_CTRL_4 #efine RT5682_DRC1_PRIV_70 0
#RT5682_EFUSE_CTRL_5 0x0254
#define RT5682_EFUSE_CTRL_6 0x0255
#define RT5682_EFUSE_CTRL_7 0#define RT5682_SAR_IL_CMD_2 0x0211
##defineRT5682_EQ_AUTO_RCV_CTRL20# 0
#defineRT5682_SAR_IL_CMD_4
#define d RT5682_L_MUTE (x1 <definejava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 36
0x025a
#define efine RT5682_EQ_AUTO_RCV_CTRL5
RT5682_DRC1_CTRL_0 xff
#define RT5682_DRC1_CTRL_1 # RT5682_SAR_IL_CMD_9 0x0218
#define RT5682_DRC1_CTRL_2 0x0301
x0302
#define define RT5682_R_MUTE_SFT 7
#define # 0
#define RT5682_DRC1_HARD_LMT_CTRL_1 0x0306
#define define RT5682_VOL_R_SFT 6
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 35
##efineRT5682_EQ_AUTO_RCV_CTRL13
define RT5682_DRC1_PRIV_3 0)
##definedefineRT5682_R_EQ_LPF1_A1 #efine RT5682_EFUSE_CTRL_6 xjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
##defineRT5682_R_EQ_LPF1_H0 0x03d3
#define RT5682_EFUSE_CTRL_9
#define x0259
# #define RT5682_HP_C2_DAC_L_ 14
# 0x03c0
# #defineRT5682_R_EQ_BPF1_A2# 00270
#define define RT5682_HP_C2_DAC_R_EN#efine RT5682_L_EQ_BPF1_H0 # xjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#define 0x03c3
efinejava.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 40
#define #RT5682_G_HP_SFT 0
#definejava.lang.StringIndexOutOfBoundsException: Range [40, 32) out of bounds for length 40
#define RT5682_EQ_AUTO_RCV_CTRL8 # RT5682_DRC1_HARD_LMT_CTRL_1
define x03c8
#define efine RT5682_L_EQ_BPF2_A2 0x03dc
#efine
#definedefine x0311
#define RT5682_L_EQ_BPF2_H0 0x03de
# 0x03d0
#efineRT5682_DRC1_PRIV_4 0x0313
#fine 0x0314
#define RT5682_DRC1_PRIV_6# 0x03e1
d# 0
#defineRT5682_R_EQ_BPF1_A1 0x03d5
#define java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 36
# RT5682_R_EQ_BPF1_A2# RT5682_EQ_AUTO_RCV_CTRL2
RT5682_L_EQ_BPF1_H0 0x03d8
#define #define RT5682_EQ_AUTO_RCV_CTRL4
#define xc4
#efine efine x1 )
#define RT5682_L_EQ_BPF2_A2 0define define RT5682_R_EQ_BPF4_A1 RT5682_R_EQ_BPF4_A10x03e7
#define RT5682_R_EQ_BPF2_A2 0d##define RT5682_TRIG_JD_LOW <<)
efinejava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
xjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
d (0)
#RT5682_ADC_STO1_HP_CTRL_2x00eb
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 36
#define define RT5682_R_EQ_BPF3_H0003e5
# 0#efine xe7
#define RT5682_L_EQ_BPF4_A2 0x03e8
# 0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
#define RT5682_L_EQ_BPF4_A2 0x03e8
#define RT5682_R_EQ_BPF4_A2 0x03e9
d java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
#define# 0x010c
#define java.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 36
##java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 36
# 0x03f0
RT5682_L_EQ_PRE_VOLxf0
#define RT5682_R_EQ_PRE_VOL 0x03f1
#define RT5682_L_EQ_POST_VOL 0x03f2
#define #efine 0
0xffff
/* global definition */
# (x <15)
#define RT5682_PAD_DRIVING_CTR 0
1 fine x0138
#define RT5682_VOL_L_SFT 14
<< 7)
#define RT5682_R_MUTE_SFT #fine 14
e (x1<6java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define RT5682_TEST_MODE_CTRL_1
#efinejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 34
0
/* Headphone Amp Control 2 (0x0003) */
#define#efinedefine RT5682_PLL1_INTERNAL0# java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
# java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
##definejava.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 37
ddefine RT5682_HP_C2_DAC_L_EN1<14java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(1<13
/*Headphone Amp L/R Analog Gain and Digital NG2 Gain Control (0x0005 0x0006)*/
#define /
#define RT5682_G_HP_SFT 8
# (xf)
#RT5682_G_STO_DA_SFT 0
/* CBJ Control (0x000b) */
# 0x0195
#define RT5682_BST_CBJ_SFT 8
/* Embeeded Jack and Type Detection Control 1 (0x0010) */#RL4
(x1<15java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define RT5682_EMB_JD_EN_SFT#define RT5682_ST_DIS (0x0 << 6)
(0x1< 14)
#define RT5682_HP_IMP_SENS_CTRL_03define RT5682_BST_CBJ_SFT 8
#define define (<<)
d java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 38
# 12
#define0 #efine java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 42
#define RT5682_POLA_EXT_JD_LOW (0x1 << 11)
#define RT5682_POLA_EXT_JD_HIGHdefine RT5682_DET_TYPE_SFT12
#define RT5682_EXT_JD_DIG (0x1 << 9)
#java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
d#
(0x0 <<8)
#efine (x1 <<7)
# ( < 7)
# (x0 <7java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#define RT5682_VREF_POW_MASK (0x1d 0< )
#define define RT5682_HP_IMP_SENS_CTRL_20 0x01c2
#define RT5682_VREF_POW_REG (0x1 << 6)
# (0x1 )
#define RT5682_TRIG_JD_MASK (x1<3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#define RT5682_CTRL_MB1_FSM (0x0 << 5)
#java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 41
#define (x1 < 4
# 01< 14
#define #define RT5682_DAC_R1_SRC_Mefine RT5682_JD_MODE_SFTRT5682_JD_MODE_SFT 13
##defineRT5682_DET_TYPE_SFT 12
#java.lang.StringIndexOutOfBoundsException: Range [26, 7) out of bounds for length 39
#define RT5682_MIC_CAP_MASK # 0
#RT5682_MIC_CAP_HS (x<1
#define 00d x01dc
#define java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 31
#define RT5682_MIC_CAP_SRC_REG (0x1)
#define RT5682_MIC_CAP_SRC_ANA (0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 31
/* Embeeded Jack and Type Detection Control 2 (0x0011) */
# (< 4java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36
#define RT5682_EXT_JD_SRC_SFT 4
#define RT5682_EXT_JD_SRC_GPIO_JD1 (0x0# x0212
efine java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
# (x2 < 4)
#define #define RT5682_LDO1_NOT_BYPAS(x0 )
define (x4<)
#define RT5682_JACK_TYPE_MASK (# (x3 < )
/* Combo Jack and Type Detection Control 3 (0x0012) */
#define RT5682_CBJ_IN_BUF_EN (0x1 << 7)
/* Combo Jack and Type Detection Control 4 (0x0013) */java.lang.StringIndexOutOfBoundsException: Range [34, 7) out of bounds for length 46
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 48
#define RT5682_SEL_SHT_MID_TON_2 (0x0 << 12)
#define #define RT5682_M_STO1_ADC_R2 <6)
(x1< 6)
# java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
#define RT5682_CBJ_JD_TEST_MODE (0x1# RT5682_STO1_ADC1R_SRC_SFT java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
/* DAC1 Digital Volume (0x0019) */
#define define RT5682_PWR_HA_R (0x1 0
#define define RT5682_EFUSE_CTRL_1
#efine 0)
#define RT5682_DAC_R1_VOL_SFT 0
/* ADC Digital Volume Control (0x001c) */
#define RT5682_ADC_L_VOL_MASK ##define x0252
d # 15
d (x <11)
#define RT5682_EFUSE_CTRL_5
/* Stereo1 ADC Boost Gain Control (0x001f) */
d#define (0 <10
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
#ASK (x3<12)
define RT5682_STO1_ADC_R_BST_SFT 12
/* Sidetone Control (0x0024) */#define RT5682_PWR_JDH_BIT 3
#define RT5682_ST_SRC_SELdefinejava.lang.StringIndexOutOfBoundsException: Range [27, 22) out of bounds for length 36
#define define RT5682_PWR_RM1_L (0x1 << 1)
#define RT5682_ST_EN_MASKd java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
d java.lang.StringIndexOutOfBoundsException: Range [25, 21) out of bounds for length 35
(xjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 34
#define RT5682_ST_EN_SFT 6
/* Stereo1 ADC Mixer Control (0x0026) */
# #define RT5682_DRC1_CTRL_5
#definejava.lang.StringIndexOutOfBoundsException: Range [36, 32) out of bounds for length 36
#define RT5682_PWR_DET_SPKVDD_BIT 12
#define define (0x1 <7)
#define define RT5682_PWR_STO1_DAC_L # 7
#define RT5682_STO1_ADC1L_SRC_SFT 13
#define java.lang.StringIndexOutOfBoundsException: Range [57, 35) out of bounds for length 57
# RT5682_STO1_ADC1_SRC_DACMIX0x0 << 13)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
##define 4
# java.lang.StringIndexOutOfBoundsException: Range [39, 33) out of bounds for length 46
#define RT5682_STO1_ADCL_SRC_SFT<# java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 41
define 14
#define RT5682_STO1_DD_L_SRC_SFT defineefine RT5682_EXT_JD_SRC_MANUALx4 < 4
SK(0x1 <8
java.lang.StringIndexOutOfBoundsException: Range [32, 7) out of bounds for length 35
#define RT5682_STO1_DMIC_SRC_DMIC2 (0x1 << 8)
#define RT5682_STO1_DMIC_SRC_DMIC1 (0x0 << 8)
#define #define RT5682_DRC1_PRIV_50x0314
#define RT5682_DRC1_PRIV_6 x0315
#define RT5682_M_STO1_ADC_R2 (0x1 << 6)
# 6
#define (01<< 5)
#define RT5682_STO1_ADC1R_SRC_SFT 5
<4)#efine 0x0317
#define RT5682_STO1_ADC2R_SRC_SFT 4
d (x3<<2)
#define RT5682_DMIC_1_DP_SFTjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* ADC Mixer to DAC Mixer Control (0x0029) */
#efine #define RT5682_EQ_AUTO_RCV_CTc3
#define RT5682_M_ADCMIX_L_SFT 15
#define RT5682_M_DAC1_L (0x1 << 14)
d 14
x1< )
#define 10
#define RT5682_DAC1_L_SEL_MASK (0x1 << 8)
#define define RT5682_EQ_AUTO_RCV_CTRL8 0x03c7
#efine java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
define 7
#define RT5682_M_DAC1_R (0x1 <6)
#define RT5682_M_DAC1_R_SFT 6
/* Stereo1 DAC Mixer Control (0x002a) */java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 35
#defineRT5682_I2S1_TX_CHL_20 (0x1 << 12)
java.lang.StringIndexOutOfBoundsException: Range [33, 7) out of bounds for length 37
#define RT5682_G_DAC_L1_STO_L_MASK (0x1 << 14)
#define RT5682_G_DAC_L1_STO_L_SFTjava.lang.StringIndexOutOfBoundsException: Range [39, 26) out of bounds for length 39
#d 0 < )
/* Power Management for Digital 1 (0x0061) */
#define#efine RT5682_PWR_I2S1 0< 15java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define RT5682_G_DAC_R1_STO_L_SFT 12
#define RT5682_M_DAC_L1_STO_R (0x1 << 7)
#define java.lang.StringIndexOutOfBoundsException: Range [42, 29) out of bounds for length 42
#define RT5682_G_DAC_L1_STO_R_MASK (0x1 << 6)
#define RT5682_G_DAC_L1_STO_R_SFT 6
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 42
# 5
#define RT5682_G_DAC_R1_STO_R_MASK (0x1 #efine java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 41
4
/* Analog DAC1 Input Source Control (0x002b) */
d ( <<9# 0x0< )
FTdefine 0#define RT5682_PWR_DAC_R1 (0x1
#define (0x1 < # 4
#define 8
# (0x3 < 4)
#define RT5682_A_DACL1_SFT 4
# 0x1<)
#define 4
/* Digital Interface Data Control (0x0030) */java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
#define /* I2S1/2 Audio Serial Data Port Control (0x0070)(0x0071) */#java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 36
define 0
/* REC Left Mixer Control 2 (0x003c) */
d (0<10)
#define RT5682_G_CBJ_RM1_L_SFT 10
#define RT5682_M_CBJ_RM1_L (0x1 << 7)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* Power Management for Digital 1 (0x0061) */
d (x1<15java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define RT5682_PWR_I2S1_BIT 15
#define RT5682_PWR_I2S2 (0x1 << 14)
#define RT5682_PWR_I2S2_BIT 14
#define java.lang.StringIndexOutOfBoundsException: Range [44, 19) out of bounds for length 44
11
#define RT5682_PWR_DAC_R1 (0x1 << #define RT5682_PWR_VREF1_BIT 15
djava.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 34
#define RT5682_PWR_LDO#RT5682_PWR_FV1_BIT 14
#define define RT5682_L_EQ_BPF3_A2 0x03e2
# 0
#define # 0
d 0#define RT5682_R_EQ_BPF3_H0 0x
# 3
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 41
12
/* Power Management for Digital 2 (0x0062) */
# xjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
# #define RT5682_PWR_BG (0x1 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
#efinejava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 35
*java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 35
#define # 6
#definejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 37
# 0 << )
##defineRT5682_L_EQ_HPF1_H0
#efine (0 < 4)
#define RT5682_PWR_VREF2_BIT 13
#define RT5682_PWR_FV2 (0x1 << 12)
#define RT5682_PWR_FV2_BIT 12
#define RT5682_LDO1_DBG_MASK define 0 < )
#define java.lang.StringIndexOutOfBoundsException: Range [25, 21) out of bounds for length 35
#RT5682_PWR_MB_BIT9
#define RT5682_PWR_BG (0x1 << 7)
djava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 29
# RT5682_PWR_HA_L_BIT1
#define define RT5682_PWR_HA_Rx < 0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [34, 30) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 29
#efine 0x3 < 4)
#define java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
##definedefine (0x1 0 )
## define RT5682_L_MUTE_SFT java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
0<4)
define RT5682_I2S_M_D_1 (0x0< 8)
#define ( java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 35
# #efine java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 37
#define RT5682_PWR_HA_L (0x1 << 1)
#define RT5682_PWR_HA_L_BIT 1
#define RT5682_PWR_HA_R #efine 0 )
e java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
/* Power Management for Analog 2 (0x0064) */
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
d 0 < )
d java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 31
/
#define RT5682_PWR_MB2_PWR_DOWN RT5682_HP_C2_DAC_AMP_MUTE_SFT
#define define RT5682_I2S_CLK_SRC_SFT
RT5682_PWR_JDHx1< )
#define RT5682_PWR_JDH_BIT 3
#define RT5682_PWR_JDL (0x1 << 2)
#define java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 30
#define RT5682_PWR_RM1_Ldefine RT5682_HP_C2_DAC_R_EN 0 <)
#define RT5682_PWR_RM1_L_BIT 1
/* Power Management for Analog 3 (0x0065) */
0 <)
#define define RT5682_DAC_OSR_SFT /
#define RT5682_PWR_PLLdefine 8
define java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 36
d (< 5)
#define RT5682_PWR_PLL2B_BIT 5
#define (0/* CBJ Control (0x000b 4
#define RT5682_PWR_PLL2F_BIT 4
#define RT5682_PWR_LDO2_BITRT5682_DAC_OSR_D_12 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 30
#define /* Embeeded Jack and Detection 1 0)*java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
#fine java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
/* Power Management for Mixer (0x0066) */
#define RT5682_PWR_STO1_DAC_L (0x1 << 5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#defineIT 5
# RT5682_PWR_STO1_DAC_R (12java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
d java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
/* MCLK and System Clock Detection Control (0x006b) */ RT5682_DMIC_1_EN_MASK 0<)
#define RT5682_SYS_CLK_DET (0x1 << 15)
#define RT5682_PLL1_CLK_DET (0x1 << 14)
#define RT5682_PLL1_CLK_DET_SFT 14
#define RT5682_PLL2_CLK_DET (0x1 RT5682_POL_FAST_OFF_MASK<12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
##java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 43
#efine 8
##define 4
/* Digital Microphone Control 1 (0x006e) */
#define java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 43
# (0 <java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define RT5682_DMIC_1_DIS (0x0 << 15)
#define RT5682_DMIC_1_EN
#define java.lang.StringIndexOutOfBoundsException: Range [50, 20) out of bounds for length 50
#define RT5682_FIFO_CLK_DIV_2 (0x1 << 12)
# 0 <
#define RT5682_SEL_ADCDAT_OUTRT5682_CTRL_MB1_FSMdefinejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 36
#define RT5682_DMIC_1_DP_GPIO2 (0x0 < 10
#define RT5682_DMIC_1_DP_GPIO5 (0x1 << 4)
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 41
#define RT5682_DMIC_CLK_SFT (< 3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
/* I2S1 Audio Serial Data Port Control (0x0070) */
)
#define RT5682_SEL_ADCDAT_OUT (0x0 << 15)
( < 15)
#define RT5682_SEL_ADCDAT_SFT #define# 15
# ( )
#define RT5682_I2S1_TX_CHL_SFT#efine (0 << java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define RT5682_I2S1_TX_CHL_16 (0x0 << 12)
define 4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
# java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 43
#define RT5682_I2S1_TX_CHL_32 (0#define RT5682_TDM_S_LP_INV (0x1 <
define#efine (x1< )
# 11
8
#define define RT5682_EXT_JD_SRC_MANUAL <4)
# (0x3)
#define RT5682_I2S1_RX_CHL_24 (0
#define ( <8)
#efine (x4 <8java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
dRT5682_I2S1_MONO_MASK(
#define (#java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 41
#define RT5682_I2S1_MONO_DIS (0x0 << 7)
#define RT5682_I2S2_MONO_MASK (0x1 << 6)
#define# (x0 <12)
#define #define RT5682_I2S1_DL_MASKjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 45
djava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
#define RT5682_TDM_BCLK_MS1_12 0 <)
#define RT5682_I2S1_DL_16 (0x0 << 4)
#define (0x1 <
#define RT5682_I2S1_DL_24 (0x2 << 4)
#efinejava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 38
#define RT5682_I2S1_DL_8#define RT5682_TDM_CL_20 (x1 < )
/* I2S1/2 Audio Serial Data Port Control (0x0070)(0x0071) */
# 0
#define RT5682_I2S2_MS_SFTjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 37
#define RT5682_I2S2_MS_M (0x00< #java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
#define RT5682_I2S2_MS_S (0x1 << 15)
#define RT5682_I2S2_PIN_CFG_MASK (01< 14)
#define RT5682_I2S2_PIN_CFG_SFT 14
#java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
defineRT5682_I2S2_CLK_SEL_SFT
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
#define
java.lang.StringIndexOutOfBoundsException: Range [35, 9) out of bounds for length 35
dfine 0 15
#define# 13
# ( <)
#define RT5682_I2S_BP_INV (0x1 << 8#java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 42
# (x1 <d (( <
# RT5682_SCLK_SRC_RCCLK0 < 13)
#java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 42
#define #define RT5682_M_STO1_ADC_L2_S
#define RT5682_I2S2_DL_16 (0x0 <#RT5682_I2S2_CLK_SEL_SFT11
d (x1 < 4)
#define RT5682_I2S2_DL_24 (0x2# 13
#efine # 0<<java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#efine java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 34
##definejava.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 41
defineRT5682_I2S_DF_I2S 0
#define RT5682_STO1_ADCL_SRC_MASK<10)
##definedefine RT5682_I2S_BP_NOR#efine 10
#define #define RT5682_I2S_BP_INV (x1 <8)
define # 9
(0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
/* ADC/DAC Clock Control 1 (0x0073) */
#define RT5682_ADC_OSR_MASK (0xf << 12)
java.lang.StringIndexOutOfBoundsException: Range [54, 8) out of bounds for length 54
#efine java.lang.StringIndexOutOfBoundsException: Range [39, 17) out of bounds for length 39
#define RT5682_ADC_OSR_D_2 (0x1 <12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#define RT5682_ADC_OSR_D_4 (0x2 << 12)
##defineefine RT5682_SEL_SHT_MID_TON_3d java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 33
#define RT5682_ADC_OSR_D_8 (0x4 << 12)
define (< )
# (java.lang.StringIndexOutOfBoundsException: Range [39, 1) out of bounds for length 39
# #define RT5682_I2S_DF_LEFT
##java.lang.StringIndexOutOfBoundsException: Range [34, 30) out of bounds for length 34
#defineRT5682_I2S_DF_PCM_B (0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#define RT5682_I2S_M_DIV_MASK (0java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
#RT5682_I2S_M_D_1 (0x0 << 8)
#RT5682_I2S_M_D_2(x1 < 8)
# java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
#define #fine 0
#define RT5682_I2S_M_D_6 (0x4 << 8)
#define RT5682_I2S_M_D_8 (0x5 << 8)
#define /* PLL tracking mode
##RT5682_DA_ASRC_MASKd (0x3 << 12)
#d RT5682_STO1_ADC_R_BST_SFTjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [25, 7) out of bounds for length 38
#define RT5682_I2S_M_D_48 (0x10 << 8)
#define RT5682_I2S_CLK_SRC_MASK (0x7 <#defined java.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 41
#define RT5682_I2S_CLK_SRC_SFT 4
java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 44
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 41
##efine (0java.lang.StringIndexOutOfBoundsException: Range [36, 1) out of bounds for length 40
(0 <4)
#define #define RT5682_I2S_M_D_1 #fine (0x1< 14)
#d (0x1 < 0)
# java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 34
# (0x0 < )
#define RT5682_STO1_ADC1_SRC_ADCx< )
#definejava.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 37
#define (x3 <0java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define RT5682_DAC_OSR_D_8 (0x4 << 0)
#define RT5682_DAC_OSR_D_12 (0x5#efine 10
#define RT5682_DAC_OSR_D_16 (0x6 << 0)
#define RT5682_DAC_OSR_D_24 (0x7 << 0)
#define RT5682_DAC_OSR_D_32 (0x8 << 0)
#define RT5682_DAC_OSR_D_48#efine RT5682_STO1_DMIC_SRC_DMIC2 (0x1 << 8)
/* ADC/DAC Clock Control 2 (0x0074) */
##define ( <<8)
#define RT5682_I2S2_BCLK_MS2_SFT 11
#define#java.lang.StringIndexOutOfBoundsException: Range [38, 27) out of bounds for length 38
definejava.lang.StringIndexOutOfBoundsException: Range [44, 31) out of bounds for length 45
/* TDM control 1 (0x0079) */
define (x3 dfinejava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
d RC_MASK0<2)
1 < 12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
# 0x2< 12
#define RT5682_TDM_TX_CH_8java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 39
#defineRT5682_TDM_RX_CH_MASK (0## (0 < )
# (0x0 < )
efine 0110
#define RT5682_TDM_RX_CH_6 (0x2 <4)
#define java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 39
#fine java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 34
# 0
/* TDM control 2 (0x007a) */
# java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
#define RT5682_IF1_ADC2_SEL_SFT java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
#define RT5682_IF1_ADC3_SEL_SFT 10
#define RT5682_M_DAC_L1_STO_L_SFT15
/* TDM control 3 (0x007b) */
## (x1 < )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
/* TDM/I2S control (0x007e) *//* TDM/I2S control (0x007e) */ < )
#define RT5682_TDM_S_BP_MASK (0x1 << 15)
#efine
( < 15)
# (01 < 15java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define define RT5682_DAC_OSR_D_6 << 0)
RT5682_TDM_S_LP_SFT java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
#define RT5682_TDM_S_LP_NOR (0x0 << 14##define RT5682_SDW_REF_1_24K (00
#efine 0 <)
#define RT5682_TDM_DF_MASK (0x7 <#efinejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 30
#RT5682_TDM_DF_I2S ( < 11e (8 <)
#define RT5682_TDM_DF_LEFT (0x1 << 11)
#define RT5682_TDM_DF_PCM_A (0x2 << 11)
#define (0x3 < 11)
#define RT5682_TDM_DF_PCM_A_N#efine (< 11)
#define RT5682_TDM_DF_PCM_B_N (0x7 << 11)
#define RT5682_TDM_BCLK_MS1_MASK (0x3 << 9)
#define RT5682_TDM_BCLK_MS1_SFT 9
#define java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
#define RT5682_TDM_BCLK_MS1_64 (0x1 <#java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 41
#define RT5682_TDM_BCLK_MS1_128 (0x2 << 9)
#define RT5682_TDM_BCLK_MS1_256 (0x3 << 9)
#defined (x1 <3
#define RT5682_TDM_CL_16 ##define java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 46
#define RT5682_TDM_CL_20 (0x1 << 4#RT5682_TDM_RX_CH_2efine 0x1 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 35
(x2 < 4)
#define RT5682_TDM_CL_32 (0x3 << 4)
define 0< )
d 2
#define define RT5682_TDM_ADC_LCA_SFT
##definejava.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 33
#define RT5682_TDM_M_LP_MASK (0x1 <</
##efine 14
#RT5682_TDM_M_LP_NOR (x0 <# (x3 <2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 45
##define
#define (0x1 # 4
#define RT5682_TDM_MS_SFT #efine 0< )
# #efine (< 7java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
/* TDM/I2S control (0x007e) */
/* Global Clock Control (0x0080) */
dRT5682_TDM_S_BP_SFT 15
#define RT5682_SCLK_SRC_SFT 13
#define RT5682_SCLK_SRC_MCLK (0x0 << 13)
#define RT5682_SCLK_SRC_PLL1 (0x1 << 13)
#define RT5682_SCLK_SRC_PLL2 (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eRT5682_SCLK_SRC_SDW0 <)
#define RT5682_OSW_L_SFT
# (x0 <11)
#define d 0 <11
<)
#define define RT5682_OSW_R_SFT 10
#efine java.lang.StringIndexOutOfBoundsException: Range [41, 27) out of bounds for length 41
# (0x3 <10java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#define RT5682_PLL1_SRC_MASK (0x3 << 8)
java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 31
#define efine RT5682_PM_HP_MV 0 <java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define RT5682_PLL1_SRC_BCLK1 (0x1 << 8)
#define (x3 < 8)
#define RT5682_M_DAC_L1_STO_R_SFT java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
#define RT5682_PLL_INP_MIN 256000
/* PLL M/N/K Code Control 1 (0x0081) */ java.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 41
# RT5682_TDM_BCLK_MS1_256T java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
d java.lang.StringIndexOutOfBoundsException: Range [31, 26) out of bounds for length 40
#define RT5682_PLL_N_SFT 7
001f
#define RT5682_PLL_K_MASK (RT5682_PLL_K_MAX)
dRT5682_PLL_K_SFT
/* PLL M/N/K Code Control 2 (0x0082) */ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#efine x00f
#define RT5682_PLL_M_MASK (RT5682_PLL_M_MAX << 12)
#define RT5682_MIC1_OVCD_SFT
dRT5682_DAC_R1_SRC_MASK (x3)
##define java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#define RT5682_PLL_K_BP
#define RT5682_PLL_K_BP_SFT 10
#define 0< 1)
/* PLL tracking mode 1 (0x0083) */
#define RT5682_MIC1_OVTH_1152UA0x2<< )
#define 13
# (x3 << )
#define RT5682_DAC_STO1_ASRC_SFT java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 30
#define RT5682_AD_ASRC_MASK (0x1 << 8)
#define RT5682_AD_ASRC_SFT 8
#define RT5682_AD_ASRC_SEL_MASK (0x1 <<#efine (0 <<13) java.lang.StringIndexOutOfBoundsException: Range [31, 26) out of bounds for length 39
#define RT5682_AD_ASRC_SEL_SFT 4
#define RT5682_DMIC_ASRC_MASK (0x1 << 3)
#efine java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 32
#define java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 45
#define 2
#define RT5682_DA_ASRC_SEL_MASK (0x1 << 0)
#define RT5682_DA_ASRC_SEL_SFT 0
/* PLL tracking mode 2 3 (0x0084)(0x0085)*/ RT5682_PWR_LDO ( <8)
#define RT5682_FILTER_CLK_SEL_MASK (0x7 << 12)
#define RT5682_PLL2_SRC_BCLK1 (x1 < 10java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
#define RT5682_FILTER_CLK_DIV_MASK (0xf << 8)
#define RT5682_FILTER_CLK_DIV_SFT 8
/* ASRC Control 4 (0x0086) */
#define RT5682_ASRCIN_FTK_N1_MASK (0x3 << 14)
#define RT5682_ASRCIN_FTK_N1_SFT 14
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define RT5682_ASRCIN_FTK_N2_SFT 12
(0x7 < 8define ( <15java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#define RT5682_ASRCIN_FTK_M1_SFTd 15
#define RT5682_ASRCIN_FTK_M2_MASK (0x7 << 4)
#define RT5682_ASRCIN_FTK_M2_SFT 4
/* SoundWire reference clk (0x008d) */
#define RT5682_PLL2_OUT_MASK (0x1 << 8)
#define RT5682_PLL2_OUT_98M (0x0 <<# (0 <15)
java.lang.StringIndexOutOfBoundsException: Range [27, 7) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 42
# java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 32
#define RT5682_SDW_REF_2_48KRT5682_PLL_K_MAX 0x001f
#define RT5682_SDW_REF_2_96K (# 13
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 42
#defined 12
#define RT5682_SDW_REF_2_24K (0x4 << 4)# 0x3/* PLL M/N/K Code Control 2 (0x0082) */
#define RT5682_SDW_REF_2_16K (0x5 << 4)
#define RT5682_SDW_REF_2_12K##definejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 52
# 12
#fine RT5682_PLL_M_BP ( )
#define RT5682_SDW_REF_2_88K# RT5682_PLL_M_BP_SFTdefine (0x1 << 6)
define java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 42
RT5682_SDW_REF_2_353K 0< )
#define RT5682_SDW_REF_2_22K (0xc#define java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
#/ PLL mode 0 /
# RT5682_SDW_REF_2_11K (0 <4)
## (0x1 << 4java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define#efine 0 <13
#define RT5682_SDW_REF_1_48K (0x0 << 0)
#define RT5682_SDW_REF_1_96K (0x1 << 0)
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 42
#define RT5682_SDW_REF_1_32K (0x3 << 0)
## (0x1<<1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
#define RT5682_SDW_REF_1_16K (00x1< )
#define RT5682_SDW_REF_1_12K (0x6 << 0)
#define RT5682_ADC_STO1_ASRC_MASK (x << 2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
#define RT5682_SDW_REF_1_44K (0x8 << 0)
#define RT5682_SDW_REF_1_88K (0x9 << 0java.lang.StringIndexOutOfBoundsException: Range [27, 23) out of bounds for length 32
#define RT5682_SDW_REF_1_176K ( java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 32
d(0xb<)
#define RT5682_SDW_REF_1_22Kjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 32
#define RT5682_SDW_REF_1_384K (0xd << # 10
(0xe 0java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
/* Depop Mode Control 1 (0x008e) */
# (0< )
#define RT5682_PUMP_EN_SFT 3
#RT5682_PWR_RM1_L (x1 <1)
# 0define java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/* Depop Mode Control 2 (0x8f) */
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 45
#define RT5682_RAMP_SFT 12
RT5682_RAMP_DIS (<12
#define RT5682_RAMP_EN (0#define RT5682_PWR_PLL_BIT 6
#define RT5682_BPS_MASK (x1<< 11java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
#define RT5682_BPS_SFT 11
#define RT5682_BPS_DIS (0x0 << 11)
#define RT5682_BPS_EN (0x1 << 11)
#define java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
#define RT5682_FAST_UPDN_SFT 10
#define RT5682_FAST_UPDN_DIS (0x0 << 10)
#define RT5682_FAST_UPDN_EN (0x1 << 10)
#define RT5682_VLO_MASK (0x1 << 7)
#define RT5682_VLO_SFT 7
#define define RT5682_SYS_CLK_DET (0x1 << 15)
#define RT5682_VLO_33V (0x1 << 7)
/* HPOUT charge pump 1 (0x0091) */
#define RT5682_OSW_L_MASK (0x1 << 11)
#define RT5682_OSW_L_SFT 11
#define RT5682_OSW_L_DIS (0x0 << 11)
#define RT5682_OSW_L_EN (0x1 << 11)
#RT5682_OSW_R_MASK (0x1 << 10)
#define RT5682_OSW_R_SFT 10
#define RT5682_OSW_R_DIS (0x0 << 10)
#define RT5682_OSW_R_EN (0x1 << 10)
#define RT5682_PM_HP_MASK (0x3 << 8)
#define RT5682_PM_HP_SFT 8
#define RT5682_PM_HP_LV (0x0 << 8)
#define RT5682_PM_HP_MV (0x1 << 8)
#define RT5682_POW_CLK_DET_SFT
#define java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
#define RT5682_IB_HP_SFT 6
#define RT5682_IB_HP_125IL (0x0 << 6)
#define RT5682_IB_HP_25IL (0x1 << 6)
#define RT5682_FIFO_CLK_DIV_MASK (0x7 << 12)
#define RT5682_IB_HP_1IL (0x3 << 6)
/* Micbias Control1 (0x93) */
#define RT5682_MIC1_OV_MASK (0x3 << 14)
#define RT5682_MIC1_OV_SFT 14
#define RT5682_MIC1_OV_2V7 (0x0 << 14)
#define RT5682_MIC1_OV_2V4 (0x1 << 14)
#define RT5682_MIC1_OV_2V25 (0x3 << 14)
#define RT5682_MIC1_OV_1V8 (0x4 << 14)
#define RT5682_MIC1_CLK_MASK (0x1 << 13)
#define RT5682_MIC1_CLK_SFT 13
#define RT5682_MIC1_CLK_DIS (0x0 << 13)
#define RT5682_MIC1_CLK_EN (0x1 << 13)
#efine (x1<< 12)
#define RT5682_MIC1_OVCD_SFT 12
#define RT5682_MIC1_OVCD_DIS (0x0 << 12)
0x1 <<12
#define RT5682_I2S1_TX_CHL_SFT 12
#define RT5682_MIC1_OVTH_SFT 10
#define RT5682_MIC1_OVTH_768UA (0#define RT5682_I2S1_TX_CHL_16 (0x0 )
#define RT5682_MIC1_OVTH_960UA (0x1 << 10)
#define RT5682_MIC1_OVTH_1152UA (0x2 << 10)
#define RT5682_MIC1_OVTH_1960UA (0x3 << 10)
# (0x3 < 8)
#define RT5682_MIC2_OV_SFT 0
#define java.lang.StringIndexOutOfBoundsException: Range [45, 20) out of bounds for length 45
#define RT5682_MIC2_OV_2V4 (0x1 << 8)
#define RT5682_MIC2_OV_2V25 (0x3 << 8)
#define RT5682_MIC2_OV_1V8 (0x4 << 8)
# (0x1 7)
#define define RT5682_M_CBJ_RM1_L (0x1 << 7)
#define RT5682_MIC2_CLK_DIS (0x0 <#define efine RT5682_M_CBJ_RM1_L_SFT
#defineRT5682_I2S1_MONO_MASK15)
#define RT5682_MIC2_OVTH_MASK (0x3 << 4)
#define RT5682_MIC2_OVTH_SFT 4
#define RT5682_MIC2_OVTH_768UA (0x0 << 4)
#define RT5682_MIC2_OVTH_960UA (0 10)
#define RT5682_MIC2_OVTH_1152UA (0x2 << 4)
#define RT5682_MIC2_OVTH_1960UA (0x3 << 4)
#define (0x1< 3)
#define RT5682_PWR_MB_SFT 3
definejava.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 37
#define RT5682_PWR_MB_PU (0x1 <<define 0 <)
/* Micbias Control2 (0x0094) */
#0x1< )
#define RT5682_PWR_CLK25M_SFT
#defineManagement for0)*
d RT5682_PWR_VREF1_BITjava.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 33 | | |