aspeed_g5_sig_expr_set(9)
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βtrueto enable an function's signal through a pin's signal expression,falseto disable the function's signal. yes, literallytrueversusfalse, 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
- 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