Lines Matching defs:rate
131 long rate;
135 * Limit the clock to a maximum rate that still gives us a period value
151 rate = clk_round_rate(clk, tmp);
152 if (rate < 0) {
153 dev_err(chip->dev, "Unable to round rate: %ld", rate);
154 return rate;
158 tmp = (unsigned long long)rate * state->period;
163 tmp = (unsigned long long)rate * state->duty_cycle;
172 err = clk_set_rate(clk, rate);
174 dev_err(chip->dev, "Unable to set rate: %d", err);