iio_gts_find..._by_int_time(9)
π iio_gts_find_sel_by_int_time(9) β yes bestie, that's a lot of underscores
okay so this is from the Kernel API Manual, and the star of the show is iio_gts_find..._by_int_time(9) β literally the function that goes "hey, you gave me an integration time, lemme find you the matching selector" π
β¨ NAME β¨
iio_gts_find_sel_by_int_time β find the selector that matches an integration time, no cap π
π¦ SYNOPSIS π¦
int iio_gts_find_sel_by_int_time (struct iio_gts *gts , int time );
like, that's the whole vibe. two args, one int back. slay π
πΈ ARGUMENTS πΈ
gtsβ the Gain time scale descriptor, aka the little info-hub holding all your gain/time scale data π«Άtimeβ the integration time you're hunting a matching selector for. this is the thing we're looking up, bestie β±οΈ
π RETURN π
it hands you back a selector that matches the integration time you asked about β iconic behavior β¨
and if there's no match? it gives you -EINVAL instead. so if you see -EINVAL just know the selector was not found, no notes π
so fr fr: success = a matching selector, failure = -EINVAL. don't get it twisted π
π SEE ALSO π
- Kernel file
./include/linux/iio/iio-gts-helper.hβ the home base of all this π struct iio_gain_sel_pair(9)struct iio_itime_sel_mul(9)iio_gts_find_int_time_by_sel(9)β the reverse direction, iykyk πiio_gts_valid_time(9)iio_gts_valid_gain(9)
aaaand that's the page, bestie π this gem lives over at ./include/linux/iio, dated October 2026, and it's filed under iio_gts_find..._by_int_time(9) β go off, kernel docs ππ§ββοΈ
π¦ 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