mv88e6352_g...gpio_set_dir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the mv88e6352_g...gpio_set_dir(9) page from the Kernel API Manual (section 9, iykyk), and the function it's hyping up is mv88e6352_g2_scratch_gpio_set_dir β€” literally set direction of gpio pin πŸ’… like, are we going in or out? one lil pin, main character energy πŸ‘‘


🌸 SYNOPSIS 🌸

int mv88e6352_g2_scratch_gpio_set_dir (struct mv88e6xxx_chip *chip ,
unsigned int pin , bool input );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” chip private data, the chip's own lil data stash πŸ’–
  • pin β€” gpio index, aka which pin we're talking about ✨
  • input β€” should the gpio be an input, or an output? that's the whole question, and this is where you answer it πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

the Kernel file is ./drivers/net/dsa/mv88e6xxx/global2_scratch.c, and here's the whole friend group:


mwah πŸ’‹ that's the page β€” source/version is ./drivers/net/dsa/mv88e6xxx, stamped October 2026, and yes she ate. periodt 🫢🌈

πŸ“¦ where this page comes from