mctrl_gpio_get(9)
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β themctrlyouβ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:
mctrl_gpio_set(9)mctrl_gpio_to_gpiod(9)mctrl_gpio_init(9)mctrl_gpio_enable_ms(9)mctrl_gpio_disable_ms_sync(9)mctrl_gpio_disable_ms_no_sync(9)
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
- 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