iio_simple_...event_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ¦‹


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