sx_common_wr...event_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sx_common_wr...event_config(9) β€” the Kernel API Manual glow-up ✨

okay so welcome to the manual page for sx_common_wr...event_config(9), bestie β€” yes the title is literally abbreviated with ellipsis dots in the actual manual name, that's just how the kernel does, we don't question it πŸ’€. She's a Kernel API Manual entry, she's giving very niche, very demure, very "you either know IIO or you don't" energy. iykyk πŸŽ€


🌸 NAME 🌸

sx_common_write_event_config β€” literally the function that configures an event setting. that's it. that's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int sx_common_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 );

she returns an int, she takes five arguments, she's booked and busy πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • indio_dev β€” the iio device object 🫢 like, the whole device bestie herself
  • chan β€” the channel to enable 🌈
  • type β€” type of event. lowkey unused πŸ™ˆ (yes she's listed, no she's not doing anything, we still love her)
  • dir β€” direction of event. also unused πŸ™ˆ (same energy, she's just here for the group photo)
  • state β€” the state of the event ⭐ this one actually matters fr fr

⭐ DESCRIPTION ⭐

Enable/Disable event on a given channel. that's the whole description, she's concise, she's efficient, she ate and left no crumbs πŸ‘‘

so basically: you hand her a channel and a state, and she flips the event on or off for it. no cap. πŸ’–

ngl, two of the five arguments are marked unused β€” type and dir. not me pointing that out dramatically, that's just literally what the page says πŸ™ˆ keep that in mind so you don't go assuming they do something iconic. they don't.

πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page bestie, hope it slayed πŸ’œ β€” this one came straight out of ./drivers/iio/proximity, dated October 2026, and yeah the manual name in the corner is the same abbreviated sx_common_wr...event_config(9) because the kernel refuses to type out the full thing, iconic behaviour honestly πŸŽ€βœ¨

πŸ“¦ where this page comes from