ENUM GPIO_V2_LINE_CHANGED_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

Bestie, this is enum gpio_v2_line_changed_type β€” literally just the set of values that go in &struct gpio_v2_line_changed.event_type. That's the whole assignment. It's giving "small but essential," and honestly? We stan a humble enum. πŸŽ€

This page lives in the Kernel API Manual, in case you were wondering where the vibe check happened. ✨


πŸ¦‹ SYNOPSIS

enum gpio_v2_line_changed_type {
    GPIO_V2_LINE_CHANGED_REQUESTED ,
    GPIO_V2_LINE_CHANGED_RELEASED ,
    GPIO_V2_LINE_CHANGED_CONFIG

};

Ok so it's three constants, one trailing blank-ish line, and that's it β€” no cap, that's the entire declaration. Copy it exactly, bestie, commas and all. πŸ™ˆ


🌸 Constants

  • GPIO_V2_LINE_CHANGED_REQUESTED β€” somebody requested the line. It's claimed now. Iconic behavior. πŸ‘‘
  • GPIO_V2_LINE_CHANGED_RELEASED β€” the line got released. Free at last, free at last. πŸ•ŠοΈ
  • GPIO_V2_LINE_CHANGED_CONFIG β€” the line has been reconfigured. A glow-up, if you will. πŸ’…

Those are the three, fr fr. Nothing hidden, nothing extra. ❀️


🫢 SEE ALSO

Kernel file ./include/uapi/linux/gpio.h, plus this whole friend group right here β€” go say hi to all of them:

  • struct gpiochip_info(9)
  • enum gpio_v2_line_flag(9)
  • struct gpio_v2_line_values(9)
  • enum gpio_v2_line_attr_id(9)
  • struct gpio_v2_line_attribute(9)
  • struct gpio_v2_line_config_attribute(9)
  • struct gpio_v2_line_config(9)
  • struct gpio_v2_line_request(9)
  • struct gpio_v2_line_info(9)
  • struct gpio_v2_line_info_changed(9)
  • enum gpio_v2_line_event_id(9)
  • struct gpio_v2_line_event(9)
  • struct gpioline_info(9)
  • struct gpioline_info_changed(9)
  • struct gpiohandle_request(9)
  • struct gpiohandle_config(9)
  • struct gpiohandle_data(9)
  • struct gpioevent_request(9)
  • struct gpioevent_data(9)

Lowkey a whole syllabus of GPIO structs. Read them in order and you'll be the main character of your kernel tree. πŸ”₯

✨ And that's the page, bestie! Shoutout to the source at ./include/uapi/linux, dated October 2026, and to the page itself, enum gpio_v2...changed_type(9) β€” three constants and a dream. Slay, stay hydrated, and may your lines never change unexpectedly. πŸ’œπŸŒˆπŸ“

πŸ“¦ where this page comes from