ath5k_hw_set_gpio_input(9)
π ath5k_hw_set_gpio_input β bestie's guide to flipping a GPIO pin into input mode β¨
okay so this page is from the Kernel API Manual (section 9, the kernel-API girlies), and it's all about ONE tiny function that quietly does a very specific thing. no cap, it's short, but we're gonna treat it with the respect it deserves π
πΈ NAME πΈ
ath5k_hw_set_gpio_input β Set GPIO inputs π¦
like, literally. that's the whole job. it sets GPIO inputs. iconic, concise, no notes π
β¨ SYNOPSIS β¨
int ath5k_hw_set_gpio_input (struct ath5k_hw *ah , u32 gpio );
that's the whole signature, copy it exactly, don't be cute with it π (i mean, be cute with everything else, just not the code)
π«Ά ARGUMENTS π«Ά
ahβ Thestruct ath5k_hw. this is your main character struct, the ath5k hardware handle itself π everything happens through her.gpioβ GPIO pin to set as input. au32telling the function which pin is getting the input glow-up β
two args. that's it. we love a low-effort queen π₯
ngl, this page is short because the function is short. don't go looking for a RETURN VALUE section β the original doesn't have one, and i'm not about to invent lore π
π SEE ALSO π
the friend group, in order, fr fr:
- Kernel file
./drivers/net/wireless/ath/ath5k/gpio.cGPIO/LED functions(9) β the source file she lives in, and her whole GPIO/LED function crew π ath5k_hw_set_ledstate(9)ath5k_hw_set_gpio_output(9)ath5k_hw_get_gpio(9)ath5k_hw_set_gpio(9)ath5k_hw_set_gpio_intr(9)
literally the entire gpio.c squad. go read them too, iykyk π§
π cute sign-off π
and that's the page bestie!! this little number comes to you from ./drivers/net/wireless/ath/ath5k, dated October 2026, and it's filed under ath5k_hw_set_gpio_input(9) β go set some inputs, slay, periodt ππΈ
π¦ 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