Home
last modified time | relevance | path

Searched refs:nr_rates (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/sound/usb/
A Dformat.c161 fp->nr_rates = 1; in set_fixed_rate()
201 if (fmt[0] < offset + 1 + 3 * (nr_rates ? nr_rates : 2)) { in parse_audio_format_rates_v1()
208 if (nr_rates) { in parse_audio_format_rates_v1()
219 fp->nr_rates = 0; in parse_audio_format_rates_v1()
389 nr_rates++; in parse_uac2_sample_rate_range()
402 return nr_rates; in parse_uac2_sample_rate_range()
486 nr_rates = 0; in validate_sample_rate_table_v2v3()
497 if (!nr_rates) { in validate_sample_rate_table_v2v3()
501 nr_rates = fp->nr_rates; /* continue as is */ in validate_sample_rate_table_v2v3()
504 if (fp->nr_rates == nr_rates) { in validate_sample_rate_table_v2v3()
[all …]
A Dquirks-table.h113 .nr_rates = 1,
1580 .nr_rates = 1,
1598 .nr_rates = 1,
1647 .nr_rates = 1,
1665 .nr_rates = 1,
2089 .nr_rates = 4,
2115 .nr_rates = 4,
2160 .nr_rates = 4,
2186 .nr_rates = 4,
2230 .nr_rates = 4,
[all …]
A Dcard.h36 unsigned int nr_rates; /* number of rate table entries */ member
A Dimplicit.c421 for (i = 0; i < fp->nr_rates; i++) { in match_endpoint_audioformats()
425 if (i >= fp->nr_rates) in match_endpoint_audioformats()
A Dpcm.c110 for (i = 0; i < fp->nr_rates; i++) in find_format()
113 if (i >= fp->nr_rates) in find_format()
174 if (fp->nr_rates < 1) in snd_usb_pcm_has_fixed_rate()
176 if (fp->nr_rates > 1) in snd_usb_pcm_has_fixed_rate()
858 if (fp->rate_table && fp->nr_rates) { in hw_rule_rate()
859 for (i = 0; i < fp->nr_rates; i++) { in hw_rule_rate()
A Dproc.c122 for (i = 0; i < fp->nr_rates; i++) { in proc_dump_substream_formats()
A Dquirks.c164 if (fp->nr_rates > MAX_NR_RATES) { in create_fixed_stream_quirk()
168 if (fp->nr_rates > 0) { in create_fixed_stream_quirk()
170 sizeof(int) * fp->nr_rates, GFP_KERNEL); in create_fixed_stream_quirk()
A Dclock.c171 if (fmt->nr_rates == 1 && in uac_clock_source_is_valid_quirk()
A Dstream.c1048 fp->nr_rates = 0; /* SNDRV_PCM_RATE_CONTINUOUS */ in snd_usb_get_audioformat_uac3()
/linux-6.3-rc2/drivers/clk/pistachio/
A Dclk.h114 unsigned int nr_rates; member
125 .nr_rates = ARRAY_SIZE(_rates), \
136 .nr_rates = 0, \
A Dclk-pll.c75 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()

Completed in 25 milliseconds