Lines Matching refs:UPDATE
26 #define UPDATE(x, h, l) (((x) << (l)) & GENMASK((h), (l))) macro
51 #define POWER_WORK_ENABLE UPDATE(1, 1, 0)
52 #define POWER_WORK_DISABLE UPDATE(2, 1, 0)
65 #define REG_FBDIV_HI(x) UPDATE((x >> 8), 5, 5)
67 #define REG_PREDIV(x) UPDATE(x, 4, 0)
70 #define REG_FBDIV_LO(x) UPDATE(x, 7, 0)
73 #define SAMPLE_CLOCK_PHASE(x) UPDATE(x, 6, 4)
75 #define CLOCK_LANE_SKEW_PHASE(x) UPDATE(x, 2, 0)
78 #define DATA_LANE_3_SKEW_PHASE(x) UPDATE(x, 6, 4)
80 #define DATA_LANE_2_SKEW_PHASE(x) UPDATE(x, 2, 0)
83 #define DATA_LANE_1_SKEW_PHASE(x) UPDATE(x, 6, 4)
85 #define DATA_LANE_0_SKEW_PHASE(x) UPDATE(x, 2, 0)
97 #define CLOCK_LANE_VOD_RANGE_SET(x) UPDATE(x, 3, 0)
119 #define T_LPX_CNT(x) UPDATE(x, 5, 0)
122 #define T_HS_ZERO_CNT_HI(x) UPDATE(x, 7, 7)
124 #define T_HS_PREPARE_CNT(x) UPDATE(x, 6, 0)
127 #define T_HS_ZERO_CNT_LO(x) UPDATE(x, 5, 0)
130 #define T_HS_TRAIL_CNT(x) UPDATE(x, 6, 0)
133 #define T_HS_EXIT_CNT_LO(x) UPDATE(x, 4, 0)
136 #define T_CLK_POST_CNT_LO(x) UPDATE(x, 3, 0)
142 #define T_WAKEUP_CNT_HI(x) UPDATE(x, 1, 0)
145 #define T_WAKEUP_CNT_LO(x) UPDATE(x, 7, 0)
148 #define T_CLK_PRE_CNT(x) UPDATE(x, 3, 0)
151 #define T_CLK_POST_CNT_HI(x) UPDATE(x, 7, 6)
153 #define T_TA_GO_CNT(x) UPDATE(x, 5, 0)
156 #define T_HS_EXIT_CNT_HI(x) UPDATE(x, 6, 6)
158 #define T_TA_SURE_CNT(x) UPDATE(x, 5, 0)
161 #define T_TA_WAIT_CNT(x) UPDATE(x, 5, 0)