Home
last modified time | relevance | path

Searched refs:acpi_speed (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/i2c/busses/
Di2c-designware-common.c295 u32 acpi_speed; in i2c_dw_acpi_round_bus_speed() local
298 acpi_speed = i2c_acpi_find_bus_speed(device); in i2c_dw_acpi_round_bus_speed()
304 if (acpi_speed >= supported_speeds[i]) in i2c_dw_acpi_round_bus_speed()
319 u32 acpi_speed = i2c_dw_acpi_round_bus_speed(dev->dev); in i2c_dw_adjust_bus_speed() local
326 if (acpi_speed && t->bus_freq_hz) in i2c_dw_adjust_bus_speed()
327 t->bus_freq_hz = min(t->bus_freq_hz, acpi_speed); in i2c_dw_adjust_bus_speed()
328 else if (acpi_speed || t->bus_freq_hz) in i2c_dw_adjust_bus_speed()
329 t->bus_freq_hz = max(t->bus_freq_hz, acpi_speed); in i2c_dw_adjust_bus_speed()
Di2c-amd-mp2-plat.c213 u32 acpi_speed; in i2c_amd_get_bus_speed() local
216 acpi_speed = i2c_acpi_find_bus_speed(&pdev->dev); in i2c_amd_get_bus_speed()
219 if (acpi_speed >= supported_speeds[i]) in i2c_amd_get_bus_speed()
222 acpi_speed = i < ARRAY_SIZE(supported_speeds) ? supported_speeds[i] : 0; in i2c_amd_get_bus_speed()
224 switch (acpi_speed) { in i2c_amd_get_bus_speed()