uart_get_lsr_info(9)
okay so bestie π this is uart_get_lsr_info(9) from the Kernel API Manual β the whole page, no cap. Itβs giving βget line status register info,β and weβre keeping every detail, periodt. β¨
πΈ NAME πΈ
uart_get_lsr_info β get line status register info. Thatβs the vibe. π
β¨ SYNOPSIS β¨
int uart_get_lsr_info (struct tty_struct *tty , struct uart_state *state
, unsigned int __user *value );
Lowkey iconic signature, bestie. π
π«Ά ARGUMENTS π«Ά
ttyβ tty associated with the UART. The tty bestie in this situation. πstateβ UART being queried. The UART youβre checking on. β¨valueβ returned modem value. Yep, thatβs the modem value coming back. π
π¦ SEE ALSO π¦
- Kernel file:
./drivers/tty/serial/serial_core.c uart_write_wakeup(9)uart_update_timeout(9)uart_get_baud_rate(9)uart_get_divisor(9)uart_console_write(9)uart_parse_earlycon(9)uart_parse_options(9)uart_set_options(9)uart_change_pm(9)uart_register_driver(9)uart_unregister_driver(9)serial_core_add_one_port(9)serial_core_remove_one_port(9)uart_match_port(9)uart_handle_dcd_change(9)uart_handle_cts_change(9)uart_insert_char(9)uart_try_toggle_sysrq(9)uart_get_rs485_mode(9)
Thatβs it, bestie π«Ά β this pageβs source/version is ./drivers/tty/serial, dated October 2026, and itβs filed under uart_get_lsr_info(9). Slay and bye π
β¨
π¦ 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