Home
last modified time | relevance | path

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

/Linux-v5.4/sound/hda/
Dhdac_device.c695 static struct hda_rate_tbl rate_bits[] = { variable
740 for (i = 0; rate_bits[i].hz; i++) in snd_hdac_calc_stream_format()
741 if (rate_bits[i].hz == rate) { in snd_hdac_calc_stream_format()
742 val = rate_bits[i].hda_fmt; in snd_hdac_calc_stream_format()
745 if (!rate_bits[i].hz) in snd_hdac_calc_stream_format()
830 rates |= rate_bits[i].alsa_bits; in snd_hdac_query_supported_pcm()
935 if (rate_bits[i].hda_fmt == rate) { in snd_hdac_is_supported_format()
/Linux-v5.4/sound/pci/rme9652/
Dhdsp.c966 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask); in hdsp_spdif_sample_rate() local
970 rate_bits = (status & HDSP_spdifFrequencyMask_9632); in hdsp_spdif_sample_rate()
975 switch (rate_bits) { in hdsp_spdif_sample_rate()
996 rate_bits, status); in hdsp_spdif_sample_rate()
1003 unsigned int rate_bits = status2 & HDSP_systemFrequencyMask; in hdsp_external_sample_rate() local
1013 switch (rate_bits) { in hdsp_external_sample_rate()
1120 int rate_bits; in hdsp_set_rate() local
1171 rate_bits = HDSP_Frequency32KHz; in hdsp_set_rate()
1176 rate_bits = HDSP_Frequency44_1KHz; in hdsp_set_rate()
1181 rate_bits = HDSP_Frequency48KHz; in hdsp_set_rate()
[all …]
Dhdspm.c1251 int syncref, rate = 0, rate_bits; in hdspm_external_sample_rate() local
1334 rate_bits = status2 & HDSPM_wcFreqMask; in hdspm_external_sample_rate()
1337 switch (rate_bits) { in hdspm_external_sample_rate()
1380 rate_bits = status & HDSPM_madiFreqMask; in hdspm_external_sample_rate()
1382 switch (rate_bits) { in hdspm_external_sample_rate()
1629 int rate_bits; in hdspm_set_rate() local
1699 rate_bits = HDSPM_Frequency32KHz; in hdspm_set_rate()
1702 rate_bits = HDSPM_Frequency44_1KHz; in hdspm_set_rate()
1705 rate_bits = HDSPM_Frequency48KHz; in hdspm_set_rate()
1708 rate_bits = HDSPM_Frequency64KHz; in hdspm_set_rate()
[all …]
Drme9652.c708 unsigned int rate_bits; in rme9652_spdif_sample_rate() local
735 rate_bits = rme9652_read(s, RME9652_status_register) & RME9652_F; in rme9652_spdif_sample_rate()
737 switch (rme9652_decode_spdif_rate(rate_bits)) { in rme9652_spdif_sample_rate()
765 s->card_name, rate_bits); in rme9652_spdif_sample_rate()
/Linux-v5.4/sound/parisc/
Dharmony.c80 static const unsigned int rate_bits[14] = { variable
245 return rate_bits[i]; in snd_harmony_rate_bits()
/Linux-v5.4/sound/pci/ac97/
Dac97_codec.c1759 static unsigned int rate_bits[] = { in snd_ac97_determine_spdif_rates() local
1766 result |= rate_bits[i]; in snd_ac97_determine_spdif_rates()