STRUCT PCS_GPIOFUNC_RANGE(9)
π struct pcs_gpiofunc_range(9) β the kernel api manual bestie π
okay so welcome to the Kernel API Manual entry for struct pcs_gpiofunc_range(9) β literally the glow-up you needed for understanding pin ranges that share the same mux value of gpio function. no cap, this one's a little icon. β¨
πΈ NAME πΈ
struct pcs_gpiofunc_range β pin ranges with same mux value of gpio function. it's giving "group chat for pins that all picked the same vibe." π
β¨ SYNOPSIS β¨
here's the whole struct, copied exactly because we do not play with code integrity in this house:
struct pcs_gpiofunc_range {
unsigned offset;
unsigned npins;
unsigned gpiofunc;
struct list_head node;
};
π Members π
offsetβ offset base of pins. think of it as where this little pin party starts. πnpinsβ number pins with the same mux value of gpio function. yes bestie, it's the headcount for the function-matching squad. π―ββοΈgpiofuncβ mux value of gpio function. the actual vibe/mux setting they all share. π₯nodeβ list node. the link that keeps this struct connected to the rest of the list, lowkey main character energy for data structure cohesion. π
π¦ SEE ALSO π¦
kernel file ./drivers/pinctrl/pinctrl-single.c and all its friends β literally the whole pinctrl-single fam. go say hi:
struct pcs_func_vals(9)struct pcs_conf_vals(9)struct pcs_conf_type(9)struct pcs_function(9)struct pcs_data(9)struct pcs_soc_data(9)struct pcs_device(9)pcs_add_pin(9)pcs_allocate_pin_table(9)pcs_add_function(9)pcs_get_pin_by_offset(9)pcs_parse_one_pinctrl_entry(9)pcs_dt_node_to_map(9)pcs_irq_free(9)pcs_free_resources(9)struct pcs_interrupt(9)pcs_irq_set(9)pcs_irq_mask(9)pcs_irq_unmask(9)pcs_irq_set_wake(9)pcs_irq_handle(9)pcs_irq_handler(9)pcs_irq_chain_handler(9)pcs_irq_init_chained_handler(9)pcs_quirk_missing_pinctrl_cells(9)
π reminder: this is kernel API territory, so keep your structs and your references exactly as they are β no renaming, no merging, no invented options. facts stay facts, even when the vibe is immaculate. π«Ά
okay that's the whole page, bestie β sourced from ./drivers/pinctrl, Kernel API Manual, dated October 2026, and it's struct pcs_gpiofunc_range(9) all the way down. slay, study, and cite your kernel docs responsibly. ππβ
π¦ 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