STRUCT GPIOLINE_INFO_CHANGED(9)
πΈ NAME πΈ
okay bestie, welcome to the struct gpiol...info_changed(9) page from the Kernel API Manual β¨ β it's literally all about struct gpioline_info_changed, aka Information about a change in status of a GPIO line. no cap, that's the whole vibe. π
π¦ SYNOPSIS π¦
struct gpioline_info_changed {
struct gpioline_info info;
__u64 timestamp;
__u32 event_type;
__u32 padding[5];
};
π Members π
infoβ updated line information.timestampβ estimate of time of status change occurrence, in nanoseconds.event_typeβ one ofGPIOLINE_CHANGED_REQUESTED,GPIOLINE_CHANGED_RELEASEDandGPIOLINE_CHANGED_CONFIG.paddingβ reserved for future use.
π Description π
so the struct gpioline_info embedded here has 32-bit alignment on its own, but it works fine with 64-bit alignment too β highkey flexible. With its 72 byte size, we can guarantee there are no implicit holes between it and subsequent members. The 20-byte padding at the end makes sure we don't add any implicit padding at the end of the structure on 64-bit architectures. slay. β¨
β οΈ Note β οΈ
heads up bestie: this struct is part of ABI v1 and is deprecated. Use ABI v2 and struct gpio_v2_line_info_changed instead. periodt. π
π SEE ALSO π
Kernel file ./include/uapi/linux/gpio.h is the source-file bestie, and these are the related manual pages to go peek at π:
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)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 gpiohandle_request(9)struct gpiohandle_config(9)struct gpiohandle_data(9)struct gpioevent_request(9)struct gpioevent_data(9)
and that's the whole page, bestie π«Ά β source/version vibes are ./include/uapi/linux, dated October 2026, and the manual title is struct gpiol...info_changed(9). bye π
π¦ 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