mv88e6352_g...gpio_set_dir(9)
β¨ 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:
mv88e6xxx_g2_scratch_get_bit(9)mv88e6xxx_g2_scratch_set_bit(9)mv88e6352_g2_scratch_gpio_get_data(9)mv88e6352_g2_scratch_gpio_set_data(9)mv88e6352_g2_scratch_gpio_get_dir(9)mv88e6352_g2_scratch_gpio_get_pctl(9)mv88e6352_g2_scratch_gpio_set_pctl(9)mv88e6390_g2_scratch_gpio_set_smi(9)mv88e6393x_g2_scratch_gpio_set_smi(9)mv88e6352_g2_cache_global_scratch_config3(9)mv88e6352_g2_scratch_port_has_serdes(9)
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
- 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