Searched refs:rate_sel (Results 1 – 1 of 1) sorted by relevance
1167 int rate_sel = 0; in ds3231_clk_sqw_recalc_rate() local1173 rate_sel += 1; in ds3231_clk_sqw_recalc_rate()1175 rate_sel += 2; in ds3231_clk_sqw_recalc_rate()1177 return ds3231_clk_sqw_rates[rate_sel]; in ds3231_clk_sqw_recalc_rate()1198 int rate_sel; in ds3231_clk_sqw_set_rate() local1200 for (rate_sel = 0; rate_sel < ARRAY_SIZE(ds3231_clk_sqw_rates); in ds3231_clk_sqw_set_rate()1201 rate_sel++) { in ds3231_clk_sqw_set_rate()1202 if (ds3231_clk_sqw_rates[rate_sel] == rate) in ds3231_clk_sqw_set_rate()1206 if (rate_sel == ARRAY_SIZE(ds3231_clk_sqw_rates)) in ds3231_clk_sqw_set_rate()1209 if (rate_sel & 1) in ds3231_clk_sqw_set_rate()[all …]