mctrl_gpio_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for mctrl_gpio_get(9) πŸ’– this is the lil function that updates mctrl with the gpios values, and we’re gonna read it together like a group chat, fr fr.

🌸 NAME 🌸

mctrl_gpio_get β€” update mctrl with the gpios values. periodt πŸ’…

✨ SYNOPSIS ✨

unsigned int mctrl_gpio_get (struct mctrl_gpios *gpios , unsigned int
       *mctrl );

πŸŽ€ ARGUMENTS πŸŽ€

  • gpios β€” the gpios you’re getting the info from, bestie.
  • mctrl β€” the mctrl you’re setting. main character energy.

πŸ¦‹ RETURN πŸ¦‹

It gives you back the modified mctrl β€” literally the same value as in mctrl. no cap, that’s the return vibe. ✨

🌈 DESCRIPTION 🌈

Update mctrl with the gpios values. That’s the whole plot: mctrl_gpio_get takes the gpios info and updates mctrl with it. iconic behavior, honestly. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/tty/serial/serial_mctrl_gpio.c β€” and the whole mctrl gpio friend group:


mwah πŸ’‹ cute sign-off time: this page’s source/version spot is ./drivers/tty/serial, dated October 2026, and it’s mctrl_gpio_get(9) logging off. πŸ«ΆπŸ’…

πŸ“¦ where this page comes from