iio_trigger_poll(9)
β¨ NAME β¨
okay so bestie, welcome to iio_trigger_poll β the little function that goes and calls the IRQ trigger handler of the consumers π
that's the whole vibe, that's the whole job.
(also hii, this is the iio_trigger_poll(9) page from the Kernel API Manual β yes the whole manual, we're fancy here π)
πΈ SYNOPSIS πΈ
void iio_trigger_poll (struct iio_trigger *trig );
like, that's it. one function, one argument, no return value, no drama π
π¦ ARGUMENTS π¦
trigβ trigger which occurred β¨ literally just the trigger that fired, bestie. that's the one. that's the whole parameter. she's the trigger that occurred and she's the main character.
π DESCRIPTION π
okay so listen up, this one's important π¨ iio_trigger_poll should only be called from a hard IRQ context. not softirq, not a workqueue, not "i'll just sneak it in from a thread" β hard IRQ context, periodt π no cap, that's the rule, respect it.
fr fr though, this is a "do not get cute with it" situation β the docs are super clear and they are not playing around π
π₯ SEE ALSO π₯
the whole friend group π β go say hi to all of them:
- Kernel file
./drivers/iio/industrialio-trigger.cname_show(9)β iio_trigger_poll_nested(9)π¦current_trigger_show(9)πcurrent_trigger_store(9)π__iio_trigger_alloc(9)πΈ__devm_iio_trigger_alloc(9)πdevm_iio_trigger_register(9)β¨iio_validate_own_trigger(9)πiio_trigger_validate_own_device(9)π
aaaand that's the page!! π«Ά this lil gem lives in ./drivers/iio, it's dated October 2026, and it came straight outta the Kernel API Manual β slay, iconic, no notes πβ¨ bye bestie, go handle your IRQ responsibly π
π¦ 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