iio_gts_find..._time_by_sel(9)
π iio_gts_find_int_time_by_sel π
okay bestie so this is a page from the Kernel API Manual and it's literally about finding an integration time that matches a selector β like, matching energy only for kernel structs β¨ buckle up, it's short but it eats π
πΈ NAME πΈ
iio_gts_find_int_time_by_sel β find the integration time that matches a selector, no cap ππ
β¨ SYNOPSIS β¨
int iio_gts_find_int_time_by_sel (struct iio_gts *gts , int sel );
like yeah that's the whole signature, she's lowkey compact π
π¦ ARGUMENTS π¦
gtsβ the Gain time scale descriptor π this is the struct you're digging through, she holds the infoselβ the selector you're searching for π we're looking for the integration time that matches this one, iykyk
π RETURN π
it returns the integration time matching the given selector π β¦OR it returns -EINVAL if the integration time was not found π so fr fr check your return value, bestie, because a missing time is not the vibe π
ngl -EINVAL is the "she's not here" of return codes π handle it or suffer
π«Ά SEE ALSO π«Ά
- Kernel file
./include/linux/iio/iio-gts-helper.hβ go read the source, it's giving main character energy π struct iio_gain_sel_pair(9)β iconic struct, obsessedstruct iio_itime_sel_mul(9)β another one, we love heriio_gts_find_sel_by_int_time(9)β the reverse-direction bestie πiio_gts_valid_time(9)β vibe check for times βiio_gts_valid_gain(9)β vibe check for gains β
π and that's the whole page, periodt π brought to you by the kernel file at ./include/linux/iio, dated October 2026, slaying under the iio_gts_find..._time_by_sel(9) name forever and ever πβ¨π
π¦ 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