Lines Matching defs:n
34 #define DDR_GRF_CON(n) (0 + (n) * 4) argument
36 #define DDR_GRF_STATUS(n) (DDR_GRF_STATUS_BASE + (n) * 4) argument
39 #define ddrphy_psrstn_req(n) (((0x1 << 15) << 16) | ((n) << 15)) argument
40 #define ddrphy_srstn_req(n) (((0x1 << 14) << 16) | ((n) << 14)) argument
41 #define ddrctrl_psrstn_req(n) (((0x1 << 13) << 16) | ((n) << 13)) argument
42 #define ddrctrl_srstn_req(n) (((0x1 << 12) << 16) | ((n) << 12)) argument
43 #define ddrmsch_srstn_req(n) (((0x1 << 11) << 16) | ((n) << 11)) argument
44 #define msch_srstn_req(n) (((0x1 << 9) << 16) | ((n) << 9)) argument
45 #define dfimon_srstn_req(n) (((0x1 << 8) << 16) | ((n) << 8)) argument
46 #define grf_ddr_srstn_req(n) (((0x1 << 7) << 16) | ((n) << 7)) argument
48 #define ddrctrl_asrstn_req(n) (((0x1 << 9) << 16) | ((n) << 9)) argument
51 #define CRU_PLL_CON(pll_id, n) ((pll_id) * 0x20 + (n) * 4) argument
62 #define PB(n) ((0x1 << (15 + 16)) | ((n) << 15)) argument
63 #define POSTDIV1(n) ((0x7 << (12 + 16)) | ((n) << 12)) argument
64 #define FBDIV(n) ((0xFFF << 16) | (n)) argument
67 #define RSTMODE(n) ((0x1 << (15 + 16)) | ((n) << 15)) argument
68 #define RST(n) ((0x1 << (14 + 16)) | ((n) << 14)) argument
69 #define PD(n) ((0x1 << (13 + 16)) | ((n) << 13)) argument
70 #define DSMPD(n) ((0x1 << (12 + 16)) | ((n) << 12)) argument
71 #define LOCK(n) (((n) >> 10) & 0x1) argument
72 #define POSTDIV2(n) ((0x7 << (6 + 16)) | ((n) << 6)) argument
73 #define REFDIV(n) ((0x3F << 16) | (n)) argument