IIO_SCAN_FORMAT_SIGNED_INT(9)
π IIO_SCAN_FORMAT_SIGNED_INT(9) β signed integer data format β¨
okay so this is a page out of the Kernel API Manual (the (9) section, bestie β kernel internals only, no userland shenanigans) π and it's about exactly one thing, but she's an iconic one thing. Let's get into it.
π NAME π
IIO_SCAN_FORMAT_SIGNED_INT β literally the signed integer data format. that's the whole vibe. that's the entire job. π
π¦ SYNOPSIS π¦
IIO_SCAN_FORMAT_SIGNED_INT
no arguments, no parens, no drama β she just exists as a symbol, standing there looking gorgeous π«Ά
πΈ DESCRIPTION πΈ
so here's the tea, bestie β β IIO_SCAN_FORMAT_SIGNED_INT is a value for the iio_scan_type.format field, and she's specifically the one for signed integers.
and bc the kernel does NOT do "eh, close enough," it's two's complement β like, that's the encoding, that's the whole bit-level personality π§ no cap, that's it, that's the entire description, and honestly? she ate. π₯
π SEE ALSO π
okay babes, buckle in, this list is long β the IIO docs link to each other like it's a group chat and everyone's in it π but every single one matters, so here's the full squad, no one gets left on read π
- the kernel file
./include/linux/iio/iio.hβ the home base, the mothership π struct iio_chan_spec_ext_info(9)struct iio_enum(9)IIO_ENUM(9)IIO_ENUM_AVAILABLE(9)struct iio_mount_matrix(9)IIO_MOUNT_MATRIX(9)struct iio_event_spec(9)IIO_SCAN_FORMAT_UNSIGNED_INT(9)β her unsigned sister, love her πIIO_SCAN_FORMAT_FLOAT(9)β the floaty one π¦struct iio_scan_type(9)β the struct thatiio_scan_type.formatlives in, iykykstruct 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)
ngl the whole IIO subsystem is giving "one big happy family" and this page is just one little cousin showing up to the reunion π
and that's the page, bestie!! π sourced from ./include/linux/iio, dated October 2026, and she's filed under IIO_SCAN_FORMAT_SIGNED_INT(9) β signed ints forever, 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