STRUCT AT91_GPIO_CHIP(9)
π struct at91_gpio_chip(9) π
okay bestie so this is a page straight outta the Kernel API Manual and it's literally all about struct at91_gpio_chip β the at91 gpio chip. no cap, that's the whole vibe. let's get into it π
β¨ NAME β¨
struct at91_gpio_chip β at91 gpio chip. that's it, that's the name, she's iconic and she knows it π
πΈ SYNOPSIS πΈ
here's the whole struct laid out for you, character for character, do not touch:
struct at91_gpio_chip {
struct gpio_chip chip;
struct pinctrl_gpio_range range;
struct at91_gpio_chip *next;
int pioc_hwirq;
int pioc_virq;
void __iomem *regbase;
struct clk *clock;
const struct at91_pinctrl_mux_ops *ops;
u32 wakeups;
u32 backups;
u32 id;
};
like, look at her. eleven members. main character energy fr fr π§
π¦ Members π¦
okay so every single field, one by one, no skipping, we're doing this properly:
chipβ the gpio chip. like, the actual gpio chip. that's the whole point bestie πrangeβ the gpio range. she's ranging, that's her job β¨nextβ the bank that shares the same clock. siblings! sharing! we love a clock-sharing household π«Άpioc_hwirqβ the PIO bank interrupt identifier on AIC. hardware-y. very real π₯pioc_virqβ the PIO bank Linux virtual interrupt. the virtual one, the software bestie of the one above πregbaseβ the PIO bank virtual address. it's avoid __iomem *, so like, handle with care πclockβ the associated clock. the clock she's associated with. slay βopsβ the at91 pinctrl mux ops. it's aconst struct at91_pinctrl_mux_ops *, and it's const so don't even think about it πwakeupsβ wakeup interrupts. the ones that wake you up, rude but necessary πbackupsβ interrupts disabled in suspend. napping interrupts, honestly same πidβ the gpio chip identifier. her little name tag π
ngl, every one of those members matters β this is not a "skim it" situation, this is a "read the whole struct" situation π
π SEE ALSO π
go look at the kernel file ./drivers/pinctrl/pinctrl-at91.c β it's where all the lore lives, iykyk. and also these absolute icons:
struct at91_pmx_func(9)struct at91_pmx_pin(9)struct at91_pin_group(9)struct at91_pinctrl_mux_ops(9)
read them all, in that order, bestie. you'll be so smart π¦β¨
okay that's the page!! mwah π this lil beauty lives under ./drivers/pinctrl and she's dated October 2026 β so like, future girlboss behaviour honestly πβ thanks for reading, love you, 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