iio_gts_get_min_gain(9)
π NAME π
Okay bestie, welcome to iio_gts_get_min_gain(9) β thatβs the page title β from the Kernel API Manual β¨. This function is literally here to find smallest valid HW-gain. Thatβs the whole vibe: smallest valid HW-gain, found. π
β¨ SYNOPSIS β¨
int iio_gts_get_min_gain (struct iio_gts *gts );
π ARGUMENTS π
gtsβ Gain time scale descriptor. Thatβs it, thatβs the input, bestie. π«Ά
πΈ RETURN πΈ
It gives you the smallest HW-gain. And if no HW-gains were in the tables? You get -EINVAL instead π. No cap, thatβs the whole return situation.
π¦ SEE ALSO π¦
Kernel file ./drivers/iio/industrialio-gts-helper.c β go read it, iykyk π.
iio_gts_get_gain(9)gain_get_scale_fraction(9)iio_gts_total_gain_to_scale(9)iio_gts_purge_avail_scale_table(9)iio_gts_build_avail_scale_table(9)iio_gts_build_avail_time_table(9)iio_gts_purge_avail_time_table(9)iio_gts_build_avail_tables(9)iio_gts_purge_avail_tables(9)devm_iio_gts_build_avail_tables(9)devm_iio_init_iio_gts(9)iio_gts_all_avail_scales(9)iio_gts_avail_scales_for_time(9)iio_gts_avail_times(9)iio_gts_find_sel_by_gain(9)iio_gts_find_gain_by_sel(9)iio_find_closest_gain_low(9)iio_gts_find_gain_for_scale_using_time(9)iio_gts_find_gain_sel_for_scale_using_time(9)iio_gts_find_gain_time_sel_for_scale(9)iio_gts_get_total_gain(9)iio_gts_get_scale(9)iio_gts_find_new_gain_sel_by_old_gain_time(9)iio_gts_find_new_gain_by_old_gain_time(9)iio_gts_find_new_gain_by_gain_time_min(9)
Thatβs the whole page, bestie π«Ά. Cute sign-off: source ./drivers/iio, manual/version Kernel API Manual, date October 2026, page iio_gts_get_min_gain(9) β catch you in the next one! π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms