aspeed_g5_sig_expr_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

aspeed_g5_sig_expr_set(9) πŸ’– Kernel API Manual energy

okay bestie, we're in the pinmux corner of the kernel and this page is literally about configuring a pin's signal through an expression. no cap, let's get into it πŸŽ€

🌸 NAME 🌸

aspeed_g5_sig_expr_set β€” configure a pin's signal by applying an expression's descriptor state for all descriptors in the expression. that's the whole vibe: one expression, all its descriptors, state applied ✨

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the pinmux context. that's the context bestie, you gotta pass it 🫢
  • expr β€” the expression associated with the function whose signal is to be configured. it's giving "the actual expression in question" πŸ’…
  • enable β€” true to enable an function's signal through a pin's signal expression, false to disable the function's signal. yes, literally true versus false, iconic πŸ”₯

πŸ”₯ RETURN πŸ”₯

returns 0 if the expression is configured as requested, and a negative error code otherwise. no cap, negative means something went sideways 😭

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c β€” go look at the source, iykyk πŸ‘‘

cute little footer sign-off, because we don't copy-paste the line around here: source/version ./drivers/pinctrl/aspeed Β· date October 2026 Β· page aspeed_g5_sig_expr_set(9) πŸ«ΆπŸ’…

πŸ“¦ where this page comes from