cdns_uart_verify_port(9)
π cdns_uart_verify_port β a Kernel API Manual moment
okay so bestie, we're looking at cdns_uart_verify_port from the Kernel API Manual, and honestly? she's a lil vibe-checker for your UART port params. tiny function, big main character energy. let's get into it β¨
πΈ NAME πΈ
cdns_uart_verify_port β literally just: Verify the port params. that's it. that's the whole job. she checks the params. slay π
π SYNOPSIS π
int cdns_uart_verify_port (struct uart_port *port , struct serial_struct
*ser );
so she takes two pointers and hands you back an int. classic. no cap. π¦
β¨ ARGUMENTS β¨
portβ Handle to the uart port structure π«Ά like, the actual port she's checking up on.serβ Handle to the structure whose members are compared π yes bestie, the members get compared. that's the whole thing.
π RETURN π
0on success π (the dream)- negative
errnootherwise π (not the dream)
π SEE ALSO π
the whole friend group!! fr fr, every single one of them:
- Kernel file
./drivers/tty/serial/xilinx_uartps.c 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_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)
that's the whole squad, no one left behind π
ngl there is nothing else on this page β she's short, she's sweet, she verifies port params. periodt. π
and that's the tea π§ this came to you from ./drivers/tty/serial, dated October 2026 β mwah, go verify some params 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