ath5k_hw_set_gpio_output(9)
π ath5k_hw_set_gpio_output
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for ath5k_hw_set_gpio_output(9), and honestly? She's a little one, but she's important. This is the function that tells a GPIO pin on your ath5k wireless card "hey girl, you're an output now" π
πΈ NAME πΈ
ath5k_hw_set_gpio_output β sets GPIO outputs π like, it configures a GPIO pin to be an output pin, that's the whole vibe, no cap.
β¨ SYNOPSIS β¨
int ath5k_hw_set_gpio_output (struct ath5k_hw *ah , u32 gpio );
it returns an int, it takes a struct ath5k_hw *ah and a u32 gpio, and yes the spaces before the commas are canon, we don't fix what isn't broken π
π¦ ARGUMENTS π¦
ahβ Thestruct ath5k_hwπ«Ά that's your ath5k hardware handle, the main character of this whole operation.gpioβ The GPIO pin to set as output β literally just which pin you want to flip into output mode, iykyk.
π SEE ALSO π
- Kernel file
./drivers/net/wireless/ath/ath5k/gpio.cβ GPIO/LED functions(9) π ath5k_hw_set_ledstate(9)ath5k_hw_set_gpio_input(9)ath5k_hw_get_gpio(9)ath5k_hw_set_gpio(9)ath5k_hw_set_gpio_intr(9)
all her little friends, go read them too, they're all in the same friend group fr fr π§
lowkey a tiny page, but that's fine β she does one thing and she does it slayfully πβ¨ nothing dangerous here, no weird caveats, just a pin becoming an output. periodt.
and that's the whole page bestie!! πΈ this one lives in ./drivers/net/wireless/ath/ath5k, dated October 2026 π mwah, go set some GPIO outputs, you've got this ππ₯
π¦ 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