STRUCT BRCMSTB_PDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so, welcome to struct brcmstb_pdata(9) β€” it's the specific data for a pinctrl chip implementation πŸŽ€ like, it's the little info packet that tells one particular pinctrl chip how to be itself. bestie, it's giving "custom fit, no cap" ✨

this page lives in the Kernel API Manual btw, iykyk πŸ’œ


✨ SYNOPSIS ✨

here's the whole struct, literally character for character, don't touch it, she's perfect:

struct brcmstb_pdata {
    const struct pinctrl_desc *pctl_desc;
    const struct pinctrl_gpio_range *gpio_range;
    const struct pin_regs *pin_regs;
    const struct brcmstb_pin_funcs *pin_funcs;
    const unsigned int func_count;
    const unsigned int func_gpio;
    const char * const *func_names;
 };

lowkey every field is const, she said "read-only era" πŸ’…πŸ”₯


πŸŽ€ MEMBERS πŸŽ€

okay let's meet the cast, main character energy from every single one 🫢

  • pctl_desc β€” the pin controller descriptor for this implementation. like the ID card for this exact chip, bestie πŸͺͺ
  • gpio_range β€” the range of GPIOs served by this controller. this is her turf, her zone, her assigned little kingdom πŸ‘‘
  • pin_regs β€” an array of register descriptors, one for each pin. yes, each pin. she's thorough πŸ¦‹
  • pin_funcs β€” an array of all possible assignable functions for each pin. the whole menu of what every pin could be when it grows up 🌈
  • func_count β€” the total number of functions. just a count. tallying it up fr fr πŸ”’
  • func_gpio β€” which function number is the GPIO one (usually 0). like, the default vibe of a function slot ✨
  • func_names β€” an array listing all the function names. every name, spelled out, no mystery, we love transparency πŸ’–

🌈 SEE ALSO 🌈

go look at these if you wanna keep the lore going πŸ‘€

  • Kernel file ./drivers/pinctrl/bcm/pinctrl-brcmstb.h struct
  • brcmstb_pin_funcs(9)
ngl if you're here you probably also need brcmstb_pin_funcs(9) β€” they're literally besties, you can't have one without the other πŸ˜­πŸ’€

aaaand that's the page!! mwah πŸ’‹ this little icon came to you from ./drivers/pinctrl/bcm, dated October 2026 β€” yes, 2026, she's ahead of her time πŸ§šβ€β™€οΈβ­ go forth and pin things, bestie πŸ’œπŸ‘‘

πŸ“¦ where this page comes from