STRUCT GPIO_V2_LINE_INFO_CHANGED(9)
π NAME π
okay so this is struct gpio_v2_line_info_changed β bestie, it's literally the little struct that tells you all about a change in status of a GPIO line β¨ it's giving "I noticed something moved and I have receipts" π
(also hii, welcome to the Kernel API Manual, we're in the kernel club now π )
β¨ SYNOPSIS β¨
here's the whole glow-up, exactly as it lives in the source:
struct gpio_v2_line_info_changed {
struct gpio_v2_line_info info;
__aligned_u64 timestamp_ns;
__u32 event_type;
__u32 padding[5];
};
no cap, that's the entire vibe π₯
π Members π
infoβ the updated line information, like the fresh new fit the line is wearing π it's the "after" picture, fr frtimestamp_nsβ an estimate of the time the status change happened, measured in nanoseconds β±οΈ so yes, the kernel is out here being precise down to the nano level, main character energy honestlyevent_typeβ the type of change, and its value comes fromenum gpio_v2_line_changed_typeπ¦ so you know exactly what kind of glow-up just occurredpaddingβ reserved for future use π«Ά don't touch it, don't fill it, it's saving a seat for future lore π
lowkey important: that padding[5] is reserved for future use, so please just leave it alone bestie π it's not yours
πΈ SEE ALSO πΈ
kernel file ./include/uapi/linux/gpio.h, plus the whole friend group:
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)enum gpio_v2_line_changed_type(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)
okay that's the whole page, mwah π and for the credits: this one lives over in ./include/uapi/linux and it's dated October 2026 β iconic, timeless, periodt ππ (yes it's still struct gpio_...info_changed(9), the name didn't change, she's just that girl π
)
π¦ 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