Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-designware-common.c334 u32 acpi_speed; in i2c_dw_acpi_round_bus_speed() local
337 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() local
367 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()
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()
Di2c-ls2x.c98 u32 acpi_speed = i2c_acpi_find_bus_speed(dev); in ls2x_i2c_adjust_bus_speed() local
102 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()
Di2c-viai2c-zhaoxin.c229 u32 acpi_speed = i2c_acpi_find_bus_speed(i2c->dev); in zxi2c_get_bus_speed() local
233 if (acpi_speed == zxi2c_speed_params_table[i][0]) in zxi2c_get_bus_speed()