spmi_register_zero_write(9)
okay bestie, welcome to spmi_register_zero_write(9) β straight from the Kernel API Manual, and yes this is the group chat where kernel docs finally make sense β¨
π NAME π
spmi_register_zero_write β register zero write.
π SYNOPSIS π
int spmi_register_zero_write (struct spmi_device *sdev , u8 data );
πΈ ARGUMENTS πΈ
sdevβ the SPMI device, aka the little guy you're talking to π«Άdataβ the data to be written to register 0 (7-bits). That's the payload, bestie π
π¦ DESCRIPTION π¦
Writes data to register 0 of the Slave device. Lowkey that's the whole move: data goes in, register 0 gets it, slay. No extra plot twists, no secret side quests β just the write. π
β¨ SEE ALSO β¨
Kernel file ./drivers/spmi/spmi.c is the source-file bestie to check, and hereβs the full squad of related pages:
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_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)__spmi_driver_register(9)
Source/version sign-off: ./drivers/spmi Β· October 2026. Love u, bestie β go write that zero register πβ¨
π¦ 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