STRUCT IIO_CHANNEL(9)
π struct iio_channel(9) π
okay so this is from the Kernel API Manual, section 9, and it's literally the page for struct iio_channel β yes bestie, the whole page is about one struct, and honestly? she deserves it. π
β¨ NAME β¨
struct iio_channel β everything needed for a consumer to use a channel. that's it. that's the vibe. one struct holding literally all the stuff a consumer needs to go use a channel. no cap. π
πΈ SYNOPSIS πΈ
struct iio_channel {
struct iio_dev *indio_dev;
const struct iio_chan_spec *channel;
void *data;
};
likeβ¦ three members. that's the whole struct. short and iconic, honestly π¦
π«Ά Members π«Ά
-indio_devβ the device on which the channel exists. so like, where the channel actually lives, that's this one π -channelβ the full description of the channel. full. all the details. the whole lore π§ -dataβ data about the channel used by consumer. yeah it'svoid *, it's vibes-based, that's just how it is π
β SEE ALSO β
okay bestie this list is long and it ate, no notes. it all lives in the kernel file ./include/linux/iio/consumer.h β here's every single one, and yes i'm listing them all, i would never do you dirty like that π
iio_channel_get(9)iio_channel_release(9)devm_iio_channel_get(9)iio_channel_get_all(9)iio_channel_release_all(9)devm_iio_channel_get_all(9)fwnode_iio_channel_get_by_name(9)devm_fwnode_iio_channel_get_by_name(9)iio_channel_get_all_cb(9)iio_channel_cb_set_buffer_watermark(9)iio_channel_release_all_cb(9)iio_channel_start_all_cb(9)iio_channel_stop_all_cb(9)iio_channel_cb_get_channels(9)iio_channel_cb_get_iio_dev(9)iio_read_channel_raw(9)iio_read_channel_average_raw(9)iio_read_channel_processed(9)iio_read_channel_processed_scale(9)iio_write_channel_attribute(9)iio_read_channel_attribute(9)iio_write_channel_raw(9)iio_read_max_channel_raw(9)iio_read_min_channel_raw(9)iio_read_avail_channel_raw(9)iio_read_avail_channel_attribute(9)iio_get_channel_type(9)iio_read_channel_offset(9)iio_read_channel_scale(9)iio_multiply_value(9)iio_convert_raw_to_processed(9)iio_get_channel_ext_info_count(9)iio_read_channel_ext_info(9)iio_write_channel_ext_info(9)iio_read_channel_label(9)
like i said. she's thorough. iykyk π
and that's the whole page, bestie!! π this one came from the kernel source dir ./include/linux/iio, dated October 2026, and the page itself is <rainbow>struct iio_channel(9)</rainbow> β go read the friends i linked, they're all main character energy too. mwah πβ¨
π¦ 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