Lines Matching refs:id
34 #define DDC_GPIO_REG_LIST_ENTRY(type, cd, id) \
35 .type ## _reg = REG(DC_GPIO_DDC ## id ## _ ## type),\
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),\
49 .ddc_setup = REG(DC_I2C_DDC ## id ## _SETUP)
51 #define DDC_REG_LIST_DCN2(cd, id) \
52 DDC_GPIO_REG_LIST(cd, id),\
53 .ddc_setup = REG(DC_I2C_DDC ## id ## _SETUP),\
151 #define ddc_data_regs(id) \
153 DDC_REG_LIST(DATA, id)\
156 #define ddc_clk_regs(id) \
158 DDC_REG_LIST(CLK, id)\
180 #define ddc_data_regs_dcn2(id) \
182 DDC_REG_LIST_DCN2(DATA, id)\
185 #define ddc_clk_regs_dcn2(id) \
187 DDC_REG_LIST_DCN2(CLK, id)\