serial_port_shutdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… serial_port_shutdown(9) β€” Kernel API Manual ✨

πŸŽ€ NAME πŸŽ€

serial_port_shutdown β€” shut down hardware

✨ SYNOPSIS ✨

void serial_port_shutdown (struct tty_port *tport );

🫢 ARGUMENTS 🫢

  • tport β€” the tty port to shut down, bestie. That’s the one getting the shutdown treatment πŸ’…

🌸 DESCRIPTION 🌸

Okay so serial_port_shutdown shuts down a USB serial port β€” main character energy, honestly. It’s serialized against activate by the tport mutex, and it’s kept to matching open/close pairs of calls by the tty-port initialized flag.

🫢 Vibe check: not called if tty is console. Periodt. That detail is literally in the rules, so don’t skip it, iykyk.

🌈 SEE ALSO 🌈


And that’s the whole page, bestie 🫢 this one’s source/version is ./drivers/usb/serial, dated October 2026, and it’s all about serial_port_shutdown(9) πŸ’–βœ¨

πŸ“¦ where this page comes from