wm97xx_set_gpio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the gpio. that's it, that's the description, the original manpage said "gpio" and honestly? respect for the confidence πŸ’€
  • status β€” the status. 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 πŸ¦‹


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