diff options
author | Libin Yang <libin.yang@intel.com> | 2017-04-06 19:18:20 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-07 10:39:18 +0200 |
commit | dde5bff5415953f9cc7413f1b1ceebcdfd583c07 (patch) | |
tree | 82d60f43602bef6e2f3ac32a1756d031084fda69 /include | |
parent | 7e1621de146fbed6172252f14a6a41b2c5999a93 (diff) | |
download | linux-dde5bff5415953f9cc7413f1b1ceebcdfd583c07.tar.bz2 |
ALSA: hda - add more ML register definitions
This patch refines the definition of AZX_MLCTL_SPA and AZX_MLCTL_CPA
and add more definitions of ML registers
Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/hda_register.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sound/hda_register.h b/include/sound/hda_register.h index 1251ff41c9d3..15fc6daf9096 100644 --- a/include/sound/hda_register.h +++ b/include/sound/hda_register.h @@ -261,9 +261,11 @@ enum { SDI0, SDI1, SDI2, SDI3, SDO0, SDO1, SDO2, SDO3 }; #define AZX_REG_ML_LOUTPAY 0x20 #define AZX_REG_ML_LINPAY 0x30 -#define AZX_MLCTL_SPA (1<<16) -#define AZX_MLCTL_CPA 23 - +#define ML_LCTL_SCF_MASK 0xF +#define AZX_MLCTL_SPA (0x1 << 16) +#define AZX_MLCTL_CPA (0x1 << 23) +#define AZX_MLCTL_SPA_SHIFT 16 +#define AZX_MLCTL_CPA_SHIFT 23 /* registers for DMA Resume Capability Structure */ #define AZX_DRSM_CAP_ID 0x5 |