IIO_CONST_AT...P_FREQ_AVAIL(9)
π IIO_CONST_ATTR_SAMP_FREQ_AVAIL(9) β the kernel API manual, but make it cute
okay so bestie, you're looking at a page from the Kernel API Manual, section 9 β yes, the big kernel one. Sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
IIO_CONST_ATTR_SAMP_FREQ_AVAIL β literally just: list available sampling frequencies π
That's the whole gig. It's giving "I tell you which sample rates exist," no cap.
πΈ SYNOPSIS πΈ
IIO_CONST_ATTR_SAMP_FREQ_AVAIL (_string );
that's it, that's the whole call. one argument, one macro, one vibe π
π¦ ARGUMENTS π¦
_stringβ the frequency string for the attribute. that's your input, bestie, hand it over β¨
π DESCRIPTION π
It's the constant version. that's the description. that's literally what the manpage says and I refuse to invent lore π
so what does "constant" mean for you? it means this is the const-flavoured counterpart β the stable, read-only-ish sibling in the IIO sysfs attribute family. iykyk π
π SEE ALSO π
the kernel file lives at ./include/linux/iio/sysfs.h β go say hi, it's iconic.
and here's the whole friend group, no one left out fr fr:
struct iio_dev_attr(9)struct iio_const_attr(9)IIO_DEV_ATTR_SAMP_FREQ(9)IIO_DEV_ATTR_SAMP_FREQ_AVAIL(9)IIO_DEV_ATTR_INT_TIME_AVAIL(9)IIO_CONST_ATTR_INT_TIME_AVAIL(9)
like, the whole sampler-frequency-and-integration-time clique showed up π§π
π reminder: this is a const attribute macro β don't go expecting it to accept writes or do your laundry. it lists available sampling frequencies, periodt.
that's the page, bestie β written under ./include/linux/iio, dated October 2026, and yes the header/footer both say IIO_CONST_AT...P_FREQ_AVAIL(9) because the title got a lil truncated and honestly? she ate πβ¨
π¦ 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