Searched refs:crit_temp (Results 1 – 9 of 9) sorted by relevance
| /drivers/hwmon/ |
| A D | sg2042-mcu.c | 217 int hyst_temp, crit_temp; in sg2042_mcu_write() local 231 crit_temp = temp; in sg2042_mcu_write() 235 crit_temp = i2c_smbus_read_byte_data(mcu->client, in sg2042_mcu_write() 237 if (crit_temp < 0) in sg2042_mcu_write() 238 return crit_temp; in sg2042_mcu_write() 251 if (crit_temp < hyst_temp) in sg2042_mcu_write()
|
| /drivers/thermal/ |
| A D | uniphier_thermal.c | 244 int crit_temp; member 253 trip->temperature < twd->crit_temp) in uniphier_tm_trip_walk_cb() 254 twd->crit_temp = trip->temperature; in uniphier_tm_trip_walk_cb() 264 struct trip_walk_data twd = { .crit_temp = INT_MAX, .index = 0 }; in uniphier_tm_probe() 320 if (twd.crit_temp > CRITICAL_TEMP_LIMIT) { in uniphier_tm_probe()
|
| A D | thermal_helpers.c | 85 int crit_temp = INT_MAX; in __thermal_zone_get_temp() local 97 crit_temp = trip->temperature; in __thermal_zone_get_temp() 107 if (!ret && *temp < crit_temp) in __thermal_zone_get_temp()
|
| /drivers/acpi/ |
| A D | thermal.c | 736 static void acpi_thermal_guess_offset(struct acpi_thermal *tz, long crit_temp) in acpi_thermal_guess_offset() argument 738 if (crit_temp != THERMAL_TEMP_INVALID && crit_temp % 5 == 1) in acpi_thermal_guess_offset() 786 int crit_temp, hot_temp; in acpi_thermal_add() local 815 crit_temp = acpi_thermal_get_critical_trip(tz); in acpi_thermal_add() 829 acpi_thermal_guess_offset(tz, crit_temp); in acpi_thermal_add() 833 if (crit_temp != THERMAL_TEMP_INVALID) { in acpi_thermal_add() 835 trip->temperature = acpi_thermal_temp(tz, crit_temp); in acpi_thermal_add()
|
| /drivers/thermal/broadcom/ |
| A D | bcm2835_thermal.c | 211 int offset, slope, crit_temp; in bcm2835_thermal_probe() local 219 err = thermal_zone_get_crit_temp(tz, &crit_temp); in bcm2835_thermal_probe() 234 val |= bcm2835_thermal_temp2adc(crit_temp, in bcm2835_thermal_probe()
|
| A D | sr-thermal.c | 22 unsigned int crit_temp; member
|
| /drivers/thermal/st/ |
| A D | st_thermal_memmap.c | 82 sensor->cdata->crit_temp - in st_mmap_enable_irq() 151 .crit_temp = 120,
|
| A D | st_thermal.h | 75 int crit_temp; member
|
| /drivers/thermal/qcom/ |
| A D | qcom-spmi-temp-alarm.c | 546 int crit_temp, ret; in qpnp_tm_configure_trip_temp() local 548 ret = thermal_zone_get_crit_temp(chip->tz_dev, &crit_temp); in qpnp_tm_configure_trip_temp() 550 crit_temp = THERMAL_TEMP_INVALID; in qpnp_tm_configure_trip_temp() 553 ret = qpnp_tm_update_critical_trip_temp(chip, crit_temp); in qpnp_tm_configure_trip_temp()
|
Completed in 19 milliseconds