Lines Matching refs:sample_rate
415 int *sample_rate) in pcxhr_sub_get_external_clock() argument
471 *sample_rate = rate; in pcxhr_sub_get_external_clock()
478 int *sample_rate) in pcxhr_get_external_clock() argument
482 sample_rate); in pcxhr_get_external_clock()
485 sample_rate); in pcxhr_get_external_clock()
545 int err, is_capture, sample_rate, stream_num; in pcxhr_set_format() local
578 sample_rate = chip->mgr->sample_rate; in pcxhr_set_format()
579 if (sample_rate <= 32000 && sample_rate !=0) { in pcxhr_set_format()
580 if (sample_rate <= 11025) in pcxhr_set_format()
917 if (mgr->sample_rate != subs->runtime->rate) { in pcxhr_prepare()
921 if (mgr->sample_rate == 0) in pcxhr_prepare()
924 mgr->sample_rate = subs->runtime->rate; in pcxhr_prepare()
1036 if (mgr->sample_rate) in pcxhr_open()
1037 runtime->hw.rate_min = runtime->hw.rate_max = mgr->sample_rate; in pcxhr_open()
1086 mgr->sample_rate = 0; /* the sample rate is no more locked */ in pcxhr_close()
1317 int i, err, sample_rate; in pcxhr_proc_sync() local
1319 err = pcxhr_get_external_clock(mgr, i, &sample_rate); in pcxhr_proc_sync()
1323 texts[i], sample_rate); in pcxhr_proc_sync()