Lines Matching refs:cd

34 #define DDC_GPIO_REG_LIST_ENTRY(type, cd, id) \
36 .type ## _mask = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## _MASK,\
37 .type ## _shift = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## __SHIFT
39 #define DDC_GPIO_REG_LIST(cd, id) \
41 DDC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
42 DDC_GPIO_REG_LIST_ENTRY(A, cd, id),\
43 DDC_GPIO_REG_LIST_ENTRY(EN, cd, id),\
44 DDC_GPIO_REG_LIST_ENTRY(Y, cd, id)\
47 #define DDC_REG_LIST(cd, id) \
48 DDC_GPIO_REG_LIST(cd, id),\
51 #define DDC_REG_LIST_DCN2(cd, id) \
52 DDC_GPIO_REG_LIST(cd, id),\
57 #define DDC_GPIO_VGA_REG_LIST_ENTRY(type, cd)\
59 .type ## _mask = DC_GPIO_DDCVGA_ ## type ## __DC_GPIO_DDCVGA ## cd ## _ ## type ## _MASK,\
60 .type ## _shift = DC_GPIO_DDCVGA_ ## type ## __DC_GPIO_DDCVGA ## cd ## _ ## type ## __SHIFT
62 #define DDC_GPIO_VGA_REG_LIST(cd) \
64 DDC_GPIO_VGA_REG_LIST_ENTRY(MASK, cd),\
65 DDC_GPIO_VGA_REG_LIST_ENTRY(A, cd),\
66 DDC_GPIO_VGA_REG_LIST_ENTRY(EN, cd),\
67 DDC_GPIO_VGA_REG_LIST_ENTRY(Y, cd)\
70 #define DDC_VGA_REG_LIST(cd) \
71 DDC_GPIO_VGA_REG_LIST(cd),\
74 #define DDC_GPIO_I2C_REG_LIST_ENTRY(type, cd) \
76 .type ## _mask = DC_GPIO_I2CPAD_ ## type ## __DC_GPIO_ ## cd ## _ ## type ## _MASK,\
77 .type ## _shift = DC_GPIO_I2CPAD_ ## type ## __DC_GPIO_ ## cd ## _ ## type ## __SHIFT
79 #define DDC_GPIO_I2C_REG_LIST(cd) \
81 DDC_GPIO_I2C_REG_LIST_ENTRY(MASK, cd),\
82 DDC_GPIO_I2C_REG_LIST_ENTRY(A, cd),\
83 DDC_GPIO_I2C_REG_LIST_ENTRY(EN, cd),\
84 DDC_GPIO_I2C_REG_LIST_ENTRY(Y, cd)\
87 #define DDC_I2C_REG_LIST(cd) \
88 DDC_GPIO_I2C_REG_LIST(cd),\
91 #define DDC_I2C_REG_LIST_DCN2(cd) \
92 DDC_GPIO_I2C_REG_LIST(cd),\
109 #define DDC_MASK_SH_LIST_DCN2(mask_sh, cd) \
113 (PHY_AUX_CNTL__AUX## cd ##_PAD_RXSEL## mask_sh),\
114 (DC_GPIO_AUX_CTRL_5__DDC_PAD## cd ##_I2CMODE## mask_sh)}