Lines Matching +full:6 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Chris Zhong <zyw@rock-chips.com>
8 * Author: Zhang Qing <zhangqing@rock-chips.com>
195 #define RK818_H5V_EN BIT(0)
196 #define RK818_REF_RDY_CTRL BIT(1)
264 #define RK805_IRQ_RTC_PERIOD 6
267 #define RK805_IRQ_PWRON_RISE_MSK BIT(0)
268 #define RK805_IRQ_VB_LOW_MSK BIT(1)
269 #define RK805_IRQ_PWRON_MSK BIT(2)
270 #define RK805_IRQ_PWRON_LP_MSK BIT(3)
271 #define RK805_IRQ_HOTDIE_MSK BIT(4)
272 #define RK805_IRQ_RTC_ALARM_MSK BIT(5)
273 #define RK805_IRQ_RTC_PERIOD_MSK BIT(6)
274 #define RK805_IRQ_PWRON_FALL_MSK BIT(7)
276 #define RK805_PWR_RISE_INT_STATUS BIT(0)
277 #define RK805_VB_LOW_INT_STATUS BIT(1)
278 #define RK805_PWRON_INT_STATUS BIT(2)
279 #define RK805_PWRON_LP_INT_STATUS BIT(3)
280 #define RK805_HOTDIE_INT_STATUS BIT(4)
281 #define RK805_ALARM_INT_STATUS BIT(5)
282 #define RK805_PERIOD_INT_STATUS BIT(6)
283 #define RK805_PWR_FALL_INT_STATUS BIT(7)
285 #define RK805_BUCK1_2_ILMAX_MASK (3 << 6)
287 #define RK805_RTC_PERIOD_INT_MASK (1 << 6)
299 #define RK808_IRQ_RTC_PERIOD 6
304 #define RK808_IRQ_VOUT_LO_MSK BIT(0)
305 #define RK808_IRQ_VB_LO_MSK BIT(1)
306 #define RK808_IRQ_PWRON_MSK BIT(2)
307 #define RK808_IRQ_PWRON_LP_MSK BIT(3)
308 #define RK808_IRQ_HOTDIE_MSK BIT(4)
309 #define RK808_IRQ_RTC_ALARM_MSK BIT(5)
310 #define RK808_IRQ_RTC_PERIOD_MSK BIT(6)
311 #define RK808_IRQ_PLUG_IN_INT_MSK BIT(0)
312 #define RK808_IRQ_PLUG_OUT_INT_MSK BIT(1)
321 #define RK818_IRQ_RTC_PERIOD 6
332 #define RK818_IRQ_VOUT_LO_MSK BIT(0)
333 #define RK818_IRQ_VB_LO_MSK BIT(1)
334 #define RK818_IRQ_PWRON_MSK BIT(2)
335 #define RK818_IRQ_PWRON_LP_MSK BIT(3)
336 #define RK818_IRQ_HOTDIE_MSK BIT(4)
337 #define RK818_IRQ_RTC_ALARM_MSK BIT(5)
338 #define RK818_IRQ_RTC_PERIOD_MSK BIT(6)
339 #define RK818_IRQ_USB_OV_MSK BIT(7)
340 #define RK818_IRQ_PLUG_IN_MSK BIT(0)
341 #define RK818_IRQ_PLUG_OUT_MSK BIT(1)
342 #define RK818_IRQ_CHG_OK_MSK BIT(2)
343 #define RK818_IRQ_CHG_TE_MSK BIT(3)
344 #define RK818_IRQ_CHG_TS1_MSK BIT(4)
345 #define RK818_IRQ_TS2_MSK BIT(5)
346 #define RK818_IRQ_CHG_CVTLIM_MSK BIT(6)
347 #define RK818_IRQ_DISCHG_ILIM_MSK BIT(7)
373 #define SWITCH2_EN BIT(6)
374 #define SWITCH1_EN BIT(5)
375 #define DEV_OFF_RST BIT(3)
376 #define DEV_OFF BIT(0)
377 #define RTC_STOP BIT(0)
379 #define VB_LO_ACT BIT(4)
382 #define VOUT_LO_INT BIT(0)
383 #define CLK32KOUT2_EN BIT(0)
391 #define PWM_MODE_MSK BIT(7)
392 #define FPWM_MODE BIT(7)
490 #define RK817_IRQ_RTC_PERIOD 6
514 #define RK817_RTC_CTRL_RSV4 BIT(4)
517 #define RK817_BUCK3_FB_RES_MSK BIT(6)
518 #define RK817_BUCK3_FB_RES_INTER BIT(6)
522 #define RK817_RAMP_RATE_OFFSET 6
536 #define RK817_TSD_TEMP_MSK BIT(6)
538 #define RK817_TSD_160 BIT(6)
540 #define RK817_CLK32KOUT2_EN BIT(7)
549 #define RK817_RST_FUNC_MSK (0x3 << 6)
550 #define RK817_RST_FUNC_SFT (6)
553 #define RK817_RST_FUNC_REG (0x1 << 6) /* reset the reg only */
555 #define RK817_SLPPOL_MSK BIT(5)
556 #define RK817_SLPPOL_H BIT(5)
560 #define RK817_INT_POL_MSK BIT(1)
561 #define RK817_INT_POL_H BIT(1)