Lines Matching refs:times
352 int *times, i, j, idx = 0, *int_micro_times; in iio_gts_build_avail_time_table() local
357 times = kcalloc(gts->num_itime, sizeof(int), GFP_KERNEL); in iio_gts_build_avail_time_table()
358 if (!times) in iio_gts_build_avail_time_table()
365 if (idx == 0 || times[idx - 1] < new) { in iio_gts_build_avail_time_table()
366 times[idx++] = new; in iio_gts_build_avail_time_table()
371 if (times[j] == new) in iio_gts_build_avail_time_table()
373 if (times[j] > new) { in iio_gts_build_avail_time_table()
374 memmove(×[j + 1], ×[j], in iio_gts_build_avail_time_table()
376 times[j] = new; in iio_gts_build_avail_time_table()
392 iio_gts_us_to_int_micro(times, int_micro_times, idx); in iio_gts_build_avail_time_table()
396 kfree(times); in iio_gts_build_avail_time_table()