xway_stp_dir_out(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to xway_stp_dir_out(9) from the Kernel API Manual β€” it's the gpio_chip->dir_out hook, and its whole main-character job is setting GPIO direction. ✨

πŸŽ€ NAME πŸŽ€

xway_stp_dir_out β€” gpio_chip->dir_out β€” set gpio direction. no cap, that's the assignment. 🫢

🌸 SYNOPSIS 🌸

int xway_stp_dir_out (struct gpio_chip *gc , unsigned gpio , int val );

πŸ’… ARGUMENTS πŸ’…

  • gc β€” pointer to gpio_chip device structure. literally the chip's info card. πŸŽ€
  • gpio β€” GPIO signal number. the specific little signal we're talking about. πŸ”₯
  • val β€” value to be written to specified signal. πŸ’–

✨ DESCRIPTION ✨

Same as xway_stp_set, always returns 0. that's it, that's the whole vibe β€” lowkey simple, highkey iconic. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpio/gpio-stp-xway.c plus these besties: xway_stp_get(9), xway_stp_set(9), xway_stp_request(9), xway_stp_hw_init(9). go read them, iykyk. 🌈


and that's the page, bestie! source/version stamp: ./drivers/gpio, dated October 2026, filed under xway_stp_dir_out(9). slay and goodbye πŸ’œ

πŸ“¦ where this page comes from