Searched refs:set_trip (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/thermal/intel/ |
| H A D | intel_soc_dts_iosf.c | 297 static void set_trip(struct thermal_trip *trip, enum thermal_trip_type type, in set_trip() function 337 set_trip(&trips[i][0], THERMAL_TRIP_PASSIVE, in intel_soc_dts_iosf_init() 346 set_trip(&trips[i][1], THERMAL_TRIP_CRITICAL, 0, temp, 1); in intel_soc_dts_iosf_init() 348 set_trip(&trips[i][1], THERMAL_TRIP_PASSIVE, in intel_soc_dts_iosf_init()
|
| /linux/drivers/hwmon/ |
| H A D | acpi_power_meter.c | 297 static int set_trip(struct acpi_power_meter_resource *resource, u16 trip_idx, in set_trip() function 553 ret = set_trip(res, POWER_METER_TRIP_AVERAGE_MAX_IDX, trip); in power1_average_max_store() 572 ret = set_trip(res, POWER_METER_TRIP_AVERAGE_MIN_IDX, trip); in power1_average_min_store()
|