STRUCT ATMEL_PIOCTRL_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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.c struct atmel_pioctrl(9) β€” go read that one too, iykyk πŸ‘‘
  • also, you'll spot ./drivers/pinctrl hanging around in the source, that's just where she lives 🧚

lowkey reminder: the struct name is atmel_pioctrl_data but the buddy struct is atmel_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