Lines Matching defs:rate
225 int rate;
229 * Get clock rate
239 * u32: rate (in Hz)
263 device_printf(sc->dev, "can't get clock rate (id=%u)\n",
269 rate = (int)msg->body.resp.rate_hz;
270 DPRINTF("clock = %d(Hz)\n", rate);
271 return (rate);
279 int rate;
283 * Get max clock rate
293 * u32: rate (in Hz)
317 device_printf(sc->dev, "can't get max clock rate (id=%u)\n",
323 rate = (int)msg->body.resp.rate_hz;
324 DPRINTF("clock = %d(Hz)\n", rate);
325 return (rate);
333 int rate;
337 * Get min clock rate
347 * u32: rate (in Hz)
371 device_printf(sc->dev, "can't get min clock rate (id=%u)\n",
377 rate = (int)msg->body.resp.rate_hz;
378 DPRINTF("clock = %d(Hz)\n", rate);
379 return (rate);
387 int rate;
391 * Set clock rate
397 * u32: rate (in Hz)
402 * u32: rate (in Hz)
427 device_printf(sc->dev, "can't set clock rate (id=%u)\n",
457 "can't set clock rate (id=%u)\n", clock_id);
463 rate = (int)msg->body.resp.rate_hz;
464 DPRINTF("clock = %d(Hz)\n", rate);
465 return (rate);