Searched refs:acpi_speed (Results 1 – 2 of 2) sorted by relevance
295 u32 acpi_speed; in i2c_dw_acpi_round_bus_speed() local298 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() local326 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()
213 u32 acpi_speed; in i2c_amd_get_bus_speed() local216 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()
Completed in 5 milliseconds