zpa2326_suspend(9)
π€ 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:
- Kernel file
./drivers/iio/pressure/zpa2326.c ZPA2326 theory of operations(9)struct zpa2326_frequency(9)struct zpa2326_private(9)zpa2326_enable_device(9)zpa2326_sleep(9)zpa2326_reset_device(9)zpa2326_start_oneshot(9)zpa2326_power_on(9)zpa2326_power_off(9)zpa2326_config_oneshot(9)zpa2326_clear_fifo(9)zpa2326_dequeue_pressure(9)zpa2326_fill_sample_buffer(9)zpa2326_resume(9)β the wake-up bestie, obviously πzpa2326_handle_irq(9)zpa2326_handle_threaded_irq(9)zpa2326_wait_oneshot_completion(9)zpa2326_poll_oneshot_completion(9)zpa2326_fetch_raw_sample(9)zpa2326_sample_oneshot(9)zpa2326_trigger_handler(9)zpa2326_preenable_buffer(9)zpa2326_postenable_buffer(9)zpa2326_set_trigger_state(9)zpa2326_init_managed_trigger(9)
π 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
- 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