serdev_acpi...art_resource(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

  • serdev_acpi_get_uart_resource β€” Gets UARTSerialBus resource 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 the UARTSerialBus resource 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 🫢


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