i2c_acpi_find_bus_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


mwah πŸ’‹ this lil page comes from ./drivers/i2c, dated October 2026 β€” see u next time, bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from