Searched refs:frq_reg (Results 1 – 1 of 1) sorted by relevance
76 __le32 ctl_reg, frq_reg; in write_control_reg() local85 frq_reg = cpu_to_le32(frq); in write_control_reg()88 frq_reg != chip->comm_page->e3g_frq_register || force) { in write_control_reg()89 chip->comm_page->e3g_frq_register = frq_reg; in write_control_reg()260 u32 control_reg, clock, base_rate, frq_reg; in set_sample_rate() local313 frq_reg = E3G_MAGIC_NUMBER / base_rate - 2; in set_sample_rate()314 if (frq_reg > E3G_FREQ_REG_MAX) in set_sample_rate()315 frq_reg = E3G_FREQ_REG_MAX; in set_sample_rate()323 return write_control_reg(chip, control_reg, frq_reg, 0); in set_sample_rate()