aspeed_g6_sig_expr_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aspeed_g6_sig_expr_set β€” like, the whole vibe

okay so bestie, real talk: this is a page from the Kernel API Manual, and it's all about aspeed_g6_sig_expr_set. Yes the name is a mouthful, no we are not shortening it, it's iconic and we respect it. πŸŽ€


✨ NAME ✨

aspeed_g6_sig_expr_set β€” configures a pin's signal by applying an expression's descriptor state, for all the descriptors in that expression. That's it, that's the whole job. She's focused, she's efficient, she slays. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int aspeed_g6_sig_expr_set (struct aspeed_pinmux_data *ctx , const
       struct aspeed_sig_expr *expr , bool enable );

Like, three things go in, an int comes out. Simple as. ✨


πŸ”₯ ARGUMENTS πŸ”₯

  • ctx β€” the pinmux context. She's the main character of the story, holding all the state together. πŸ‘‘
  • expr β€” the expression that's associated with the function whose signal you're about to configure. Basically the little permission slip for the pin. 🎫
  • enable β€” a bool, and it's giving very binary queen energy:
    • true β†’ enable a function's signal through a pin's signal expression βœ…
    • false β†’ disable the function's signal ❌

no in-between, no "maybe", no "let's see how it goes". periodt. 🫢


🌈 RETURN 🌈

  • 0 β€” the expression is configured exactly as you requested. a win, a slay, an ate. πŸ’–
  • a negative error code β€” otherwise. 😭 that's it, that's the whole deal, no extra lore here.

🌸 SEE ALSO 🌸

  • the Kernel file ./drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c β€” go read the source, iykyk, it's right there. πŸ“–βœ¨

ngl bestie, this one's short but she's mighty β€” every descriptor in the expression gets the state applied, not just one, so don't come for her for being "too much". she's thorough. 🧚

mwah πŸ’‹ that's the whole page! brought to you by the source <italic>./drivers/pinctrl/aspeed</italic> and dated <italic>October 2026</italic> β€” love that for us, see you in the next page bestie πŸ“πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from