wm97xx_set_gpio(9)
π wm97xx_set_gpio β the Kernel API Manual moment β¨
okay so bestie, we're in the wm97xx_set_gpio(9) section of the Kernel API Manual and honestly? this one's a little cutie. it does exactly one thing and it does it with main character energy π
β¨ NAME β¨
wm97xx_set_gpio β literally just set the status of a codec GPIO. that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
void wm97xx_set_gpio (struct wm97xx *wm , u32 gpio , enum
wm97xx_gpio_status status );
yeah that's the whole signature, copy it exactly please, i'm not about to let you freestyle this one π
π ARGUMENTS π
wmβ the wm97xx device. your main character. the one you're doing all this for πgpioβ thegpio. that's it, that's the description, the original manpage said "gpio" and honestly? respect for the confidence πstatusβ thestatus. again, extremely brief, extremely iconic, we love a mystery π
ngl the argument descriptions in the source doc are doing the absolute bare minimum, but i'm not gonna invent lore that isn't there. we report what we see, bestie π«Ά
π DESCRIPTION π
so what does it do? it sets the status of a codec GPIO pin. that's the whole function. one job, zero drama, slays it every time β¨
think of it as the "make this pin be in this state" button. you got a struct wm97xx * in one hand, a u32 gpio in the other, and an enum wm97xx_gpio_status in your pocket, and you just... make it happen π
π¦ SEE ALSO π¦
- the kernel file
./drivers/input/touchscreen/wm97xx-core.cβ go read the source if you want the real tea β wm97xx_read_aux_adc(9)wm97xx_get_gpio(9)β the getter to this setter, they're giving sibling energy fr frwm97xx_ts_input_open(9)wm97xx_ts_input_close(9)
okay that's the page!! π it lives over in ./drivers/input/touchscreen, dated October 2026, and the page is literally called wm97xx_set_gpio(9) β so if you need to cite it in your homework you already have everything. mwah πβ¨ go set some GPIOs responsibly, 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