Searched refs:per_time_gains (Results 1 - 1 of 1) sorted by path

/linux-master/drivers/iio/
H A Dindustrialio-gts-helper.c278 int **per_time_gains, **per_time_scales, i, j, ret = -ENOMEM; local
280 per_time_gains = kcalloc(gts->num_itime, sizeof(*per_time_gains), GFP_KERNEL);
281 if (!per_time_gains)
294 per_time_gains[i] = kcalloc(gts->num_hwgain, sizeof(int),
296 if (!per_time_gains[i]) {
302 per_time_gains[i][j] = gts->hwgain_table[j].gain *
306 ret = gain_to_scaletables(gts, per_time_gains, per_time_scales);
310 kfree(per_time_gains);
318 kfree(per_time_gains[
[all...]

Completed in 172 milliseconds