STRUCT BRCMSTB_PDATA(9)
π 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 (usually0). 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.hstruct 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
- 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