Lines Matching refs:rate
502 struct audioformat *fmt, int rate) in set_sample_rate_v1() argument
517 data[0] = rate; in set_sample_rate_v1()
518 data[1] = rate >> 8; in set_sample_rate_v1()
519 data[2] = rate >> 16; in set_sample_rate_v1()
526 iface, fmt->altsetting, rate, ep); in set_sample_rate_v1()
556 if (crate != rate) { in set_sample_rate_v1()
557 dev_warn(&dev->dev, "current rate %d is different from the runtime rate %d\n", crate, rate); in set_sample_rate_v1()
587 struct audioformat *fmt, int rate) in set_sample_rate_v2v3() argument
614 if (prev_rate == rate) in set_sample_rate_v2v3()
632 data = cpu_to_le32(rate); in set_sample_rate_v2v3()
641 iface, fmt->altsetting, rate, err); in set_sample_rate_v2v3()
651 if (cur_rate != rate) { in set_sample_rate_v2v3()
655 iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
660 cur_rate, rate); in set_sample_rate_v2v3()
665 if (rate != prev_rate) { in set_sample_rate_v2v3()
686 struct audioformat *fmt, int rate) in snd_usb_init_sample_rate() argument
691 return set_sample_rate_v1(chip, iface, alts, fmt, rate); in snd_usb_init_sample_rate()
695 if (rate != UAC3_BADD_SAMPLING_RATE) in snd_usb_init_sample_rate()
702 return set_sample_rate_v2v3(chip, iface, alts, fmt, rate); in snd_usb_init_sample_rate()