Lines Matching refs:scales
168 static int gain_to_scaletables(struct iio_gts *gts, int **gains, int **scales)
182 /* Convert gains to scales */
185 &scales[i][2 * j],
186 &scales[i][2 * j + 1]);
260 * iio_gts_build_avail_scale_table - create tables of available scales
263 * Build the tables which can represent the available scales based on the
266 * 1. A set of tables representing available scales for each supported
268 * 2. A single table listing all the unique scales that any combination of
417 * iio_gts_build_avail_tables - create tables of available scales and int times
420 * Build the tables which can represent the available scales and available
426 * 1. A set of sorted tables representing available scales for each supported
428 * 2. A single sorted table listing all the unique scales that any combination
479 * Build the tables which can represent the available scales and available
484 * 1. A set of sorted tables representing available scales for each supported
486 * 2. A single sorted table listing all the unique scales that any combination
623 * iio_gts_all_avail_scales - helper for listing all available scales
625 * @vals: Returned array of supported scales
646 * iio_gts_avail_scales_for_time - list scales for integration time
648 * @time: Integration time for which the scales are listed
649 * @vals: Returned array of supported scales
654 * use this helper to list only the scales which are valid for given integration