mv88e6390_g...gpio_set_smi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mv88e6390_g2_scratch_gpio_set_smi β€” okay bestie, let's talk

So this is a page straight out of the Kernel API Manual, and the star of the show is literally called mv88e6390_g2_scratch_gpio_set_smi. Iconic name, no notes. Grab a snack, we're configuring GPIO muxing for an external SMI πŸ¦‹


✨ NAME ✨

mv88e6390_g2_scratch_gpio_set_smi β€” sets up the gpio muxing for external smi, periodt.


🌸 SYNOPSIS 🌸

int mv88e6390_g2_scratch_gpio_set_smi (struct mv88e6xxx_chip *chip ,
bool external );

That's the whole vibe: one int coming back at you, a struct mv88e6xxx_chip * and a bool. Clean, minimal, main character energy πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” the chip private data. Like, the chip's personal little diary of state. Bestie, it's private for a reason πŸ™ˆ
  • external β€” here's the fork in the road: set the mux for external smi, or free it up for gpio usage. Pick a lane πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the situation. Some mv88e6xxx models have these GPIO pins, right? And those pins are lowkey flexible like that:

  • they may be configured as an external SMI interface, or
  • they may be made free for other GPIO uses πŸ”₯

That's it. That's the whole function's job. It's giving "tiny but crucial." ✨


πŸ’– SEE ALSO πŸ’–

The kernel file lives right here, bestie, go read the source: ./drivers/net/dsa/mv88e6xxx/global2_scratch.c

And the whole friend group β€” every one of them, no cap:

iykyk 🫢


okay that's the page!! πŸ’œ This lil masterpiece ships from ./drivers/net/dsa/mv88e6xxx, dated October 2026, and it answers to the name mv88e6390_g...gpio_set_smi(9) β€” yes the name's truncated in the header, she's mysterious like that 😭 go set some muxes, bestie πŸŽ€β­

πŸ“¦ where this page comes from