Lines Matching full:scales
168 static int gain_to_scaletables(struct iio_gts *gts, int **gains, int **scales) in gain_to_scaletables() argument
182 /* Convert gains to scales */ in gain_to_scaletables()
185 &scales[i][2 * j], in gain_to_scaletables()
186 &scales[i][2 * j + 1]); in gain_to_scaletables()
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
422 * iio_gts_build_avail_tables - create tables of available scales and int times
425 * Build the tables which can represent the available scales and available
431 * 1. A set of sorted tables representing available scales for each supported
433 * 2. A single sorted table listing all the unique scales that any combination
484 * Build the tables which can represent the available scales and available
489 * 1. A set of sorted tables representing available scales for each supported
491 * 2. A single sorted table listing all the unique scales that any combination
628 * iio_gts_all_avail_scales - helper for listing all available scales
630 * @vals: Returned array of supported scales
651 * iio_gts_avail_scales_for_time - list scales for integration time
653 * @time: Integration time for which the scales are listed
654 * @vals: Returned array of supported scales
659 * use this helper to list only the scales which are valid for given integration