cdns_uart_stop_rx(9)
β¨ cdns_uart_stop_rx(9) β¨
okay so real talk bestie, we're in the Kernel API Manual today and this one is short but iconic π it's cdns_uart_stop_rx(9) and likeβ¦ the name literally tells you everything, but let's still do the whole breakdown because that's what we do π
πΈ NAME πΈ
cdns_uart_stop_rx β Stop RX. that's it. that's the whole vibe. no cap, it stops the RX. π
π¦ SYNOPSIS π¦
void cdns_uart_stop_rx (struct uart_port *port );
so it returns void, meaning it gives you nothing back β not even a little crumb π β and it takes exactly one thing. periodt.
π ARGUMENTS π
portβ Handle to the uart port structure. that's your little golden ticket into the uart port struct, so pass it in and let the function do its thing π«Ά
π SEE ALSO π
okay this is the part where the friend group shows up and it's a whole roster, so get comfy π the kernel file is ./drivers/tty/serial/xilinx_uartps.c and it's hanging out with struct cdns_uart(9) plus literally the entire extended fam:
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_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)cdns_uart_remove(9)
likeβ¦ the way that list just keeps going π every single one of them, no skips, we don't do that here π
ngl if you only remember one thing:cdns_uart_stop_rx= Stop RX, takes yourstruct uart_port *port, returnsvoid. slay. π
and that's the page!! sourced straight from ./drivers/tty/serial, dated October 2026, which is lowkey giving time traveler energy but we respect it π§ββοΈ bye bestie, go stop some RX πβ¨
π¦ 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