cdns_uart_remove(9)
π cdns_uart_remove(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual (the 9 section, kernel developer stuff, iykyk) and honestly it's a short one β but every word matters, so let's go β¨
πΈ NAME πΈ
cdns_uart_remove β literally the function that gets called when the platform driver is unregistered π«Ά
Think of it as the goodbye-hug handler: driver's leaving the party, and this is what runs on the way out π
β¨ SYNOPSIS β¨
void cdns_uart_remove (struct platform_device *pdev );
That's it. That's the whole signature. Returns void β no return value, no "did it work", it just does the thing and leaves π
π¦ ARGUMENTS π¦
pdevβ Pointer to the platform device structure π
one (1) argument, one (1) job. it's a pointer to the platform_device struct, and that's the whole vibe check on this parameter, no cap.
π₯ SEE ALSO π₯
okay this is the main-character part of the page, because there are so many friends in this family π
Kernel file ./drivers/tty/serial/xilinx_uartps.c, plus:
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_probe(9)
like, the whole uartps friend group fr fr ππ
ngl this page is short, but that's not a bad thing β some of the most iconic functions are just "called when the platform driver is unregistered" and nothing else. simple. elegant. main character energy. periodt. π
and that's the page!! π shoutout to the source ./drivers/tty/serial and the date stamp October 2026 β kiss kiss, see ya in the next man page 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