Lines Matching +full:10 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ALSA SoC Audio Layer - Rockchip SPDIF_RX Controller driver
15 #define SPDIFRX_CFGR_TWAD_STREAM BIT(1)
16 #define SPDIFRX_EN_MASK BIT(0)
17 #define SPDIFRX_EN BIT(0)
21 #define SPDIFRX_CLR_RXSC BIT(0)
24 #define SPDIFRX_CDR_CS_MASK GENMASK(10, 9)
25 #define SPDIFRX_CDR_AVGSEL_MASK BIT(1)
27 #define SPDIFRX_CDR_AVGSEL_AVG BIT(1)
28 #define SPDIFRX_CDR_BYPASS_MASK BIT(0)
29 #define SPDIFRX_CDR_BYPASS_EN BIT(0)
38 #define SPDIFRX_DMACR_RDE_MASK BIT(5)
40 #define SPDIFRX_DMACR_RDE_ENABLE BIT(5)
42 #define SPDIFRX_DMACR_RDL(x) (((x) - 1) << 0)
49 #define SPDIFRX_INTEN_UBCIE_MASK BIT(10)
50 #define SPDIFRX_INTEN_UBCIE_EN BIT(10)
51 #define SPDIFRX_INTEN_UBCIE_DIS (0 << 10)
52 #define SPDIFRX_INTEN_SYNCIE_MASK BIT(9)
53 #define SPDIFRX_INTEN_SYNCIE_EN BIT(9)
55 #define SPDIFRX_INTEN_BTEIE_MASK BIT(8)
56 #define SPDIFRX_INTEN_BTEIE_EN BIT(8)
58 #define SPDIFRX_INTEN_NSYNCIE_MASK BIT(7)
59 #define SPDIFRX_INTEN_NSYNCIE_EN BIT(7)
63 #define SPDIFRX_INTMASK_UBCIMSK BIT(10)
64 #define SPDIFRX_INTMASK_UBCIUMSK (0 << 10)
65 #define SPDIFRX_INTMASK_SYNCIMSK BIT(9)
67 #define SPDIFRX_INTMASK_BTEIMSK BIT(8)
69 #define SPDIFRX_INTMASK_NSYNCIMSK BIT(7)
73 #define SPDIFRX_INTSR_UBCISR_ACTIVE BIT(10)
74 #define SPDIFRX_INTSR_SYNCISR_ACTIVE BIT(9)
75 #define SPDIFRX_INTSR_BTEISR_ACTIVE BIT(8)
76 #define SPDIFRX_INTSR_NSYNCISR_ACTIVE BIT(7)
79 #define SPDIFRX_INTCLR_UBCICLR_MASK BIT(10)
80 #define SPDIFRX_INTCLR_UBCICLR BIT(10)
81 #define SPDIFRX_INTCLR_SYNCICLR_MASK BIT(9)
82 #define SPDIFRX_INTCLR_SYNCICLR BIT(9)
83 #define SPDIFRX_INTCLR_BTECLR_MASK BIT(8)
84 #define SPDIFRX_INTCLR_BIECLR BIT(8)
85 #define SPDIFRX_INTCLR_NSYNCICLR_MASK BIT(7)
86 #define SPDIFRX_INTCLR_NSYNCICLR BIT(7)
92 #define SPDIFRX_BURSTINFO_ERRFLAG_MASK BIT(7)
93 #define SPDIFRX_BURSTINFO_ERR BIT(7)