cdns_uart_console_setup(9)
π cdns_uart_console_setup β the canonical "get this UART dressed and ready" moment β¨
okay so bestie, welcome to the Kernel API Manual page for cdns_uart_console_setup(9) β it's giving very much "wake up babe, new console init dropped" energy π
πΈ NAME πΈ
cdns_uart_console_setup β literally just Initialize the uart to default config. that's it. that's the whole gig. she shows up, she sets the defaults, she leaves. iconic behaviour, no notes π
π¦ SYNOPSIS π¦
int cdns_uart_console_setup (struct console *co , char *options );
yep, that's the whole signature, character for character, don't come for me π
β¨ ARGUMENTS β¨
coβ the Console handle π«Ά like, your little passport to this console, that's what she is.optionsβ the Initial settings of uart β the starting fit, the outfit she's gonna be wearing when she boots up.
π RETURN π
0 on success, negative errno otherwise π so like, zero = slay, negative = not slay. lowkey the most straightforward vibe check in the whole kernel ngl.
π SEE ALSO π
okay so this is the part where the manpage just, like, dumps the entire friend group π and we love a full roster so here she is, everybody in ./drivers/tty/serial/xilinx_uartps.c plus the whole squad:
Kernel file ./drivers/tty/serial/xilinx_uartps.cβ the home base, the main character file πstruct cdns_uart(9)cdns_uart_handle_rx(9)cdns_rts_gpio_enable(9)cdns_rs485_tx_setup(9)cdns_rs485_rx_setup(9)cdns_uart_tx_empty(9)cdns_rs485_rx_callback(9)cdns_calc_after_tx_delay(9)cdns_uart_handle_tx(9)cdns_uart_isr(9)cdns_uart_calc_baud_divs(9)cdns_uart_set_baud_rate(9)cdns_uart_clk_notifier_cb(9)cdns_rs485_tx_callback(9)cdns_uart_start_tx(9)cdns_uart_stop_tx(9)cdns_uart_stop_rx(9)cdns_uart_break_ctl(9)cdns_uart_set_termios(9)cdns_uart_startup(9)cdns_uart_shutdown(9)cdns_uart_type(9)cdns_uart_verify_port(9)cdns_uart_request_port(9)cdns_uart_release_port(9)cdns_uart_config_port(9)cdns_uart_get_mctrl(9)cdns_uart_console_putchar(9)cdns_uart_console_write(9)cdns_uart_suspend(9)cdns_uart_resume(9)cdns_rs485_config(9)cdns_uart_probe(9)cdns_uart_remove(9)
like okayyy whole extended family at the function reunion π₯ every single one kept, no gatekeeping, periodt.
ngl there's not a single warning, caveat or edge case spelled out on this page β it's a short one, so don't go inventing drama that isn't there bestie π
π cute little sign-off π
this page lives in ./drivers/tty/serial, dated October 2026, from the Kernel API Manual β so yeah, that's the whole vibe. go init those defaults, you absolute legend π§π </output>
π¦ 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