aspeed_g6_sig_expr_set(9)
π 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β abool, 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms