__spmi_driver_register(9)
π __spmi_driver_register π
okay so this is the Kernel API Manual page for __spmi_driver_register, and it's literally the moment your client driver gets introduced to the SPMI squad π«Άβ¨
πΈ NAME πΈ
__spmi_driver_register β Register client driver with SPMI core π
π¦ SYNOPSIS π¦
int __spmi_driver_register (struct spmi_driver *sdrv , struct module
*owner );
π ARGUMENTS π
sdrvβ client driver to be associated with client-device. Like, this is the driver bestie getting linked up with its device πownerβ module owner π«Ά
π DESCRIPTION π
This API will register the client driver with the SPMI framework β¨. No cap, it's typically called from the driver's module-init function β that's the little main-character entrance moment where your driver joins the SPMI universe π
π SEE ALSO π
Kernel file ./drivers/spmi/spmi.c β and the whole friend group is here:
spmi_device_add(9)spmi_device_remove(9)spmi_register_read(9)spmi_ext_register_read(9)spmi_ext_register_readl(9)spmi_register_write(9)spmi_register_zero_write(9)spmi_ext_register_write(9)spmi_ext_register_writel(9)spmi_command_reset(9)spmi_command_sleep(9)spmi_command_wakeup(9)spmi_command_shutdown(9)spmi_find_device_by_of_node(9)spmi_device_alloc(9)spmi_controller_alloc(9)spmi_controller_add(9)spmi_controller_remove(9)
mwah π β this page lives in ./drivers/spmi, it's dated October 2026, and the page name is __spmi_driver_register(9). bye bestie, go register that driver! π§ββοΈπ
π¦ 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