IIO_DEV_ATTR...P_FREQ_AVAIL(9)
π IIO_DEV_ATTR...P_FREQ_AVAIL(9) π
okay so this is a page straight outta the Kernel API Manual, bestie β like, the actual kernel docs, not a vibe. it's short, it's sweet, and it's about listing the sampling frequencies your device can do. let's get into it β¨
π NAME π
IIO_DEV_ATTR_SAMP_FREQ_AVAIL β literally just list available sampling frequencies. that's the whole gig. no cap π
πΈ SYNOPSIS πΈ
IIO_DEV_ATTR_SAMP_FREQ_AVAIL (_show );
that's it. that's the macro. it takes exactly one thing and we're about to talk about it π¦
β¨ ARGUMENTS β¨
_showβ the output method for the attribute. yeah, it's the thing that gets called to spit the values out. the show-er, if you will π
π DESCRIPTION π
this macro sets you up so the attribute can list out which sampling frequencies are available. and here's the lil caveat, so listen up: it may be mode dependent on some devices π β meaning don't come for it if the list changes depending on what mode your device is in. that's allowed. that's valid. periodt.
π«Ά SEE ALSO π«Ά
like, go read these next, fr fr:
- Kernel file
./include/linux/iio/sysfs.hβ the source of truth, the mothership π§ struct iio_dev_attr(9)struct iio_const_attr(9)IIO_DEV_ATTR_SAMP_FREQ(9)IIO_CONST_ATTR_SAMP_FREQ_AVAIL(9)IIO_DEV_ATTR_INT_TIME_AVAIL(9)IIO_CONST_ATTR_INT_TIME_AVAIL(9)
all icon behavior, honestly π
lowkey important: this page is living in ./include/linux/iio and it's dated October 2026 β so if you're reading it in some other timeline, hi, welcome, the kernel is still doing kernel things π
anyway bestie that's the whole page β mwah, go read your sysfs files, slay π πβ¨
π¦ 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