Lines Matching +full:4 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
37 #define PIN_DIRECTION_MASK BIT(5)
40 #define DAC_I2S_MODE_MASK BIT(4)
41 #define DAC_I2S_MODE_SLAVE (0x0 << 4)
42 #define DAC_I2S_MODE_MASTER (0x1 << 4)
45 #define DAC_I2S_LRP_MASK BIT(7)
53 #define DAC_MODE_MASK GENMASK(4, 3)
58 #define DAC_LR_SWAP_MASK BIT(2)
68 #define DAC_RST_MASK BIT(1)
71 #define DAC_BCP_MASK BIT(0)
76 #define DAC_CHARGE_XCHARGE_MASK BIT(7)
79 #define DAC_CHARGE_CURRENT_64I_MASK BIT(6)
81 #define DAC_CHARGE_CURRENT_32I_MASK BIT(5)
83 #define DAC_CHARGE_CURRENT_16I_MASK BIT(4)
84 #define DAC_CHARGE_CURRENT_16I (0x1 << 4)
85 #define DAC_CHARGE_CURRENT_08I_MASK BIT(3)
87 #define DAC_CHARGE_CURRENT_04I_MASK BIT(2)
89 #define DAC_CHARGE_CURRENT_02I_MASK BIT(1)
91 #define DAC_CHARGE_CURRENT_I_MASK BIT(0)
98 #define DAC_PWR_MASK BIT(6)
101 #define DACL_PATH_REFV_MASK BIT(5)
104 #define HPOUTL_ZERO_CROSSING_MASK BIT(4)
105 #define HPOUTL_ZERO_CROSSING_OFF (0x0 << 4)
106 #define HPOUTL_ZERO_CROSSING_ON (0x1 << 4)
107 #define DACR_PATH_REFV_MASK BIT(1)
110 #define HPOUTR_ZERO_CROSSING_MASK BIT(0)
115 #define DACL_REFV_MASK BIT(7)
118 #define DACL_CLK_MASK BIT(6)
121 #define DACL_MASK BIT(5)
124 #define DACL_INIT_MASK BIT(4)
125 #define DACL_INIT_OFF (0x0 << 4)
126 #define DACL_INIT_ON (0x1 << 4)
127 #define DACR_REFV_MASK BIT(3)
130 #define DACR_CLK_MASK BIT(2)
133 #define DACR_MASK BIT(1)
136 #define DACR_INIT_MASK BIT(0)
141 #define HPMIXL_MASK BIT(6)
144 #define HPMIXL_INIT_MASK BIT(5)
147 #define HPMIXL_INIT2_MASK BIT(4)
148 #define HPMIXL_INIT2_DIS (0x0 << 4)
149 #define HPMIXL_INIT2_EN (0x1 << 4)
150 #define HPMIXR_MASK BIT(2)
153 #define HPMIXR_INIT_MASK BIT(1)
156 #define HPMIXR_INIT2_MASK BIT(0)
161 #define DACL_SELECT_MASK BIT(4)
162 #define DACL_UNSELECT (0x0 << 4)
163 #define DACL_SELECT (0x1 << 4)
164 #define DACR_SELECT_MASK BIT(0)
169 #define HPOUTL_MASK BIT(7)
172 #define HPOUTL_INIT_MASK BIT(6)
175 #define HPOUTL_MUTE_MASK BIT(5)
178 #define HPOUTR_MASK BIT(4)
179 #define HPOUTR_DIS (0x0 << 4)
180 #define HPOUTR_EN (0x1 << 4)
181 #define HPOUTR_INIT_MASK BIT(3)
184 #define HPOUTR_MUTE_MASK BIT(2)
189 #define HPOUTL_GAIN_MASK GENMASK(4, 0)
192 #define HPOUTR_GAIN_MASK GENMASK(4, 0)
195 #define HPOUTR_POP_MASK GENMASK(5, 4)
196 #define HPOUTR_POP_XCHARGE (0x1 << 4)
197 #define HPOUTR_POP_WORK (0x2 << 4)