pinctrl_lookup_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pinctrl_lookup_state πŸ’…

okay so bestie, this little icon is straight from the Kernel API Manual, and its whole vibe is simple: it retrieves a state handle from a pinctrl handle. no cap, that’s the tea β˜•βœ¨


✨ NAME ✨

pinctrl_lookup_state β€” retrieves a state handle from a pinctrl handle


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pinctrl_state * pinctrl_lookup_state (struct pinctrl *p , const
char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” the pinctrl handle to retrieve the state from. that’s the main-character handle you’re passing in πŸ’…
  • name β€” the state name to retrieve. literally the name of the state you want back πŸŽ€

🌈 SEE ALSO 🌈

the kernel file it lives in is ./drivers/pinctrl/core.c, and here’s the full friend group it points you toward β€” collect them all, iykyk 🫢


okay that’s the whole page, mwah πŸ’‹ β€” brought to you by ./drivers/pinctrl, dated October 2026, and filed under pinctrl_lookup_state(9). periodt 🫢✨

πŸ“¦ where this page comes from