Searched refs:frq_reg (Results 1 – 1 of 1) sorted by relevance
258 u32 control_reg, clock, base_rate, frq_reg; in set_sample_rate() local311 frq_reg = E3G_MAGIC_NUMBER / base_rate - 2; in set_sample_rate()312 if (frq_reg > E3G_FREQ_REG_MAX) in set_sample_rate()313 frq_reg = E3G_FREQ_REG_MAX; in set_sample_rate()321 return write_control_reg(chip, control_reg, frq_reg, 0); in set_sample_rate()