STRUCT IIO_DUMMY_EVENTGEN(9)
π NAME π
okay so struct iio_dummy_eventgen is the event generator specific state. Thatβs the whole assignment, bestie β this struct is the little state bundle for the event generator side of the IIO dummy driver. π
β¨ SYNOPSIS β¨
This is from the Kernel API Manual, section 9, and the struct shape is exactly this:
struct iio_dummy_eventgen {
struct iio_dummy_regs regs[IIO_EVENTGEN_NO];
struct mutex lock;
bool inuse[IIO_EVENTGEN_NO];
struct irq_domain *irq_sim_domain;
};
π Members π
regsβ the irq regs we are faking. Itβs astruct iio_dummy_regsarray sizedIIO_EVENTGEN_NO, and itβs literally the fake IRQ register state. no cap. π₯lockβ astruct mutexwhose whole job is to protect the evgen state. do not skip the locking era, bestie. πinuseβ aboolarray,inuse[IIO_EVENTGEN_NO], thatβs the mask of which irqs are connected. it tracks whoβs plugged in. π«Άirq_sim_domainβ astruct irq_domain *pointing at the irq simulator domain. thatβs the sim-domain vibe. β¨
π SEE ALSO π
- Kernel file
./drivers/iio/dummy/iio_dummy_evgen.cβ the source bestie, go read it. π iio_dummy_evgen_get_irq(9)iio_dummy_evgen_release_irq(9)
kisses, this page comes from source ./drivers/iio/dummy, dated October 2026, and itβs the struct iio_dummy_eventgen(9) page. π
π¦
π¦ 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