Lines Matching refs:n
24 #define __P2WI_CC_CLK(n) (((n) & 0xff) << 0) argument
26 #define __P2WI_CC_CLK_DIV(n) (((n) >> 1) - 1) argument
27 #define P2WI_CC_CLK_DIV(n) \ argument
28 __P2WI_CC_CLK(__P2WI_CC_CLK_DIV(n))
29 #define P2WI_CC_SDA_OUT_DELAY(n) (((n) & 0x7) << 8) argument
39 #define __P2WI_STAT_TRANS_ERR(n) (((n) & 0xff) << 8) argument
66 #define P2WI_DATADDR_BYTE_1(n) (((n) & 0xff) << 0) argument
68 #define P2WI_DATADDR_BYTE_2(n) (((n) & 0xff) << 8) argument
70 #define P2WI_DATADDR_BYTE_3(n) (((n) & 0xff) << 16) argument
72 #define P2WI_DATADDR_BYTE_4(n) (((n) & 0xff) << 24) argument
74 #define P2WI_DATADDR_BYTE_5(n) (((n) & 0xff) << 0) argument
76 #define P2WI_DATADDR_BYTE_6(n) (((n) & 0xff) << 8) argument
78 #define P2WI_DATADDR_BYTE_7(n) (((n) & 0xff) << 16) argument
80 #define P2WI_DATADDR_BYTE_8(n) (((n) & 0xff) << 24) argument
83 #define __P2WI_DATA_NUM_BYTES(n) (((n) & 0x7) << 0) argument
85 #define P2WI_DATA_NUM_BYTES(n) __P2WI_DATA_NUM_BYTES((n) - 1) argument
88 #define P2WI_DATA_BYTE_1(n) (((n) & 0xff) << 0) argument
90 #define P2WI_DATA_BYTE_2(n) (((n) & 0xff) << 8) argument
92 #define P2WI_DATA_BYTE_3(n) (((n) & 0xff) << 16) argument
94 #define P2WI_DATA_BYTE_4(n) (((n) & 0xff) << 24) argument
96 #define P2WI_DATA_BYTE_5(n) (((n) & 0xff) << 0) argument
98 #define P2WI_DATA_BYTE_6(n) (((n) & 0xff) << 8) argument
100 #define P2WI_DATA_BYTE_7(n) (((n) & 0xff) << 16) argument
102 #define P2WI_DATA_BYTE_8(n) (((n) & 0xff) << 24) argument
112 #define P2WI_PM_DEV_ADDR(n) (((n) & 0xff) << 0) argument
114 #define P2WI_PM_CTRL_ADDR(n) (((n) & 0xff) << 8) argument
116 #define P2WI_PM_INIT_DATA(n) (((n) & 0xff) << 16) argument