cdns_uart_startup(9)
πΈ cdns_uart_startup(9) β from the Kernel API Manual, bestie π
Okay so picture this: you're deep in the kernel, someone just opened a cdns_uart port, and the kernel is like "bestie, who's gonna handle this?" That's literally this function. She's the startup girlie β the one who gets called when an application opens a cdns_uart port. Main character energy, no cap. β¨
β¨ NAME β¨
cdns_uart_startup β the function that gets called when an application opens a cdns_uart port π
π¦ SYNOPSIS π¦
int cdns_uart_startup (struct uart_port *port );
π ARGUMENTS π
portβ the handle to the uart port structure π«Ά like, this is the port, the whole vibe, the thing you're starting up
β RETURN β
0 on success, and a negative errno otherwise. So if you get 0, slay, we're so back. If it's negative? Not the vibe, check your errno. π
π SEE ALSO π
Kernel file ./drivers/tty/serial/xilinx_uartps.c, plus literally the whole friend group:
- 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_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_console_setup(9)cdns_uart_suspend(9)cdns_uart_resume(9)cdns_rs485_config(9)cdns_uart_probe(9)cdns_uart_remove(9)
iykyk β literally all of these live in ./drivers/tty/serial/xilinx_uartps.c and they're all iconic in their own way π
mwah π that's the page! sourced from ./drivers/tty/serial, dated October 2026 β go forth and start those ports, bestie, periodt. π§ββοΈπ
π¦ 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