|
@@ -47,9 +47,12 @@
|
|
|
#define LPASS_CDC_WSA2_MACRO_MUX_INP_MASK2 0x38
|
|
|
#define LPASS_CDC_WSA2_MACRO_MUX_CFG_OFFSET 0x8
|
|
|
#define LPASS_CDC_WSA2_MACRO_MUX_CFG1_OFFSET 0x4
|
|
|
-#define LPASS_CDC_WSA2_MACRO_RX_COMP_OFFSET 0x40
|
|
|
-#define LPASS_CDC_WSA2_MACRO_RX_SOFTCLIP_OFFSET 0x40
|
|
|
-#define LPASS_CDC_WSA2_MACRO_RX_PATH_OFFSET 0x80
|
|
|
+#define LPASS_CDC_WSA2_MACRO_RX_COMP_OFFSET \
|
|
|
+ (LPASS_CDC_WSA2_COMPANDER1_CTL0 - LPASS_CDC_WSA2_COMPANDER0_CTL0)
|
|
|
+#define LPASS_CDC_WSA2_MACRO_RX_SOFTCLIP_OFFSET \
|
|
|
+ (LPASS_CDC_WSA2_SOFTCLIP1_CRC - LPASS_CDC_WSA2_SOFTCLIP0_CRC)
|
|
|
+#define LPASS_CDC_WSA2_MACRO_RX_PATH_OFFSET \
|
|
|
+ (LPASS_CDC_WSA2_RX1_RX_PATH_CTL - LPASS_CDC_WSA2_RX0_RX_PATH_CTL)
|
|
|
#define LPASS_CDC_WSA2_MACRO_RX_PATH_CFG3_OFFSET 0x10
|
|
|
#define LPASS_CDC_WSA2_MACRO_RX_PATH_DSMDEM_OFFSET 0x4C
|
|
|
#define LPASS_CDC_WSA2_MACRO_FS_RATE_MASK 0x0F
|