ath5k_hw_get_gpio(9)
β¨ ath5k_hw_get_gpio β¨
okay so bestie, real talk β this is a page from the Kernel API Manual (section 9, yes the fun kernel-functions one π
), and it's about one tiny little function that literally just tells you what a GPIO pin is doing rn. that's it. that's the whole vibe. it's giving "small but essential," y'know? πΈ
π NAME π
ath5k_hw_get_gpio β Get GPIO state π
like... it reads the current state of a GPIO pin. no cap, that's literally the job. π¦
π₯ SYNOPSIS π₯
u32 ath5k_hw_get_gpio (struct ath5k_hw *ah , u32 gpio );
read it, memorize it, put it on your mood board π β it hands you back a u32 and takes exactly two things: your ah and your gpio. that's the whole lineup, periodt.
π ARGUMENTS π
ahβ Thestruct ath5k_hwπ the main character struct, fr fr. this is the hardware context you're working with.gpioβ The GPIO pin to read π― like, which pin are we checking on. you tell it, it tells you the state.
no defaults, no optional extras, no sneaky third argument hiding in the back. two args, both mandatory, iykyk π
π SEE ALSO π
the whole friend group, bestie β go say hi π«Ά:
- 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_set_gpio_output(9)ath5k_hw_set_gpio(9)ath5k_hw_set_gpio_intr(9)
like if get was the reader, all of those are the writers and setters β and yes, that's the entire squad, lowkey iconic π
so yeah π β this whole thing lives in ./drivers/net/wireless/ath/ath5k, it's dated October 2026 (futuristic of her ngl β), and it's the ath5k_hw_get_gpio(9) page from the Kernel API Manual. go forth and read those pins, bestie β slay πΈππ§
π¦ 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