Home
last modified time | relevance | path

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

12

/linux/drivers/thermal/
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_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 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 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()
296 const struct thermal_trip *trip, in thermal_of_cm_lookup()
324 const struct thermal_trip *trip, in thermal_of_should_bind()
390 struct thermal_trip *trips; in thermal_of_zone_register()
H A Dthermal_core.c346 const struct thermal_trip *trip) in handle_critical_trips()
400 const struct thermal_trip *trip, in thermal_governor_trip_crossed()
415 const struct thermal_trip *trip = &td->trip; in thermal_trip_crossed()
438 struct thermal_trip *trip, int hyst) in thermal_zone_set_trip_hyst()
455 struct thermal_trip *trip, int temp) in thermal_zone_set_trip_temp()
1278 const struct thermal_trip *trip = &td->trip; in thermal_zone_get_crit_temp()
1409 const struct thermal_trip *trips, in thermal_zone_device_register_with_trips()
1416 const struct thermal_trip *trip = trips; in thermal_zone_device_register_with_trips()
H A Dthermal_netlink.c380 const struct thermal_trip *trip) in thermal_notify_tz_trip_down()
390 const struct thermal_trip *trip) in thermal_notify_tz_trip_up()
400 const struct thermal_trip *trip) in thermal_notify_tz_trip_change()
549 const struct thermal_trip *trip = &td->trip; in thermal_genl_cmd_tz_get_trip()
H A Dthermal_debugfs.c580 const struct thermal_trip *trip) in thermal_debug_tz_trip_up()
673 const struct thermal_trip *trip) in thermal_debug_tz_trip_down()
813 const struct thermal_trip *trip = &td->trip; in tze_seq_show()
H A Dimx_thermal.c117 static struct thermal_trip trips[] = {
335 const struct thermal_trip *trip, int temp) in imx_set_trip_temp()
357 const struct thermal_trip *trip, in imx_should_bind()
H A Dda9062-thermal.c144 static struct thermal_trip trips[] = {
H A Dhisi_thermal.c468 static int hisi_trip_walk_cb(struct thermal_trip *trip, void *arg) in hisi_trip_walk_cb()
/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()
H A Dprocessor_thermal_device_pci.c229 const struct thermal_trip *trip, int temp) in sys_set_trip_temp()
331 struct thermal_trip psv_trip = { in proc_thermal_pci_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_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/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/platform/x86/
H A Dacerhdf.c141 static struct thermal_trip trips[] = {
382 const struct thermal_trip *trip, in acerhdf_should_bind()
/linux/drivers/thermal/testing/
H A Dzone.c67 struct thermal_trip trip;
392 struct thermal_trip *trips __free(kfree) = kzalloc_objs(*trips, in tt_zone_register_tz()
/linux/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c113 const struct thermal_trip *trip, in __ti_thermal_get_trend()
/linux/drivers/thermal/tegra/
H A Dsoctherm.c593 const struct thermal_trip *trip, int temp) in tegra_thermctl_set_trip_temp()
692 static int get_hot_trip_cb(struct thermal_trip *trip, void *arg) in get_hot_trip_cb()
694 const struct thermal_trip **trip_ret = arg; in get_hot_trip_cb()
704 static const struct thermal_trip *get_hot_trip(struct thermal_zone_device *tz) in get_hot_trip()
706 const struct thermal_trip *trip = NULL; in get_hot_trip()
742 const struct thermal_trip *hot_trip; in tegra_soctherm_set_hwtrips()
H A Dtegra30-tsensor.c311 static int tegra_tsensor_get_trips_cb(struct thermal_trip *trip, void *arg) in tegra_tsensor_get_trips_cb()
/linux/drivers/thermal/renesas/
H A Drcar_thermal.c284 static struct thermal_trip trips[] = {
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h598 struct thermal_trip trips[IWL_MAX_DTS_TRIPS];

12