STRUCT RTD1625_GPIO_INFO(9)
π struct rtd1625_gpio_info(9) π
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're in the kernel manual, everyone act normal π this page is literally all about one lil struct and ngl it's kind of iconic.
β¨ NAME β¨
struct rtd1625_gpio_info β the specific GPIO register info struct. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
struct rtd1625_gpio_info {
unsigned int num_gpios;
unsigned int irq_type_support;
unsigned int base_offset;
unsigned int gpa_offset;
unsigned int gpda_offset;
unsigned int level_offset;
unsigned int write_en_all;
};
look at her. seven unsigned int fields, not one of them out of place. main character energy fr fr π
π Members π
okay so let's meet the cast, one field at a time:
num_gpiosβ the number of GPIOs. that's how many of them there are. the count. the headcount. π§irq_type_supportβ the supported IRQ types. which interrupt types are getting the yes πbase_offsetβ the offset for the GPIO controller register. like, where the controller register actually lives.gpa_offsetβ the offset for the GPIO assert interrupt status register. assert, as in it happened, say it with your chest π£gpda_offsetβ the offset for the GPIO deassert interrupt status register. deassert, the opposite girlie, we love a balanced duo π«Άlevel_offsetβ the offset of the level interrupt status register. level-triggered, lowkey the chillest of the trigger types β¨write_en_allβ the write-enable mask for all configurable bits. every configurable bit, enabled, together, as a treat π
π SEE ALSO π
- Kernel file
./drivers/gpio/gpio-rtd1625.cβ the actual source, go read it, iykyk π₯
bestie reminder: all those offsets are offsets, not addresses, not lengths, not vibes. don't be out here guessing π
and that's the page! π sign-off time: this lil writeup lives in ./drivers/gpio, dated October 2026, and it's the struct rtd1625_gpio_info(9) page β periodt π
β
π¦ 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