STRUCT ATMEL_PIOCTRL_DATA(9)
π struct atmel_pioctrl_data(9) β like, the Kernel API Manual, bestie π
okay so picture this: you're deep in the Kernel API Manual and you bump into struct atmel_pioctrl_data and you're like "what even is this" β don't worry, I got you. β¨ It's the struct holding all the data for the Atmel PIO controller (that's pinmux plus gpio, both of them, together, iconic). π¦
β¨ SYNOPSIS β¨
struct atmel_pioctrl_data {
unsigned int nbanks;
unsigned int last_bank_count;
unsigned int slew_rate_support;
};
no cap, that's the whole thing. three unsigned ints. she's simple, she's elegant, she's serving. π
πΈ Members πΈ
nbanksβ the number of PIO banks. literally just how many banks we're working with, periodt. π¦last_bank_countβ the number of lines in the last bank. and likeβ¦ heads up bestie π this one can be less than the rest of the banks, so don't go assuming it matches, fr fr. it's giving "not like the other banks" energy and that's on purpose. πslew_rate_supportβ slew rate support. yes. that's the whole description. it's short but she ate. π₯
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/pinctrl/pinctrl-at91-pio4.cstructatmel_pioctrl(9)β go read that one too, iykyk π - also, you'll spot
./drivers/pinctrlhanging around in the source, that's just where she lives π§
lowkey reminder: the struct name isatmel_pioctrl_databut the buddy struct isatmel_pioctrlβ one little word different, don't mix them up or you WILL be confused at 3am π
okay that's the whole page, you understood it perfectly, I'm so proud of you πβ¨ππ¦πΈπ
from ./drivers/pinctrl, dated October 2026 β mwah, love you, bye bestie! ππ
π¦ 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