aspeed_find_expr_by_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aspeed_find_expr_by_name(9) πŸ’…

okay so this is the Kernel API Manual page for aspeed_find_expr_by_name, and honestly? iconic. It's the helper that goes looking for the signal expression you need to enable the pin's signal for whatever function you're requesting. lowkey essential, no cap. πŸ¦‹


✨ NAME ✨

aspeed_find_expr_by_name β€” search for the signal expression needed to enable the pin's signal for the requested function. That's the whole assignment, bestie. πŸ’–

πŸ“œ SYNOPSIS πŸ“œ

here's the signature, fr fr:

const struct aspeed_sig_expr * aspeed_find_expr_by_name (const struct aspeed_sig_expr **exprs , const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • exprs β€” the list of signal expressions, aka the haystack πŸ“. That's where the searching happens.
  • name β€” the name of the requested function, aka the needle πŸ’…. This is what you're matching against.

πŸ” RETURN πŸ”

You get back a pointer to the signal expression whose function tag matches the name you provided. If there's no match? It's NULL, and that's periodt. 🫢

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/pinctrl/aspeed/pinctrl-aspeed.c β€” go peek, iykyk πŸ“‚
  • aspeed_disable_sig(9) β€” another icon, linked for your convenience ✨

that's the tea from ./drivers/pinctrl/aspeed, dated October 2026 β€” aspeed_find_expr_by_name(9) out, bestie πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from