Lines Matching defs:n
19 #define PMUGRF_OS_REG(n) (PMUGRF_OS_REG0 + (n) * 4) argument
22 #define DDR_GRF_CON(n) (0 + (n) * 4) argument
24 #define DDR_GRF_STATUS(n) (DDR_GRF_STATUS_BASE + (n) * 4) argument
42 #define PB(n) ((0x1 << (15 + 16)) | ((n) << 15)) argument
43 #define POSTDIV1(n) ((0x7 << (12 + 16)) | ((n) << 12)) argument
44 #define FBDIV(n) ((0xFFF << 16) | (n)) argument
47 #define RSTMODE(n) ((0x1 << (15 + 16)) | ((n) << 15)) argument
48 #define RST(n) ((0x1 << (14 + 16)) | ((n) << 14)) argument
49 #define PD(n) ((0x1 << (13 + 16)) | ((n) << 13)) argument
50 #define DSMPD(n) ((0x1 << (12 + 16)) | ((n) << 12)) argument
51 #define LOCK(n) (((n) >> 10) & 0x1) argument
52 #define POSTDIV2(n) ((0x7 << (6 + 16)) | ((n) << 6)) argument
53 #define REFDIV(n) ((0x3F << 16) | (n)) argument
59 #define DPLL_MODE(n) ((0x3 << (4 + 16)) | ((n) << 4)) argument
62 #define upctl2_psrstn_req(n) (((0x1 << 6) << 16) | ((n) << 6)) argument
63 #define upctl2_asrstn_req(n) (((0x1 << 5) << 16) | ((n) << 5)) argument
64 #define upctl2_srstn_req(n) (((0x1 << 4) << 16) | ((n) << 4)) argument
67 #define ddrphy_psrstn_req(n) (((0x1 << 2) << 16) | ((n) << 2)) argument
68 #define ddrphy_srstn_req(n) (((0x1 << 0) << 16) | ((n) << 0)) argument
71 #define CRU_PLL_CON(pll_id, n) ((pll_id) * 0x20 + (n) * 4) argument