cdns_uart_set_termios(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cdns_uart_set_termios(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for cdns_uart_set_termios β€” this is the termios glow-up function, and she is busy. πŸ’– She handles data length, parity, stop bits, flow control, and baud rate. Basically all the personality traits of your serial line, all at once. Iconic behaviour, no cap.


🌸 NAME 🌸

cdns_uart_set_termios β€” the termios operations girlie: she's in charge of data length, parity, stop bits, flow control, and baud rate πŸŽ€


✨ SYNOPSIS ✨

void cdns_uart_set_termios (struct uart_port *port , struct ktermios
*termios , const struct ktermios *old );

note the void bestie β€” she does the work and gives you nothing back. queen behaviour honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” handle to the uart port structure. this is the main character of the whole operation, the actual port you're re-styling πŸ’…
  • termios β€” handle to the input termios structure. this is the new fit she's trying on β€” the settings you actually want ✨
  • old β€” values of the previously saved termios structure. the before pic πŸ“Έ so she can see what changed

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/tty/serial/xilinx_uartps.c, plus the whole friend group β€” these are all literally in the same file, it's giving group chat:

ok that's a lot of siblings but they're all valid, go say hi 🫢

and that's the whole page bestie, ily for reading to the end 🌈 this one lives in ./drivers/tty/serial, dated October 2026, from the Kernel API Manual β€” mwah, go configure some uart πŸ’œπŸŽ€

πŸ“¦ where this page comes from