STRUCT MTK_PIN_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so struct mtk_pin_desc(9) β€” welcome to the Kernel API Manual, bestie ✨ This is the structure that's providing information for each pin of chips. Yes, every single pin. She's giving per-pin lore, and we're obsessed. πŸ‘‘

✨ SYNOPSIS ✨

struct mtk_pin_desc {
    unsigned int number;
    const char *name;
    struct mtk_eint_desc eint;
    u8 drv_n;
    struct mtk_func_desc *funcs;
};

πŸŽ€ Members πŸŽ€

  • number β€” the unique pin number from the global pin number space. global pin number space, iykyk 🌍
  • name β€” name for this pin. short, sweet, iconic πŸŽ€
  • eint β€” the eint data for this pin. it's giving interrupt data energy ⚑
  • drv_n β€” the index with the driving group. driving group index, no cap πŸš—
  • funcs β€” all available functions for this pins (only used in those drivers compatible to pinctrl-mtk-common.c-like ones). all the functions, but read the parenthetical, bestie πŸ‘€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
  • struct mtk_pin_rsel(9)
  • struct mtk_func_desc(9)
  • struct mtk_eint_desc(9)
🫢 cute little sign-off time: source/version vibes are ./drivers/pinctrl/mediatek, and the date is October 2026. that's the whole page, bestie β€” go be the main character of pin descriptions πŸ’…πŸŒˆ
πŸ“¦ where this page comes from