Lines Matching refs:rate_sel
1441 int rate_sel = 0;
1447 rate_sel += 1;
1449 rate_sel += 2;
1451 return ds3231_clk_sqw_rates[rate_sel];
1472 int rate_sel;
1474 for (rate_sel = 0; rate_sel < ARRAY_SIZE(ds3231_clk_sqw_rates);
1475 rate_sel++) {
1476 if (ds3231_clk_sqw_rates[rate_sel] == rate)
1480 if (rate_sel == ARRAY_SIZE(ds3231_clk_sqw_rates))
1483 if (rate_sel & 1)
1485 if (rate_sel & 2)