Lines Matching refs:rate
3 * Clock domain and sample rate management functions
172 * single sample rate, the terminal is connected directly to it
186 * Sample rate changes takes more than 2 seconds for this device. Clock
472 * For all kinds of sample rate settings and other device queries,
474 * clock multipliers and sample rate converters may be specified as
502 struct audioformat *fmt, int rate)
513 /* if endpoint doesn't have sampling rate control, bail out */
517 data[0] = rate;
518 data[1] = rate >> 8;
519 data[2] = rate >> 16;
526 iface, fmt->altsetting, rate, ep);
530 /* Don't check the sample rate for devices which we know don't
551 dev_info(&dev->dev, "failed to read current rate; disabling the check\n");
556 if (crate != rate) {
557 dev_warn(&dev->dev, "current rate %d is different from the runtime rate %d\n", crate, rate);
558 // runtime->rate = crate;
587 struct audioformat *fmt, int rate)
603 * because the current sample rate does not match an
606 * rate.
614 if (prev_rate == rate)
632 data = cpu_to_le32(rate);
641 iface, fmt->altsetting, rate, err);
651 if (cur_rate != rate) {
655 iface, fmt->altsetting, rate, cur_rate);
659 "current rate %d is different from the runtime rate %d\n",
660 cur_rate, rate);
663 /* Some devices doesn't respond to sample rate changes while the
665 if (rate != prev_rate) {
673 /* validate clock after rate change */
681 struct audioformat *fmt, int rate)
686 return set_sample_rate_v1(chip, iface, alts, fmt, rate);
690 if (rate != UAC3_BADD_SAMPLING_RATE)
697 return set_sample_rate_v2v3(chip, iface, alts, fmt, rate);