ENUM GPIO_V2_LINE_CHANGED_TYPE(9)
π 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
- 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