meson_get_bank(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– meson_get_bank(9) β€” Kernel API Manual era πŸ’–

okay so bestie, welcome to the meson_get_bank(9) page from the Kernel API Manual ✨ this one is lowkey iconic: it finds the bank containing a given pin, and that’s literally the whole assignment 🫢


πŸŽ€ NAME πŸŽ€

meson_get_bank β€” find the bank containing a given pin πŸ’…


✨ SYNOPSIS ✨

int meson_get_bank (struct meson_pinctrl *pc , unsigned int pin , const struct meson_bank **bank );

No cap, that’s the whole signature πŸ‘‘


🌸 ARGUMENTS 🌸

  • pc β€” the pinctrl instance, aka the main-character context you’re working with 🧚
  • pin β€” the pin number, the specific pin we’re checking on πŸ”₯
  • bank β€” the found bank, i.e. where the result gets dropped off πŸ’Œ

⭐ RETURN ⭐

0 on success, a negative value on error 😭 so like, zero means slay, negative means something went sideways, periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/pinctrl/meson/pinctrl-meson.c β€” go peek if you’re nosy, bestie πŸ“‚
  • meson_calc_reg_and_bit(9) β€” another icon in the same friend group πŸ’«

Byeee 🫢 this page came from source/version ./drivers/pinctrl/meson, dated October 2026, and it’s still serving meson_get_bank(9) realness πŸŽ€βœ¨

πŸ“¦ where this page comes from