__serdev_de...ver_register(9)
β¨ NAME β¨
okay so bestie, this is the __serdev_de...ver_register(9) page from the Kernel API Manual, and the main character is:
__serdev_device_driver_register β register client driver with serdev core. Periodt. π
π SYNOPSIS π
int __serdev_device_driver_register (struct serdev_device_driver *sdrv , struct module *owner );
π¦ ARGUMENTS π¦
two little besties walk into the function, no cap:
sdrvβ client driver to be associated with client-device.ownerβ client driver owner to set.
πΈ DESCRIPTION πΈ
So what does this API do? It registers the client driver with the serdev framework, fr fr. And the vibe is usually that it gets called from the driver's module-init function β that's literally its whole thing. β¨
π SEE ALSO π
the kernel file to peek at is ./drivers/tty/serdev/core.c, and the whole SEE ALSO squad is:
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_acpi_get_uart_resource(9)serdev_controller_add(9)serdev_controller_remove(9)
and that's the whole page, bestie! π«Ά shoutout to the source/version ./drivers/tty/serdev, the date October 2026, and the title __serdev_de...ver_register(9) β iconic, honestly. π
π¦ 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