Lines Matching refs:rate_table
157 kfree(fp->rate_table); in set_fixed_rate()
158 fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL); in set_fixed_rate()
159 if (!fp->rate_table) in set_fixed_rate()
165 fp->rate_table[0] = rate; in set_fixed_rate()
179 rate = fp->rate_table[i]; in set_rate_table_min_max()
214 fp->rate_table = kmalloc_array(nr_rates, sizeof(int), in parse_audio_format_rates_v1()
216 if (fp->rate_table == NULL) in parse_audio_format_rates_v1()
240 fp->rate_table[fp->nr_rates++] = rate; in parse_audio_format_rates_v1()
387 if (fp->rate_table) in parse_uac2_sample_rate_range()
388 fp->rate_table[nr_rates] = rate; in parse_uac2_sample_rate_range()
489 fp->rate_table[i]); in validate_sample_rate_table_v2v3()
494 table[nr_rates++] = fp->rate_table[i]; in validate_sample_rate_table_v2v3()
509 kfree(fp->rate_table); in validate_sample_rate_table_v2v3()
510 fp->rate_table = table; in validate_sample_rate_table_v2v3()
587 kfree(fp->rate_table); in parse_audio_format_rates_v2v3()
588 fp->rate_table = NULL; in parse_audio_format_rates_v2v3()
597 fp->rate_table = kmalloc_array(fp->nr_rates, sizeof(int), GFP_KERNEL); in parse_audio_format_rates_v2v3()
598 if (!fp->rate_table) { in parse_audio_format_rates_v2v3()