i2c_acpi_register_devices(9)
β¨ NAME β¨
okay bestie, this page is i2c_acpi_register_devices(9) from the Kernel API Manual, and itβs all about one little function: i2c_acpi_register_devices β enumerate I2C slave devices behind adapter. no cap π
π οΈ SYNOPSIS π οΈ
void i2c_acpi_register_devices (struct i2c_adapter *adap );
π ARGUMENTS π
adapβ pointer to adapter π«Ά
π DESCRIPTION π
so the vibe is: this function enumerates all I2C slave devices behind this adapter by walking the ACPI namespace. when a device is found, it will be added to the Linux device model and bound to the corresponding ACPI handle. thatβs literally the whole glow-up β¨
π SEE ALSO π
the kernel file is ./drivers/i2c/i2c-core-acpi.c, and these related pages are also in the group chat:
i2c_acpi_get_i2c_resource(9)i2c_acpi_client_count(9)i2c_acpi_get_irq(9)i2c_acpi_find_bus_speed(9)i2c_acpi_new_device_by_fwnode(9)
mwah π β source: ./drivers/i2c, date: October 2026. bye bestie! π«Ά
π¦ 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