#ifndef WM8785_H_INCLUDED #define WM8785_H_INCLUDED #define WM8785_R0 0 #define WM8785_R1 1 #define WM8785_R2 2 #define WM8785_R7 7 /* R0 */ #define WM8785_MCR_MASK 0x007 #define WM8785_MCR_SLAVE 0x000 #define WM8785_MCR_MASTER_128 0x001 #define WM8785_MCR_MASTER_192 0x002 #define WM8785_MCR_MASTER_256 0x003 #define WM8785_MCR_MASTER_384 0x004 #define WM8785_MCR_MASTER_512 0x005 #define WM8785_MCR_MASTER_768 0x006 #define WM8785_OSR_MASK 0x018 #define WM8785_OSR_SINGLE 0x000 #define WM8785_OSR_DOUBLE 0x008 #define WM8785_OSR_QUAD 0x010 #define WM8785_FORMAT_MASK 0x060 #define WM8785_FORMAT_RJUST 0x000 #define WM8785_FORMAT_LJUST 0x020 #define WM8785_FORMAT_I2S 0x040 #define WM8785_FORMAT_DSP 0x060 /* R1 */ #define WM8785_WL_MASK 0x003 #define WM8785_WL_16 0x000 #define WM8785_WL_20 0x001 #define WM8785_WL_24 0x002 #define WM8785_WL_32 0x003 #define WM8785_LRP 0x004 #define WM8785_BCLKINV 0x008 #define WM8785_LRSWAP 0x010 #define WM8785_DEVNO_MASK 0x0e0 /* R2 */ #define WM8785_HPFR 0x001 #define WM8785_HPFL 0x002 #define WM8785_SDODIS 0x004 #define WM8785_PWRDNR 0x008 #define WM8785_PWRDNL 0x010 #define WM8785_TDM_MASK 0x1c0 #endif e' selected='selected'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/snow.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2017-01-29 15:07:34 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-30 22:05:43 -0500
commit1a0bee6c1e788218fd1d141db320db970aace7f0 (patch)
tree46c4116bc8ef4a7df718516a648597d9e21c15f1 /sound/soc/samsung/snow.c
parent63c190429020a9701b42887ac22c28f287f1762f (diff)
sh_eth: rename EESIPR bits
Since the commit b0ca2a21f769 ("sh_eth: Add support of SH7763 to sh_eth") the *enum* declaring the EESIPR bits (interrupt mask) went out of sync with the *enum* declaring the EESR bits (interrupt status) WRT bit naming and formatting. I'd like to restore the consistency by using EESIPR as the bit name prefix, renaming the *enum* to EESIPR_BIT, and (finally) renaming the bits according to the available Renesas SH77{34|63} manuals; additionally, reconstruct couple names using the EESR bit declaration above... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/soc/samsung/snow.c')