mctrl_gpio_enable_ms(9)
β¨ mctrl_gpio_enable_ms β Kernel API Manual β¨
okay bestie, welcome to the mctrl_gpio_enable_ms(9) page π
this is a kernel API manual, and we are literally about to make modem-control GPIOs go brrr π¦
πΈ NAME πΈ
mctrl_gpio_enable_ms β turns on the irqs and the whole handling-of-changes situation for the ms lines π
like, the ms lines are gonna start changing and someone's gotta notice, and that someone is this function π«Ά
π SYNOPSIS π
void mctrl_gpio_enable_ms (struct mctrl_gpios *gpios );
yes it's void, yes it takes exactly one argument, yes it's iconic β¨
π ARGUMENTS π
gpiosβ the gpios to enable π₯° that's it, that's the whole argument, it's giving "just hand me the gpios and I'll handle it" main character energy
π SEE ALSO π
Kernel file ./drivers/tty/serial/serial_mctrl_gpio.c β go read it, iykyk π and also these besties right here:
mctrl_gpio_set(9)mctrl_gpio_to_gpiod(9)mctrl_gpio_get(9)mctrl_gpio_init(9)mctrl_gpio_disable_ms_sync(9)mctrl_gpio_disable_ms_no_sync(9)
fr fr, the disable ones are the flip side of this whole vibe check π
ngl the entire family of these functions lives in ./drivers/tty/serial and they're all lowkey obsessed with each other, so if you're here you should probably peek at the rest π
and that's the page!! π this little gem comes from ./drivers/tty/serial, dated October 2026, and it's filed under mctrl_gpio_enable_ms(9) β slay, go enable some ms lines bestie ππ
π¦ 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