mv88e6352_g2...pio_set_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

mv88e6352_g2_scratch_gpio_set_data β€” bestie, this is the one that sets data on a gpio pin πŸ’…


🌸 SYNOPSIS 🌸

int mv88e6352_g2_scratch_gpio_set_data (struct mv88e6xxx_chip *chip ,
unsigned int pin , int value );

okay so it returns an int, and it takes three things: a struct mv88e6xxx_chip * called chip, an unsigned int called pin, and an int called value. that's the whole vibe 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” the chip's private data, like its little diary of state πŸ—‚οΈ
  • pin β€” the gpio index, aka which pin we're talking about ✨
  • value β€” the value to set, literally the thing you're setting πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives right here, no cap:

./drivers/net/dsa/mv88e6xxx/global2_scratch.c

and here's the whole friend group, all section 9, all iconic πŸ‘‘:


ngl if you're reading this page you probably wanted get_data and got lost β€” but hey, you're here now, and the pin is gonna be so set πŸ’–

okay that's the whole page!! source path ./drivers/net/dsa/mv88e6xxx, dated October 2026, section 9 β€” mwah, go set some gpio data bestie πŸ’…πŸŒŸ

πŸ“¦ where this page comes from