Home
last modified time | relevance | path

Searched refs:rate_bits (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/sound/pci/rme9652/
Dhdsp.c983 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask); in hdsp_spdif_sample_rate() local
987 rate_bits = (status & HDSP_spdifFrequencyMask_9632); in hdsp_spdif_sample_rate()
992 switch (rate_bits) { in hdsp_spdif_sample_rate()
1013 rate_bits, status); in hdsp_spdif_sample_rate()
1020 unsigned int rate_bits = status2 & HDSP_systemFrequencyMask; in hdsp_external_sample_rate() local
1030 switch (rate_bits) { in hdsp_external_sample_rate()
1137 int rate_bits; in hdsp_set_rate() local
1188 rate_bits = HDSP_Frequency32KHz; in hdsp_set_rate()
1193 rate_bits = HDSP_Frequency44_1KHz; in hdsp_set_rate()
1198 rate_bits = HDSP_Frequency48KHz; in hdsp_set_rate()
[all …]
Dhdspm.c1261 int syncref, rate = 0, rate_bits; in hdspm_external_sample_rate() local
1344 rate_bits = status2 & HDSPM_wcFreqMask; in hdspm_external_sample_rate()
1347 switch (rate_bits) { in hdspm_external_sample_rate()
1390 rate_bits = status & HDSPM_madiFreqMask; in hdspm_external_sample_rate()
1392 switch (rate_bits) { in hdspm_external_sample_rate()
1639 int rate_bits; in hdspm_set_rate() local
1709 rate_bits = HDSPM_Frequency32KHz; in hdspm_set_rate()
1712 rate_bits = HDSPM_Frequency44_1KHz; in hdspm_set_rate()
1715 rate_bits = HDSPM_Frequency48KHz; in hdspm_set_rate()
1718 rate_bits = HDSPM_Frequency64KHz; in hdspm_set_rate()
[all …]
Drme9652.c721 unsigned int rate_bits; in rme9652_spdif_sample_rate() local
748 rate_bits = rme9652_read(s, RME9652_status_register) & RME9652_F; in rme9652_spdif_sample_rate()
750 switch (rme9652_decode_spdif_rate(rate_bits)) { in rme9652_spdif_sample_rate()
778 s->card_name, rate_bits); in rme9652_spdif_sample_rate()
/linux-4.1.27/sound/parisc/
Dharmony.c93 static unsigned int rate_bits[14] = { variable
258 return rate_bits[i]; in snd_harmony_rate_bits()
/linux-4.1.27/sound/pci/hda/
Dhda_codec.c3329 static struct hda_rate_tbl rate_bits[] = { variable
3376 for (i = 0; rate_bits[i].hz; i++) in snd_hda_calc_stream_format()
3377 if (rate_bits[i].hz == rate) { in snd_hda_calc_stream_format()
3378 val = rate_bits[i].hda_fmt; in snd_hda_calc_stream_format()
3381 if (!rate_bits[i].hz) { in snd_hda_calc_stream_format()
3470 rates |= rate_bits[i].alsa_bits; in snd_hda_query_supported_pcm()
3575 if (rate_bits[i].hda_fmt == rate) { in snd_hda_is_supported_format()
/linux-4.1.27/sound/pci/ac97/
Dac97_codec.c1779 static unsigned int rate_bits[] = { in snd_ac97_determine_spdif_rates() local
1786 result |= rate_bits[i]; in snd_ac97_determine_spdif_rates()