Lines Matching +full:- +full:n
4 * SPDX-License-Identifier: Apache-2.0
12 /* NPCX9 SCFG multi-registers */
13 #define NPCX_DEVALT_OFFSET(n) (0x010 + n) argument
14 #define NPCX_PUPD_EN_OFFSET(n) (0x028 + n) argument
15 #define NPCX_LV_GPIO_CTL_OFFSET(n) ((n < 5) ? (0x02a + n) : (0x021 + n)) argument
16 #define NPCX_DEVALT_LK_OFFSET(n) (0x210 + n) argument
18 /* NPCX9 MIWU multi-registers */
19 #define NPCX_WKEDG_OFFSET(n) (0x000 + (n * 0x010)) argument
20 #define NPCX_WKAEDG_OFFSET(n) (0x001 + (n * 0x010)) argument
21 #define NPCX_WKMOD_OFFSET(n) (0x002 + (n * 0x010)) argument
22 #define NPCX_WKPND_OFFSET(n) (0x003 + (n * 0x010)) argument
23 #define NPCX_WKPCL_OFFSET(n) (0x004 + (n * 0x010)) argument
24 #define NPCX_WKEN_OFFSET(n) (0x005 + (n * 0x010)) argument
25 #define NPCX_WKST_OFFSET(n) (0x006 + (n * 0x010)) argument
26 #define NPCX_WKINEN_OFFSET(n) (0x007 + (n * 0x010)) argument
28 /* NPCX9 ADC multi-registers */
29 #define NPCX_CHNDAT_OFFSET(n) (0x040 + (n * 2)) argument
30 #define NPCX_THRCTL_OFFSET(n) (0x060 + (n * 2)) argument
45 BIT(15) | BIT(16) | BIT(17) | BIT(18)) /* DEVALT0_LK - DEVALTJ_LK */