Home
last modified time | relevance | path

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

/Linux-v6.1/sound/firewire/fireface/
Dff-protocol-latter.c104 u32 rate_bits; in parse_clock_bits() local
109 rate_bits = (data & 0x0f000000) >> 24; in parse_clock_bits()
113 rate_bits = (data & 0xf0000000) >> 28; in parse_clock_bits()
120 if (rate_bits == rate_entry->flag) { in parse_clock_bits()
/Linux-v6.1/sound/hda/
Dhdac_device.c703 static const struct hda_rate_tbl rate_bits[] = { variable
748 for (i = 0; rate_bits[i].hz; i++) in snd_hdac_calc_stream_format()
749 if (rate_bits[i].hz == rate) { in snd_hdac_calc_stream_format()
750 val = rate_bits[i].hda_fmt; in snd_hdac_calc_stream_format()
753 if (!rate_bits[i].hz) in snd_hdac_calc_stream_format()
838 rates |= rate_bits[i].alsa_bits; in snd_hdac_query_supported_pcm()
943 if (rate_bits[i].hda_fmt == rate) { in snd_hdac_is_supported_format()
/Linux-v6.1/sound/pci/rme9652/
Dhdsp.c956 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask); in hdsp_spdif_sample_rate() local
960 rate_bits = (status & HDSP_spdifFrequencyMask_9632); in hdsp_spdif_sample_rate()
965 switch (rate_bits) { in hdsp_spdif_sample_rate()
986 rate_bits, status); in hdsp_spdif_sample_rate()
993 unsigned int rate_bits = status2 & HDSP_systemFrequencyMask; in hdsp_external_sample_rate() local
1003 switch (rate_bits) { in hdsp_external_sample_rate()
1110 int rate_bits; in hdsp_set_rate() local
1161 rate_bits = HDSP_Frequency32KHz; in hdsp_set_rate()
1166 rate_bits = HDSP_Frequency44_1KHz; in hdsp_set_rate()
1171 rate_bits = HDSP_Frequency48KHz; in hdsp_set_rate()
[all …]
Dhdspm.c1254 int syncref, rate = 0, rate_bits; in hdspm_external_sample_rate() local
1337 rate_bits = status2 & HDSPM_wcFreqMask; in hdspm_external_sample_rate()
1340 switch (rate_bits) { in hdspm_external_sample_rate()
1383 rate_bits = status & HDSPM_madiFreqMask; in hdspm_external_sample_rate()
1385 switch (rate_bits) { in hdspm_external_sample_rate()
1632 int rate_bits; in hdspm_set_rate() local
1702 rate_bits = HDSPM_Frequency32KHz; in hdspm_set_rate()
1705 rate_bits = HDSPM_Frequency44_1KHz; in hdspm_set_rate()
1708 rate_bits = HDSPM_Frequency48KHz; in hdspm_set_rate()
1711 rate_bits = HDSPM_Frequency64KHz; in hdspm_set_rate()
[all …]
Drme9652.c697 unsigned int rate_bits; in rme9652_spdif_sample_rate() local
724 rate_bits = rme9652_read(s, RME9652_status_register) & RME9652_F; in rme9652_spdif_sample_rate()
726 switch (rme9652_decode_spdif_rate(rate_bits)) { in rme9652_spdif_sample_rate()
748 s->card_name, rate_bits); in rme9652_spdif_sample_rate()
/Linux-v6.1/sound/usb/
Dformat.c155 static int set_fixed_rate(struct audioformat *fp, int rate, int rate_bits) in set_fixed_rate() argument
164 fp->rates = rate_bits; in set_fixed_rate()
/Linux-v6.1/sound/parisc/
Dharmony.c80 static const unsigned int rate_bits[14] = { variable
245 return rate_bits[i]; in snd_harmony_rate_bits()
/Linux-v6.1/sound/pci/ac97/
Dac97_codec.c1820 static const unsigned int rate_bits[] = { in snd_ac97_determine_spdif_rates() local
1827 result |= rate_bits[i]; in snd_ac97_determine_spdif_rates()