i2c_acpi_find_bus_speed(9)
π i2c_acpi_find_bus_speed(9) π
okay so this is straight from the Kernel API Manual, and we're about to find an I2C bus speed from ACPI together β bestie, it's giving β¨ detective era β¨ π«Ά
πΈ NAME πΈ
i2c_acpi_find_bus_speed β find I2C bus speed from ACPI π
β¨ SYNOPSIS β¨
u32 i2c_acpi_find_bus_speed (struct device *dev );
π ARGUMENTS π
devβ the device that owns the bus, aka the main character of this whole speed-finding moment π
π¦ DESCRIPTION π¦
okay so picture this: the function finds the I2C bus speed by walking the ACPI namespace for all the I2C slaves devices connected to this bus, and then it uses the speed of the slowest device. lowkey iconic behavior, honestly β the slowest one sets the vibe π
it returns the speed in Hz, or 0 π
π SEE ALSO π
Kernel file ./drivers/i2c/i2c-core-acpi.c:
i2c_acpi_get_i2c_resource(9)i2c_acpi_client_count(9)i2c_acpi_get_irq(9)i2c_acpi_register_devices(9)i2c_acpi_new_device_by_fwnode(9)
mwah π this lil page comes from ./drivers/i2c, dated October 2026 β see u next time, 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