Searched refs:nr_rates (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/sound/usb/ |
D | format.c | 168 int nr_rates = fmt[offset]; in parse_audio_format_rates_v1() local 170 if (fmt[0] < offset + 1 + 3 * (nr_rates ? nr_rates : 2)) { in parse_audio_format_rates_v1() 177 if (nr_rates) { in parse_audio_format_rates_v1() 183 fp->rate_table = kmalloc_array(nr_rates, sizeof(int), in parse_audio_format_rates_v1() 188 fp->nr_rates = 0; in parse_audio_format_rates_v1() 190 for (r = 0, idx = offset + 1; r < nr_rates; r++, idx += 3) { in parse_audio_format_rates_v1() 196 if (rate == 48000 && nr_rates == 1 && in parse_audio_format_rates_v1() 208 fp->rate_table[fp->nr_rates] = rate; in parse_audio_format_rates_v1() 214 fp->nr_rates++; in parse_audio_format_rates_v1() 216 if (!fp->nr_rates) { in parse_audio_format_rates_v1() [all …]
|
D | quirks-table.h | 1625 .nr_rates = 1, 1643 .nr_rates = 1, 1692 .nr_rates = 1, 1710 .nr_rates = 1, 2109 .nr_rates = 4, 2135 .nr_rates = 4, 2180 .nr_rates = 4, 2206 .nr_rates = 4, 2250 .nr_rates = 4, 2274 .nr_rates = 4, [all …]
|
D | card.h | 30 unsigned int nr_rates; /* number of rate table entries */ member
|
D | proc.c | 89 for (i = 0; i < fp->nr_rates; i++) { in proc_dump_substream_formats()
|
D | pcm.c | 100 for (i = 0; i < fp->nr_rates; i++) in find_format() 103 if (i >= fp->nr_rates) in find_format() 601 for (i = 0; i < fp->nr_rates; i++) { in match_endpoint_audioformats() 1193 count += fp->nr_rates; in snd_usb_pcm_check_knot() 1209 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()
|
D | stream.c | 1044 fp->nr_rates = 0; /* SNDRV_PCM_RATE_CONTINUOUS */ in snd_usb_get_audioformat_uac3()
|
/Linux-v5.4/drivers/clk/pistachio/ |
D | clk.h | 114 unsigned int nr_rates; member 125 .nr_rates = ARRAY_SIZE(_rates), \ 136 .nr_rates = 0, \
|
D | clk-pll.c | 75 unsigned int nr_rates; member 134 for (i = 0; i < pll->nr_rates; i++) { in pll_get_params() 148 for (i = 0; i < pll->nr_rates; i++) { in pll_round_rate() 450 unsigned int nr_rates) in pll_register() argument 487 pll->nr_rates = nr_rates; in pll_register() 507 pll[i].nr_rates); in pistachio_clk_register_pll()
|