Lines Matching full:rates
28 unsigned int *rates; member
170 int *rates, int count) in sdw_compute_group_params() argument
179 params[i].rate = rates[i]; in sdw_compute_group_params()
215 if (rate == group->rates[i]) in sdw_add_element_group_count()
222 unsigned int *rates; in sdw_add_element_group_count() local
225 rates = krealloc(group->rates, in sdw_add_element_group_count()
228 if (!rates) in sdw_add_element_group_count()
230 group->rates = rates; in sdw_add_element_group_count()
233 group->rates[group->count++] = rate; in sdw_add_element_group_count()
248 group->rates = kcalloc(group->max_size, sizeof(int), GFP_KERNEL); in sdw_get_group_count()
249 if (!group->rates) in sdw_get_group_count()
257 group->rates[group->count++] = rate; in sdw_get_group_count()
262 kfree(group->rates); in sdw_get_group_count()
297 &group.rates[0], group.count); in sdw_compute_port_params()
306 kfree(group.rates); in sdw_compute_port_params()