Searched refs:nr_rates (Results 1 – 6 of 6) sorted by relevance
/sound/usb/ |
D | format.c | 160 int nr_rates = fmt[offset]; in parse_audio_format_rates_v1() local 162 if (fmt[0] < offset + 1 + 3 * (nr_rates ? nr_rates : 2)) { in parse_audio_format_rates_v1() 169 if (nr_rates) { in parse_audio_format_rates_v1() 175 fp->rate_table = kmalloc(sizeof(int) * nr_rates, GFP_KERNEL); in parse_audio_format_rates_v1() 181 fp->nr_rates = 0; in parse_audio_format_rates_v1() 183 for (r = 0, idx = offset + 1; r < nr_rates; r++, idx += 3) { in parse_audio_format_rates_v1() 189 if (rate == 48000 && nr_rates == 1 && in parse_audio_format_rates_v1() 201 fp->rate_table[fp->nr_rates] = rate; in parse_audio_format_rates_v1() 207 fp->nr_rates++; in parse_audio_format_rates_v1() 209 if (!fp->nr_rates) { in parse_audio_format_rates_v1() [all …]
|
D | quirks-table.h | 1665 .nr_rates = 1, 1683 .nr_rates = 1, 1732 .nr_rates = 1, 1750 .nr_rates = 1, 2149 .nr_rates = 4, 2175 .nr_rates = 4, 2220 .nr_rates = 4, 2246 .nr_rates = 4, 2290 .nr_rates = 4, 2314 .nr_rates = 4, [all …]
|
D | card.h | 28 unsigned int nr_rates; /* number of rate table entries */ member
|
D | proc.c | 103 for (i = 0; i < fp->nr_rates; i++) { in proc_dump_substream_formats()
|
D | pcm.c | 112 for (i = 0; i < fp->nr_rates; i++) in find_format() 115 if (i >= fp->nr_rates) in find_format() 555 for (i = 0; i < fp->nr_rates; i++) { in match_endpoint_audioformats() 1072 count += fp->nr_rates; in snd_usb_pcm_check_knot() 1088 for (i = 0; i < fp->nr_rates; i++) in snd_usb_pcm_check_knot()
|
D | quirks.c | 142 if (fp->nr_rates > MAX_NR_RATES) { in create_fixed_stream_quirk() 146 if (fp->nr_rates > 0) { in create_fixed_stream_quirk() 148 sizeof(int) * fp->nr_rates, GFP_KERNEL); in create_fixed_stream_quirk()
|