STRUCT RTD1625_GPIO_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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