STRUCT TNG_GPIO_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Ύ struct tng_gpio_context(9) πŸ’Ύ

okay bestie, welcome to the Kernel API Manual page for struct tng_gpio_context. This is the context struct that gets saved during suspend-resume, and honestly? It’s giving β€œquiet little save file with main character energy.” 🫢


✨ NAME ✨

struct tng_gpio_context β€” Context to be saved during suspend-resume. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

no cap, here’s the exact shape, bestie β€” no renaming, no β€œvibes-based” edits:

       struct tng_gpio_context {
           u32 level;
           u32 gpdr;
           u32 grer;
           u32 gfer;
           u32 gimr;
           u32 gwmr;
        };

🧚 Members 🧚

every field is a u32, and here’s the group-chat rundown:

  • level β€” Pin level ✨
  • gpdr β€” Pin direction πŸ’…
  • grer β€” Rising edge detect enable 🌸
  • gfer β€” Falling edge detect enable πŸ¦‹
  • gimr β€” Interrupt mask πŸŽ€
  • gwmr β€” Wake mask πŸ‘‘

πŸ”Ž SEE ALSO πŸ”Ž

  • Kernel file ./drivers/gpio/gpio-tangier.c β€” go peek, iykyk πŸ‘€

that’s the whole page, bestie 🫢 this one comes from the ./drivers/gpio source and is dated October 2026. It’s the struct tng_gpio_context(9) manual page, and yes, it understood the assignment. periodt πŸ’–

πŸ“¦ where this page comes from