Lines Matching refs:num_itime
150 for (i = 0; i < gts->num_itime; i++) in iio_gts_purge_avail_scale_table()
174 for (i = 0; i < gts->num_itime; i++) { in gain_to_scaletables()
193 all_gains = kcalloc(gts->num_itime, gain_bytes, GFP_KERNEL); in gain_to_scaletables()
204 time_idx = gts->num_itime - 1; in gain_to_scaletables()
280 per_time_gains = kcalloc(gts->num_itime, sizeof(*per_time_gains), GFP_KERNEL); in iio_gts_build_avail_scale_table()
284 per_time_scales = kcalloc(gts->num_itime, sizeof(*per_time_scales), GFP_KERNEL); in iio_gts_build_avail_scale_table()
288 for (i = 0; i < gts->num_itime; i++) { in iio_gts_build_avail_scale_table()
354 if (!gts->num_itime) in iio_gts_build_avail_time_table()
357 times = kcalloc(gts->num_itime, sizeof(int), GFP_KERNEL); in iio_gts_build_avail_time_table()
362 for (i = gts->num_itime - 1; i >= 0; i--) { in iio_gts_build_avail_time_table()
533 if (!gts->num_hwgain && !gts->num_itime) in iio_gts_sanity_check()
536 for (t = 0; t < gts->num_itime; t++) { in iio_gts_sanity_check()
549 for (t = 0; t < gts->num_itime; t++) { in iio_gts_sanity_check()
580 gts->num_itime = num_times; in iio_init_iio_gts()
667 for (i = 0; i < gts->num_itime; i++) in iio_gts_avail_scales_for_time()
671 if (i == gts->num_itime) in iio_gts_avail_scales_for_time()
923 if (!gts->num_itime) in iio_gts_get_total_gain()