Searched refs:per_time_scales (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/iio/
H A Dindustrialio-gts-helper.c278 int **per_time_gains, **per_time_scales, i, j, ret = -ENOMEM; local
284 per_time_scales = kcalloc(gts->num_itime, sizeof(*per_time_scales), GFP_KERNEL);
285 if (!per_time_scales)
289 per_time_scales[i] = kcalloc(gts->num_hwgain, 2 * sizeof(int),
291 if (!per_time_scales[i])
297 kfree(per_time_scales[i]);
306 ret = gain_to_scaletables(gts, per_time_gains, per_time_scales);
311 gts->per_time_avail_scale_tables = per_time_scales;
317 kfree(per_time_scales[
[all...]

Completed in 65 milliseconds