iio_gts_get_min_gain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ.


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