zpa2326_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ zpa2326_suspend(9) β€” like, the Kernel API Manual page, bestie πŸ’€

Okay so you found the zpa2326_suspend page in the Kernel API Manual and you're like "what does this even do" β€” don't worry, I got you. Grab a snack πŸ“.


✨ NAME ✨

zpa2326_suspend β€” schedule a power down using the autosuspend feature of the PM layer. That's it, that's the whole vibe. It's giving "going to sleep but politely, on a schedule" 😴


🌸 SYNOPSIS 🌸

void zpa2326_suspend (struct iio_dev *indio_dev );

Yeah, it returns void β€” no return value, no drama, it just does the thing and dips πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • indio_dev β€” the IIO device that's associated with the sampling hardware. Like, this is the device we're putting to bed. No cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea πŸ«–: the device gets switched to low power mode first β€” at the very start β€” so you're saving power even when the attached regulator is a "dummy" one. Literally saving energy regardless. Iconic behaviour, honestly πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

Bestie, there's a whole friend group here. Go read these next:


πŸ’€ Real talk though: this page lives in ./drivers/iio/pressure, and the docs are stamped October 2026 β€” so if you're reading this from the future, hiii, hope the pressure sensor is thriving 🌈

Later bestie, go read the rest of the kernel docs β€” you're gonna slay 🫢✨

πŸ“¦ where this page comes from