Lines Matching +full:1 +full:x

35 #       define PWR_GATING_EN                            (1 << 0)
36 # define RSVD_MASK (0x3 << 1)
37 # define PCV(x) ((x) << 3) argument
40 # define PCP(x) ((x) << 8) argument
43 # define RPW(x) ((x) << 16) argument
46 # define ID(x) ((x) << 24) argument
49 # define PGS(x) ((x) << 28) argument
55 # define LCLK_SCALING_EN (1 << 0)
56 # define LCLK_SCALING_TYPE (1 << 1)
57 # define LCLK_SCALING_TIMER_PRESCALER(x) ((x) << 4) argument
60 # define LCLK_SCALING_TIMER_PERIOD(x) ((x) << 16) argument
65 # define MPPU(x) ((x) << 0) argument
68 # define MPPD(x) ((x) << 16) argument
72 # define DPPU(x) ((x) << 0) argument
75 # define DPPD(x) ((x) << 16) argument
79 # define RT(x) ((x) << 0) argument
82 # define IT(x) ((x) << 16) argument
110 # define GMC_PWR_GATER_BUSY (1 << 8)
111 # define GFX_PWR_GATER_BUSY (1 << 9)
112 # define UVD_PWR_GATER_BUSY (1 << 10)
113 # define PCIE_PWR_GATER_BUSY (1 << 11)
114 # define GMC_PWR_GATER_STATE (1 << 12)
115 # define GFX_PWR_GATER_STATE (1 << 13)
116 # define UVD_PWR_GATER_STATE (1 << 14)
117 # define PCIE_PWR_GATER_STATE (1 << 15)
118 # define GFX1_PWR_GATER_BUSY (1 << 16)
119 # define GFX2_PWR_GATER_BUSY (1 << 17)
120 # define GFX1_PWR_GATER_STATE (1 << 18)
121 # define GFX2_PWR_GATER_STATE (1 << 19)
124 # define INT_REQ (1 << 0)
125 # define SERV_INDEX(x) ((x) << 1) argument
126 # define SERV_INDEX_MASK (0xff << 1)
127 # define SERV_INDEX_SHIFT 1
129 # define INT_ACK (1 << 0)
130 # define INT_DONE (1 << 1)
133 # define SCLK_DIVIDER(x) ((x) << 0) argument
137 # define SCLK_OVERCLK_DETECT (1 << 2)
141 # define DCLK_DIR_CNTL_EN (1 << 8)
143 # define DCLK_STATUS (1 << 0)
146 # define VCLK_DIR_CNTL_EN (1 << 8)
150 # define STATIC_PM_EN (1 << 1)
153 # define SCLK_PWRMGT_OFF (1 << 0)
154 # define SCLK_LOW_D1 (1 << 1)
155 # define FIR_RESET (1 << 4)
156 # define FIR_FORCE_TREND_SEL (1 << 5)
157 # define FIR_TREND_MODE (1 << 6)
158 # define DYN_GFX_CLK_OFF_EN (1 << 7)
159 # define GFX_CLK_FORCE_ON (1 << 8)
160 # define GFX_CLK_REQUEST_OFF (1 << 9)
161 # define GFX_CLK_FORCE_OFF (1 << 10)
162 # define GFX_CLK_OFF_ACPI_D1 (1 << 11)
163 # define GFX_CLK_OFF_ACPI_D2 (1 << 12)
164 # define GFX_CLK_OFF_ACPI_D3 (1 << 13)
165 # define GFX_VOLTAGE_CHANGE_EN (1 << 16)
166 # define GFX_VOLTAGE_CHANGE_MODE (1 << 17)
169 # define TARG_SCLK_INDEX(x) ((x) << 6) argument
172 # define CURR_SCLK_INDEX(x) ((x) << 9) argument
175 # define TARG_INDEX(x) ((x) << 12) argument
178 # define CURR_INDEX(x) ((x) << 15) argument
183 # define SCLK_FSTATE_0_DIV(x) ((x) << 0) argument
186 # define SCLK_FSTATE_0_VLD (1 << 7)
187 # define SCLK_FSTATE_1_DIV(x) ((x) << 8) argument
190 # define SCLK_FSTATE_1_VLD (1 << 15)
191 # define SCLK_FSTATE_2_DIV(x) ((x) << 16) argument
194 # define SCLK_FSTATE_2_VLD (1 << 23)
195 # define SCLK_FSTATE_3_DIV(x) ((x) << 24) argument
198 # define SCLK_FSTATE_3_VLD (1 << 31)
201 # define PHC(x) ((x) << 0) argument
204 # define SDC(x) ((x) << 9) argument
207 # define SU(x) ((x) << 23) argument
210 # define DIV_ID(x) ((x) << 28) argument
216 # define UTC_0(x) ((x) << 0) argument
219 # define DTC_0(x) ((x) << 10) argument
224 # define CG_GICST(x) ((x) << 0) argument
227 # define CG_GIPOT(x) ((x) << 16) argument
232 # define FORCE_SCLK_STATE(x) ((x) << 0) argument
235 # define FORCE_SCLK_STATE_EN (1 << 3)
236 # define GNB_TT(x) ((x) << 8) argument
239 # define GNB_THERMTHRO_MASK (1 << 16)
240 # define CNB_THERMTHRO_MASK_SCLK (1 << 17)
241 # define DPM_SCLK_ENABLE (1 << 18)
242 # define GNB_SLOW_FSTATE_0_MASK (1 << 23)
244 # define FORCE_NB_PSTATE_1 (1 << 31)
247 # define SST(x) ((x) << 0) argument
250 # define SSTU(x) ((x) << 16) argument
255 # define SCLK_ACPI_DIV(x) ((x) << 0) argument
260 # define DC_HDC(x) ((x) << 14) argument
263 # define DC_HU(x) ((x) << 28) argument
267 # define SCLK_FSTATE_BOOTUP(x) ((x) << 0) argument
270 # define TT_TP(x) ((x) << 3) argument
273 # define TT_TU(x) ((x) << 19) argument
278 # define CG_R(x) ((x) << 0) argument
281 # define CG_L(x) ((x) << 16) argument
287 #define DIG_THERM_INTH(x) ((x) << 8) argument
290 #define DIG_THERM_INTL(x) ((x) << 16) argument
293 #define THERM_INT_MASK_HIGH (1 << 24)
294 #define THERM_INT_MASK_LOW (1 << 25)
302 # define BSP(x) ((x) << 0) argument
305 # define BSU(x) ((x) << 16) argument
310 # define REQ (1 << 0)
311 # define LEVEL(x) ((x) << 1) argument
312 # define LEVEL_MASK (0x3 << 1)
313 # define LEVEL_SHIFT 1
314 # define CG_VOLTAGE_EN (1 << 3)
315 # define FORCE (1 << 4)
316 # define PERIOD(x) ((x) << 8) argument
319 # define UNIT(x) ((x) << 24) argument
324 # define ACPI_VOLTAGE_EN (1 << 8)
329 # define DPM_VOLTAGE_EN (1 << 16)
332 # define DYN_PWR_DOWN_EN (1 << 0)
333 # define ACPI_PWR_DOWN_EN (1 << 1)
334 # define GFX_CLK_OFF_PWR_DOWN_EN (1 << 2)
335 # define IOC_DISGPU_PWR_DOWN_EN (1 << 3)
336 # define FORCE_POWR_ON (1 << 4)
337 # define PGP(x) ((x) << 8) argument
340 # define PGU(x) ((x) << 24) argument
348 # define R_DIS (1 << 3)
349 # define HS(x) ((x) << 4) argument
352 # define ENABLE_DS (1 << 31)
354 # define LB_UFP_EN (1 << 0)
355 # define INOUT_C(x) ((x) << 4) argument
366 /* 0 = A0, 1 = A1, 2 = B0, 3 = C0, etc. */