serdev_acpi...art_resource(9)
π NAME π
serdev_acpi_get_uart_resourceβ GetsUARTSerialBusresource if type matches π
okay so welcome to the Kernel API Manual (section 9), bestie π«Ά this page is literally the serdev_acpi_get_uart_resource page, and itβs here to do one cute little check: is this ACPI resource the UARTSerialBus type or not? β¨
β¨ SYNOPSIS β¨
bool serdev_acpi_get_uart_resource (struct acpi_resource *ares , struct acpi_resource_uart_serialbus **uart );
π ARGUMENTS π
aresβ the ACPI resource youβre checking, bestie π¦uartβ pointer to theUARTSerialBusresource will be returned here π
πΈ DESCRIPTION πΈ
vibe check time: it checks if the given ACPI resource is of type UARTSerialBus π in this case, it returns a pointer to it to the caller, no cap β¨
β RETURN β
True if the resource type is of UARTSerialBus, otherwise false π
π SEE ALSO π
Kernel file ./drivers/tty/serdev/core.c is the main-character file, and these iconic references are right here too π«Ά
serdev_device_add(9)serdev_device_remove(9)serdev_device_write_buf(9)serdev_device_write(9)serdev_device_alloc(9)serdev_controller_alloc(9)of_find_serdev_controller_by_node(9)serdev_controller_add(9)serdev_controller_remove(9)__serdev_device_driver_register(9)
and thatβs the whole page, bestie π«Ά source/version tag is ./drivers/tty/serdev, date stamp is October 2026, from the Kernel API Manual β slay and goodbye π
β¨
π¦ 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