iio_simple_...event_config(9)
π iio_simple_...event_config(9) π
from the Kernel API Manual, bestie β this page is for iio_simple_dummy_write_event_config, and it's giving tiny helper, very specific job energy π
β¨ NAME β¨
iio_simple_dummy_write_event_config β set whether event is enabled. periodt π
π SYNOPSIS π
int iio_simple_dummy_write_event_config (struct iio_dev *indio_dev ,
const struct iio_chan_spec *chan , enum iio_event_type type , enum
iio_event_direction dir , bool state );
π ARGUMENTS π
indio_devβ the device instance data. literally the device's little identity card πͺͺchanβ channel for the event whose state is being set. the specific channel, no guessing πΊtypeβ type of the event whose state is being set. what kind of event we're talking about β¨dirβ direction of the vent whose state is being set. yes, the original says "vent" β we are preserving the typo, no cap, it's iconic πstateβ whether to enable or disable the device. on or off, bestie π₯
π DESCRIPTION π
okay so normally this function would set the relevant registers on the devices so that it generates the specified event. but here? it just sets up a cached value. that's the whole thing. no extra lore π§
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/dummy/iio_simple_dummy_events.c iio_simple_dummy_read_event_config(9)iio_simple_dummy_read_event_value(9)iio_simple_dummy_write_event_value(9)iio_simple_dummy_event_handler(9)iio_simple_dummy_events_register(9)iio_simple_dummy_events_unregister(9)
source/version check: this page comes from ./drivers/iio/dummy, dated October 2026, and it's filed under iio_simple_...event_config(9). 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