spmi_ext_register_readl(9)
π NAME π
okay so bestie, welcome to spmi_ext_register_readl(9) from the Kernel API Manual π
β¨ β this is the extended register read long moment. It's giving kernel-side SPMI realness, and yes, we're gonna get through every single detail together π«Ά
β¨ SYNOPSIS β¨
Here's the exact signature, no cap:
int spmi_ext_register_readl (struct spmi_device *sdev , u16 addr , u8
*buf , size_t len );
πΈ ARGUMENTS πΈ
sdevβ SPMI device. That's the device bestie we're working with πaddrβ slave register address, and it's a16-bit addressfr fr.bufβ buffer to be populated with data from the Slave. This is where the read data goes πlenβ the request number of bytes to read, up to8bytes. Do not come for her with more than8, okay? π
π¦ DESCRIPTION π¦
Reads up to 8 bytes of data from the extended register space on a Slave device using a 16-bit address. That's the whole vibe: extended register space, Slave device, 16-bit address, up to 8 bytes β iconic behavior only β¨
π SEE ALSO π
Kernel file ./drivers/spmi/spmi.c, plus the whole bestie lineup:
spmi_device_add(9)spmi_device_remove(9)spmi_register_read(9)spmi_ext_register_read(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)__spmi_driver_register(9)
xoxo, your resident kernel-page hype girl π this little entry lives in ./drivers/spmi, dated October 2026, and it's all about spmi_ext_register_readl(9) β periodt πβ¨
π¦ 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