cdns_uart_release_port(9)
β¨ cdns_uart_release_port β Release UART port β¨
okay so bestie, you're in the section 9 part of the Kernel API Manual π and this is the page for cdns_uart_release_port. it's a lil function, it does one thing, and honestly? it slays at that one thing. π
πΈ SYNOPSIS πΈ
void cdns_uart_release_port (struct uart_port *port );
returns nothing (void, she gives nothing and takes everything π) and it takes exactly one arg. no cap.
π¦ ARGUMENTS π¦
portβ the handle to the uart port structure. that's it. that's the whole vibe. it's your little pointer bestie to the port you're about to set free π«Ά
π DESCRIPTION π
okay so here's the tea β β cdns_uart_release_port releases the memory region attached to a cdns_uart port. that's the whole job, and she does it iconically.
when does it get called? when the driver removes a cdns_uart port via uart_remove_one_port. so it's like the goodbye-hug function for a port's memory region π and yes, it's literally the cleanup queen we deserve π
β SEE ALSO β
the whole friend group, fr fr β go read these next, iykyk:
- Kernel file
./drivers/tty/serial/xilinx_uartps.cstructcdns_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_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)
lowkey read cdns_uart_request_port(9) too so you get both halves of the story β the taking and the releasing π
mwah, that's a wrap π§ this little page lives in ./drivers/tty/serial and it's dated October 2026 β periodt, see u in the next manpage 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