xway_stp_request(9)
π xway_stp_request(9) β ok bestie, let's talk Kernel API Manual
Hey hi hello, this is xway_stp_request from the Kernel API Manual, and she is literally the gpio_chip->request callback. Yes, that one. Come sit, I'll explain π«Ά
β¨ SYNOPSIS β¨
int xway_stp_request (struct gpio_chip *gc , unsigned gpio );
That's the whole vibe check right there β returns an int, takes two args, iconic, no notes π
π ARGUMENTS π
gcβ a pointer to thegpio_chipdevice structure. Like, the actual chip we're talking about πgpioβ the GPIO signal number. Which pin are we on, bestie? That's the number π
πΈ DESCRIPTION πΈ
Okay so the entire personality of this function is: we mask out the HW driven pins β¨
That's it, that's the description, and honestly? It ate. Short, sweet, to the point, no rambling. The HW driven pins get masked out, periodt π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpio/gpio-stp-xway.cβ the home base, go look π§ xway_stp_get(9)xway_stp_set(9)xway_stp_dir_out(9)xway_stp_hw_init(9)
The whole squad, fr fr. Go read them, iykyk π
ngl this one's short but she's important β don't skip the masking, that's the whole point π
k byeeee π this little cutie lives in ./drivers/gpio, dated October 2026, and that footer note is your official sign-off bestie β mwah, slay, go mask those pins πβ¨
π¦ 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