Searched refs:acpi_speed (Results 1 – 4 of 4) sorted by relevance
334 u32 acpi_speed; in i2c_dw_acpi_round_bus_speed() local337 acpi_speed = i2c_acpi_find_bus_speed(device); in i2c_dw_acpi_round_bus_speed()343 if (acpi_speed >= supported_speeds[i]) in i2c_dw_acpi_round_bus_speed()360 u32 acpi_speed = i2c_dw_acpi_round_bus_speed(dev->dev); in i2c_dw_adjust_bus_speed() local367 if (acpi_speed && t->bus_freq_hz) in i2c_dw_adjust_bus_speed()368 t->bus_freq_hz = min(t->bus_freq_hz, acpi_speed); in i2c_dw_adjust_bus_speed()369 else if (acpi_speed || t->bus_freq_hz) in i2c_dw_adjust_bus_speed()370 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()
98 u32 acpi_speed = i2c_acpi_find_bus_speed(dev); in ls2x_i2c_adjust_bus_speed() local102 if (acpi_speed || t->bus_freq_hz) in ls2x_i2c_adjust_bus_speed()103 t->bus_freq_hz = max(t->bus_freq_hz, acpi_speed); in ls2x_i2c_adjust_bus_speed()
229 u32 acpi_speed = i2c_acpi_find_bus_speed(i2c->dev); in zxi2c_get_bus_speed() local233 if (acpi_speed == zxi2c_speed_params_table[i][0]) in zxi2c_get_bus_speed()