Searched refs:rate_bits (Results 1 – 7 of 7) sorted by relevance
702 static const struct hda_rate_tbl rate_bits[] = { variable747 for (i = 0; rate_bits[i].hz; i++) in snd_hdac_calc_stream_format()748 if (rate_bits[i].hz == rate) { in snd_hdac_calc_stream_format()749 val = rate_bits[i].hda_fmt; in snd_hdac_calc_stream_format()752 if (!rate_bits[i].hz) in snd_hdac_calc_stream_format()837 rates |= rate_bits[i].alsa_bits; in snd_hdac_query_supported_pcm()942 if (rate_bits[i].hda_fmt == rate) { in snd_hdac_is_supported_format()
961 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask); in hdsp_spdif_sample_rate() local965 rate_bits = (status & HDSP_spdifFrequencyMask_9632); in hdsp_spdif_sample_rate()970 switch (rate_bits) { in hdsp_spdif_sample_rate()991 rate_bits, status); in hdsp_spdif_sample_rate()998 unsigned int rate_bits = status2 & HDSP_systemFrequencyMask; in hdsp_external_sample_rate() local1008 switch (rate_bits) { in hdsp_external_sample_rate()1115 int rate_bits; in hdsp_set_rate() local1166 rate_bits = HDSP_Frequency32KHz; in hdsp_set_rate()1171 rate_bits = HDSP_Frequency44_1KHz; in hdsp_set_rate()1176 rate_bits = HDSP_Frequency48KHz; in hdsp_set_rate()[all …]
1255 int syncref, rate = 0, rate_bits; in hdspm_external_sample_rate() local1338 rate_bits = status2 & HDSPM_wcFreqMask; in hdspm_external_sample_rate()1341 switch (rate_bits) { in hdspm_external_sample_rate()1384 rate_bits = status & HDSPM_madiFreqMask; in hdspm_external_sample_rate()1386 switch (rate_bits) { in hdspm_external_sample_rate()1633 int rate_bits; in hdspm_set_rate() local1703 rate_bits = HDSPM_Frequency32KHz; in hdspm_set_rate()1706 rate_bits = HDSPM_Frequency44_1KHz; in hdspm_set_rate()1709 rate_bits = HDSPM_Frequency48KHz; in hdspm_set_rate()1712 rate_bits = HDSPM_Frequency64KHz; in hdspm_set_rate()[all …]
703 unsigned int rate_bits; in rme9652_spdif_sample_rate() local730 rate_bits = rme9652_read(s, RME9652_status_register) & RME9652_F; in rme9652_spdif_sample_rate()732 switch (rme9652_decode_spdif_rate(rate_bits)) { in rme9652_spdif_sample_rate()760 s->card_name, rate_bits); in rme9652_spdif_sample_rate()
154 static int set_fixed_rate(struct audioformat *fp, int rate, int rate_bits) in set_fixed_rate() argument163 fp->rates = rate_bits; in set_fixed_rate()
80 static const unsigned int rate_bits[14] = { variable245 return rate_bits[i]; in snd_harmony_rate_bits()
1759 static const unsigned int rate_bits[] = { in snd_ac97_determine_spdif_rates() local1766 result |= rate_bits[i]; in snd_ac97_determine_spdif_rates()