Lines Matching refs:sample_rate
428 int *sample_rate) in pcxhr_sub_get_external_clock() argument
484 *sample_rate = rate; in pcxhr_sub_get_external_clock()
491 int *sample_rate) in pcxhr_get_external_clock() argument
495 sample_rate); in pcxhr_get_external_clock()
498 sample_rate); in pcxhr_get_external_clock()
558 int err, is_capture, sample_rate, stream_num; in pcxhr_set_format() local
591 sample_rate = chip->mgr->sample_rate; in pcxhr_set_format()
592 if (sample_rate <= 32000 && sample_rate !=0) { in pcxhr_set_format()
593 if (sample_rate <= 11025) in pcxhr_set_format()
930 if (mgr->sample_rate != subs->runtime->rate) { in pcxhr_prepare()
934 if (mgr->sample_rate == 0) in pcxhr_prepare()
937 mgr->sample_rate = subs->runtime->rate; in pcxhr_prepare()
1065 if (mgr->sample_rate) in pcxhr_open()
1066 runtime->hw.rate_min = runtime->hw.rate_max = mgr->sample_rate; in pcxhr_open()
1115 mgr->sample_rate = 0; /* the sample rate is no more locked */ in pcxhr_close()
1349 int i, err, sample_rate; in pcxhr_proc_sync() local
1351 err = pcxhr_get_external_clock(mgr, i, &sample_rate); in pcxhr_proc_sync()
1355 texts[i], sample_rate); in pcxhr_proc_sync()