Lines Matching refs:srcomp_value
199 u32 srcomp_value, mul_factor, div_factor, clk_val, i; in srcomp_enable() local
210 srcomp_value = readl((*ctrl)->control_srcomp_north_side + i*4); in srcomp_enable()
211 srcomp_value &= in srcomp_enable()
213 srcomp_value |= (mul_factor << MULTIPLY_FACTOR_XS_SHIFT) | in srcomp_enable()
215 writel(srcomp_value, (*ctrl)->control_srcomp_north_side + i*4); in srcomp_enable()
224 srcomp_value = in srcomp_enable()
226 srcomp_value &= ~PWRDWN_XS_MASK; in srcomp_enable()
227 writel(srcomp_value, in srcomp_enable()
235 srcomp_value = in srcomp_enable()
237 srcomp_value &= ~OVERRIDE_XS_MASK; in srcomp_enable()
238 writel(srcomp_value, in srcomp_enable()
242 srcomp_value = readl((*ctrl)->control_srcomp_east_side_wkup); in srcomp_enable()
243 srcomp_value &= ~(MULTIPLY_FACTOR_XS_MASK | in srcomp_enable()
245 srcomp_value |= (mul_factor << MULTIPLY_FACTOR_XS_SHIFT) | in srcomp_enable()
247 writel(srcomp_value, (*ctrl)->control_srcomp_east_side_wkup); in srcomp_enable()
250 srcomp_value = in srcomp_enable()
252 srcomp_value |= SRCODE_OVERRIDE_SEL_XS_MASK; in srcomp_enable()
253 writel(srcomp_value, in srcomp_enable()
256 srcomp_value = in srcomp_enable()
258 srcomp_value &= ~OVERRIDE_XS_MASK; in srcomp_enable()
259 writel(srcomp_value, in srcomp_enable()
263 srcomp_value = in srcomp_enable()
265 srcomp_value |= SRCODE_OVERRIDE_SEL_XS_MASK; in srcomp_enable()
266 writel(srcomp_value, (*ctrl)->control_srcomp_east_side_wkup); in srcomp_enable()
268 srcomp_value = in srcomp_enable()
270 srcomp_value &= ~OVERRIDE_XS_MASK; in srcomp_enable()
271 writel(srcomp_value, (*ctrl)->control_srcomp_east_side_wkup); in srcomp_enable()
287 srcomp_value = in srcomp_enable()
289 srcomp_value &= ~SRCODE_OVERRIDE_SEL_XS_MASK; in srcomp_enable()
290 writel(srcomp_value, in srcomp_enable()
298 srcomp_value = in srcomp_enable()
300 srcomp_value &= ~SRCODE_OVERRIDE_SEL_XS_MASK; in srcomp_enable()
301 writel(srcomp_value, (*ctrl)->control_srcomp_east_side_wkup); in srcomp_enable()