Lines Matching refs:times
354 int *times, i, j, idx = 0, *int_micro_times; in iio_gts_build_avail_time_table() local
359 times = kcalloc(gts->num_itime, sizeof(int), GFP_KERNEL); in iio_gts_build_avail_time_table()
360 if (!times) in iio_gts_build_avail_time_table()
367 if (idx == 0 || times[idx - 1] < new) { in iio_gts_build_avail_time_table()
368 times[idx++] = new; in iio_gts_build_avail_time_table()
373 if (times[j] == new) in iio_gts_build_avail_time_table()
375 if (times[j] > new) { in iio_gts_build_avail_time_table()
376 memmove(×[j + 1], ×[j], in iio_gts_build_avail_time_table()
378 times[j] = new; in iio_gts_build_avail_time_table()
394 iio_gts_us_to_int_micro(times, int_micro_times, idx); in iio_gts_build_avail_time_table()
398 kfree(times); in iio_gts_build_avail_time_table()