Home
last modified time | relevance | path

Searched refs:thermal_trip (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/thermal/
H A Dthermal_netlink.h27 struct thermal_trip;
42 const struct thermal_trip *trip);
44 const struct thermal_trip *trip);
46 const struct thermal_trip *trip);
100 const struct thermal_trip *trip) in thermal_notify_tz_trip_down()
106 const struct thermal_trip *trip) in thermal_notify_tz_trip_up()
112 const struct thermal_trip *trip) in thermal_notify_tz_trip_change()
H A Dthermal_debugfs.h12 const struct thermal_trip *trip);
14 const struct thermal_trip *trip);
26 const struct thermal_trip *trip) {}; in thermal_debug_tz_trip_up()
28 const struct thermal_trip *trip) {} in thermal_debug_tz_trip_down()
H A Dthermal_core.h32 struct thermal_trip trip;
58 const struct thermal_trip *trip,
229 int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip);
240 const struct thermal_trip *trip;
283 const struct thermal_trip *trip);
286 struct thermal_trip *trip, int hyst);
H A Dthermal_trip.c28 int (*cb)(struct thermal_trip *, void *), in for_each_thermal_trip() argument
45 int (*cb)(struct thermal_trip *, void *), in thermal_zone_for_each_trip() argument
83 const struct thermal_trip *trip) in thermal_zone_trip_id()
H A Dthermal_helpers.c25 int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip) in get_tz_trend()
44 const struct thermal_trip *trip) in thermal_instance_present()
58 const struct thermal_trip *trip, in thermal_trip_is_bound_to_cdev()
94 const struct thermal_trip *trip = &td->trip; in __thermal_zone_get_temp()
H A Dthermal_of.c64 struct thermal_trip *trip) in thermal_of_populate_trip()
96 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init()
110 struct thermal_trip *tt __free(kfree) = kzalloc_objs(*tt, count); in thermal_of_trips_init()
278 const struct thermal_trip *trip, in thermal_of_cm_lookup()
306 const struct thermal_trip *trip, in thermal_of_should_bind()
372 struct thermal_trip *trips; in thermal_of_zone_register()
H A Dgov_power_allocator.c92 const struct thermal_trip *trip_switch_on;
93 const struct thermal_trip *trip_max;
151 const struct thermal_trip *trip_switch_on, in estimate_pid_constants()
503 const struct thermal_trip *first_passive = NULL; in get_governor_trips()
504 const struct thermal_trip *last_passive = NULL; in get_governor_trips()
505 const struct thermal_trip *last_active = NULL; in get_governor_trips()
509 const struct thermal_trip *trip = &td->trip; in get_governor_trips()
775 const struct thermal_trip *trip = params->trip_switch_on; in power_allocator_manage()
H A Dgov_bang_bang.c64 const struct thermal_trip *trip, in bang_bang_trip_crossed()
90 const struct thermal_trip *trip = &td->trip; in bang_bang_manage()
H A Dgov_step_wise.c86 const struct thermal_trip *trip = &td->trip; in thermal_zone_trip_update()
132 const struct thermal_trip *trip = &td->trip; in step_wise_manage()
H A Dthermal_sysfs.c98 struct thermal_trip *trip = thermal_trip_of_attr(attr, type); in trip_point_type_show()
107 struct thermal_trip *trip = thermal_trip_of_attr(attr, temp); in trip_point_temp_store()
143 struct thermal_trip *trip = thermal_trip_of_attr(attr, temp); in trip_point_temp_show()
152 struct thermal_trip *trip = thermal_trip_of_attr(attr, hyst); in trip_point_hyst_store()
189 struct thermal_trip *trip = thermal_trip_of_attr(attr, hyst); in trip_point_hyst_show()
H A Dthermal_core.c406 const struct thermal_trip *trip) in handle_critical_trips()
460 const struct thermal_trip *trip, in thermal_governor_trip_crossed()
475 const struct thermal_trip *trip = &td->trip; in thermal_trip_crossed()
498 struct thermal_trip *trip, int hyst) in thermal_zone_set_trip_hyst()
515 struct thermal_trip *trip, int temp) in thermal_zone_set_trip_temp()
1380 const struct thermal_trip *trip = &td->trip; in thermal_zone_get_crit_temp()
1500 const struct thermal_trip *trips, in thermal_zone_device_register_with_trips()
1507 const struct thermal_trip *trip = trips; in thermal_zone_device_register_with_trips()
H A Dgov_user_space.c34 const struct thermal_trip *trip, in user_space_trip_crossed()
H A Dgov_fair_share.c104 const struct thermal_trip *trip = &td->trip; in fair_share_manage()
/linux/include/linux/
H A Dthermal.h72 struct thermal_trip { struct
97 const struct thermal_trip *, argument
105 const struct thermal_trip *, int);
109 const struct thermal_trip *, enum thermal_trend *);
217 int (*cb)(struct thermal_trip *, void *),
220 int (*cb)(struct thermal_trip *, void *),
223 struct thermal_trip *trip, int temp);
230 const struct thermal_trip *trips,
270 const struct thermal_trip *trip,
279 const struct thermal_trip *trips, in thermal_zone_device_register_with_trips()
/linux/tools/lib/thermal/include/
H A Dthermal.h55 struct thermal_trip { struct
72 struct thermal_trip *trip; argument
93 typedef int (*cb_tt_t)(struct thermal_trip *, void *);
101 LIBTHERMAL_API int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg);
/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c42 const struct thermal_trip *trip, int temp) in int340x_thermal_set_trip_temp()
67 struct thermal_trip *zone_trips, in int340x_thermal_read_trips()
120 struct thermal_trip *zone_trips; in int340x_thermal_zone_add()
200 static int int340x_update_one_trip(struct thermal_trip *trip, void *arg) in int340x_update_one_trip()
/linux/drivers/acpi/
H A Dthermal.c230 const struct thermal_trip *trip) in acpi_thermal_update_trip()
280 const struct thermal_trip *trip) in acpi_thermal_update_trip_devices()
298 static int acpi_thermal_adjust_trip(struct thermal_trip *trip, void *data) in acpi_thermal_adjust_trip()
497 const struct thermal_trip *trip, in thermal_get_trend()
563 const struct thermal_trip *trip, in acpi_thermal_should_bind_cdev()
620 const struct thermal_trip *trip_table, in acpi_thermal_register_thermal_zone()
782 struct thermal_trip trip_table[ACPI_THERMAL_MAX_NR_TRIPS] = { 0 }; in acpi_thermal_probe()
785 struct thermal_trip *trip; in acpi_thermal_probe()
/linux/drivers/thermal/intel/
H A Dintel_soc_dts_iosf.c133 const struct thermal_trip *trip, in sys_set_trip_temp()
207 struct thermal_trip *trips) in add_dts_thermal_zone()
297 static void set_trip(struct thermal_trip *trip, enum thermal_trip_type type, in set_trip()
310 struct thermal_trip trips[SOC_MAX_DTS_SENSORS][SOC_MAX_DTS_TRIPS] = { 0 }; in intel_soc_dts_iosf_init()
H A Dintel_pch_thermal.c97 struct thermal_trip *trip) in pch_wpt_add_acpi_psv_trip()
115 struct thermal_trip *trip) in pch_wpt_add_acpi_psv_trip()
163 struct thermal_trip ptd_trips[PCH_MAX_TRIPS] = { 0 }; in intel_pch_thermal_probe()
H A Dx86_pkg_temp_thermal.c124 const struct thermal_trip *trip, int temp) in sys_set_trip_temp()
277 struct thermal_trip *trips, int num_trips) in pkg_temp_thermal_trips_init()
316 struct thermal_trip trips[MAX_NUMBER_OF_TRIPS] = { 0 }; in pkg_temp_thermal_device_add()
H A Dintel_quark_dts_thermal.c246 const struct thermal_trip *trip, in sys_set_trip_temp()
334 struct thermal_trip trips[QRK_MAX_DTS_TRIPS] = { 0 }; in alloc_soc_dts()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c42 static const struct thermal_trip default_thermal_trips[] = {
63 static const struct thermal_trip default_thermal_module_trips[] = {
112 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS];
133 struct thermal_trip trips[MLXSW_THERMAL_NUM_TRIPS];
169 const struct thermal_trip *trip, in mlxsw_thermal_should_bind()
218 const struct thermal_trip *trip, in mlxsw_thermal_module_should_bind()
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c358 const struct thermal_trip *trip, int temp) in qpnp_tm_set_trip_temp()
408 const struct thermal_trip *trip, int temp) in qpnp_tm_gen2_rev2_set_trip_temp()
500 const struct thermal_trip *trip, int temp) in qpnp_tm_lite_set_trip_temp()
560 static int qpnp_tm_gen2_rev2_configure_trip_temps_cb(struct thermal_trip *trip, void *data) in qpnp_tm_gen2_rev2_configure_trip_temps_cb()
614 static int qpnp_tm_lite_configure_trip_temps_cb(struct thermal_trip *trip, void *data) in qpnp_tm_lite_configure_trip_temps_cb()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c131 static int iwl_trip_temp_iter(struct thermal_trip *trip, void *arg) in iwl_trip_temp_iter()
213 const struct thermal_trip *trip, in iwl_mld_tzone_set_trip_temp()
247 struct thermal_trip trips[IWL_MAX_DTS_TRIPS] = { in iwl_mld_thermal_zone_register()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c36 static struct thermal_trip trip = { .type = THERMAL_TRIP_CRITICAL } ;

12