cdns_uart_probe(9)
π cdns_uart_probe(9) π
okay bestie, welcome to the Kernel API Manual β this one's a lil page about cdns_uart_probe, which is literally the platform driver probe. yes. that probe. the "hey kernel, i exist, pls set me up" moment. π
β¨ NAME β¨
cdns_uart_probe β Platform driver probe π«Ά
β¨ SYNOPSIS β¨
int cdns_uart_probe (struct platform_device *pdev );
like, that's the whole signature. short, sweet, iconic. π
πΈ ARGUMENTS πΈ
pdevβ Pointer to the platform device structure. that's it, that's the whole argument list. it's giving "one (1) job and she ate" π
β RETURN β
0on success β slay, we're probed β¨- negative
errnootherwise β not slay, something went sideways π
fr fr, check that return value.0means happy path, negativeerrnomeans go read the error and deal with it. no cap.
π¦ SEE ALSO π¦
the whole friend group, in the exact order the manpage says (iykyk, alphabetiC? no. vibes order. do not rearrange π):
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_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_remove(9)
like, that's the entire roster. every single one. we do not leave a single (9) behind in this house π π
lowkey obsessed with how cdns_uart_probe is the literal main character energy of this file β everything else in the SEE ALSO is basically her supporting cast. π
and that's the page, bestie! π§ source/version: ./drivers/tty/serial β dated October 2026, straight from the Kernel API Manual π go forth and probe responsibly β¨π
π¦ 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