Lines Matching refs:STV6110x_CTRL2
239 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 0); in stv6110x_set_refclock()
242 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 1); in stv6110x_set_refclock()
245 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 2); in stv6110x_set_refclock()
249 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_CO_DIV, 3); in stv6110x_set_refclock()
252 stv6110x_write_reg(stv6110x, STV6110x_CTRL2, stv6110x->regs[STV6110x_CTRL2]); in stv6110x_set_refclock()
261 stv6110x_read_reg(stv6110x, STV6110x_CTRL2, &stv6110x->regs[STV6110x_CTRL2]); in stv6110x_get_bbgain()
262 *gain = 2 * STV6110x_GETFIELD(CTRL2_BBGAIN, stv6110x->regs[STV6110x_CTRL2]); in stv6110x_get_bbgain()
271 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_BBGAIN, gain / 2); in stv6110x_set_bbgain()
272 stv6110x_write_reg(stv6110x, STV6110x_CTRL2, stv6110x->regs[STV6110x_CTRL2]); in stv6110x_set_bbgain()
348 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], in stv6110x_setup_divider()
353 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], in stv6110x_setup_divider()
358 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], in stv6110x_setup_divider()
364 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], in stv6110x_setup_divider()