IIO_ENUM(9)
π IIO_ENUM π
okay so this is from the Kernel API Manual bestie, like the kernel's own lil doc for IIO_ENUM(9) β and we're gonna get through it together, no stress π«Ά
β¨ NAME β¨
IIO_ENUM β Initialize enum extended channel attribute πΈ
like, it's the thing that starts your enum extended channel attribute. that's the whole vibe.
β¨ SYNOPSIS β¨
IIO_ENUM (_name , _shared , _e );
copy it exact, don't @ me, the spacing is the spacing π
β¨ ARGUMENTS β¨
_nameβ the attribute name. literally just what you're calling the thing π_sharedβ whether the attribute is shared between all channels. yes bestie, all of them, or not, your call π_eβ a pointer to aniio_enumstruct. it's a pointer, so like, be normal about it π
β¨ DESCRIPTION β¨
so this one should usually be used together with IIO_ENUM_AVAILABLE π
that's it, that's the tea. they're a matching set, iykyk. pairing them up is the move, and that's not me being extra, that's literally what the page says π₯
real talk: "usually" is the word here β keep it in your brain exactly like that β
β¨ SEE ALSO β¨
okay this list is LONG, so buckle up, we're going through every single one, no skipping, we don't do that here π
- the kernel file
./include/linux/iio/iio.hβ structiio_chan_spec_ext_info(9) - struct
iio_enum(9) IIO_ENUM_AVAILABLE(9)- struct
iio_mount_matrix(9) IIO_MOUNT_MATRIX(9)- struct
iio_event_spec(9) IIO_SCAN_FORMAT_SIGNED_INT(9)IIO_SCAN_FORMAT_UNSIGNED_INT(9)IIO_SCAN_FORMAT_FLOAT(9)- struct
iio_scan_type(9) - struct
iio_chan_spec(9) iio_channel_has_info(9)iio_channel_has_available(9)- struct
iio_info(9) - struct
iio_buffer_setup_ops(9) - struct
iio_dev(9) iio_device_register(9)devm_iio_device_register(9)iio_device_claim_direct(9)iio_device_release_direct(9)iio_device_try_claim_buffer_mode(9)iio_device_release_buffer_mode(9)IIO_DEV_ACQUIRE_DIRECT_MODE(9)IIO_DEV_ACQUIRE_FAILED(9)IIO_DEV_GUARD_CURRENT_MODE(9)iio_device_put(9)dev_to_iio_dev(9)iio_device_get(9)iio_device_set_parent(9)iio_device_set_drvdata(9)iio_device_get_drvdata(9)IIO_DECLARE_BUFFER_WITH_TS(9)IIO_DECLARE_DMA_BUFFER_WITH_TS(9)IIO_DECLARE_QUATERNION(9)iio_get_debugfs_dentry(9)iio_device_suspend_triggering(9)iio_device_resume_triggering(9)iio_get_current_scan_type(9)iio_get_masklength(9)iio_for_each_active_channel(9)IIO_DEGREE_TO_RAD(9)IIO_RAD_TO_DEGREE(9)IIO_G_TO_M_S_2(9)IIO_M_S_2_TO_G(9)
and that's the whole page, bestie, you ate that π
this lil baddie lives in ./include/linux/iio, dated October 2026, and yes it's IIO_ENUM(9) all the way down β thanks for reading, 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