/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | rockchip_thermal.c | 18 #include <linux/thermal.h>
149 * struct rockchip_thermal_sensor - hold the information of thermal sensor
150 * @thermal: pointer to the platform/configuration data
151 * @tzd: pointer to a thermal zone
152 * @id: identifier of the thermal sensor
155 struct rockchip_thermal_data *thermal;
member 161 * struct rockchip_thermal_data - hold the private data of thermal driver
163 * @pdev: platform device of thermal
165 * @sensors: array of thermal sensors
831 struct rockchip_thermal_data *thermal in rk_tsadcv1_get_trim_code() local 844 struct rockchip_thermal_data *thermal = platform_get_drvdata(pdev); rk_tsadcv1_trim_temp() local 1192 struct rockchip_thermal_data *thermal = dev; rockchip_thermal_alarm_irq_thread() local 1209 struct rockchip_thermal_data *thermal = sensor->thermal; rockchip_thermal_set_trips() local 1224 struct rockchip_thermal_data *thermal = sensor->thermal; rockchip_thermal_get_temp() local 1242 thermal_pinctrl_select_otp(struct rockchip_thermal_data *thermal) thermal_pinctrl_select_otp() argument 1249 thermal_pinctrl_select_gpio(struct rockchip_thermal_data *thermal) thermal_pinctrl_select_gpio() argument 1282 rockchip_configure_from_dt(struct device *dev, struct device_node *np, struct rockchip_thermal_data *thermal) rockchip_configure_from_dt() argument 1358 rockchip_thermal_register_sensor(struct platform_device *pdev, struct rockchip_thermal_data *thermal, struct rockchip_thermal_sensor *sensor, int id) rockchip_thermal_register_sensor() argument 1394 rockchip_dump_temperature(struct rockchip_thermal_data *thermal) rockchip_dump_temperature() argument 1423 struct rockchip_thermal_data *thermal; rockchip_thermal_panic() local 1434 struct rockchip_thermal_data *thermal; rockchip_thermal_probe() local 1561 struct rockchip_thermal_data *thermal = platform_get_drvdata(pdev); rockchip_thermal_remove() local 1580 struct rockchip_thermal_data *thermal = platform_get_drvdata(pdev); rockchip_thermal_shutdown() local 1597 struct rockchip_thermal_data *thermal = dev_get_drvdata(dev); rockchip_thermal_suspend() local 1617 struct rockchip_thermal_data *thermal = dev_get_drvdata(dev); rockchip_thermal_resume() local [all...] |
H A D | thermal_core.h | 13 #include <linux/thermal.h> 31 /* Init section thermal table */ 86 * in a certain thermal zone
|
H A D | thermal_core.c | 3 * thermal.c - Generic Thermal Management Sysfs support. 18 #include <linux/thermal.h> 25 #include <trace/events/thermal.h> 50 * Governor section: set of functions to handle thermal governors 52 * Functions to help in the life cycle of thermal governors within 53 * the thermal core and by the thermal governor code. 71 * bind_previous_governor() - bind the previous governor of the thermal zone 75 * Register the previous governor of the thermal zone after a new 83 "governor %s failed to bind and the previous one (%s) failed to bind again, thermal zon in bind_previous_governor() [all...] |
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | thermal.h | 3 #define TRACE_SYSTEM thermal
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_ipa.c | 9 #include <linux/thermal.h>
12 #include <trace/events/thermal.h>
78 if (of_property_read_string(model_node, "thermal-zone", &tz_name)) {
in rockchip_ipa_power_model_init() 85 dev_err(dev, "failed to get thermal zone\n");
in rockchip_ipa_power_model_init()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 23 #include <uapi/linux/thermal.h> 24 #include <linux/thermal.h> 87 * @gpu_tz: thermal zone device 161 pr_warn_ratelimited("Error reading temperature for gpu thermal zone: %d\n", in poll_temperature() 251 err = kbase_ipa_model_add_param_string(model, "thermal-zone", in add_params() 325 pr_warn_ratelimited("Error %ld getting thermal zone \'%s\', not yet ready?\n", in kbase_simple_power_model_recalculate() 331 * thermal zone name string. Update the gpu_tz pointer only if in kbase_simple_power_model_recalculate()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 24 #include <uapi/linux/thermal.h> 25 #include <linux/thermal.h> 86 * @gpu_tz: thermal zone device 162 pr_warn_ratelimited("Error reading temperature for gpu thermal zone: %d\n", ret); in poll_temperature() 232 kbase_ipa_model_add_param_string(model, "thermal-zone", model_data->tz_name, sizeof(model_data->tz_name), true); in add_params() 302 pr_warn_ratelimited("Error %ld getting thermal zone \'%s\', not yet ready?\n", PTR_ERR(tz), tz_name); in kbase_simple_power_model_recalculate() 307 * thermal zone name string. Update the gpu_tz pointer only if in kbase_simple_power_model_recalculate()
|
H A D | mali_kbase_ipa_vinstr_g7x.c | 22 #include <linux/thermal.h>
|
H A D | mali_kbase_ipa.c | 22 #include <linux/thermal.h>
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_ipa.c | 9 #include <linux/thermal.h> 12 #include <trace/events/thermal.h> 76 if (of_property_read_string(model_node, "thermal-zone", &tz_name)) { in rockchip_ipa_power_model_init() 83 dev_err(dev, "failed to get thermal zone\n"); in rockchip_ipa_power_model_init()
|
H A D | thermal_core.h | 13 #include <linux/thermal.h> 31 /* Init section thermal table */ 98 * in a certain thermal zone
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 16 #include <linux/thermal.h>
39 * @gpu_tz: thermal zone device
106 pr_warn_ratelimited("Error reading temperature for gpu thermal zone: %d\n", ret);
in model_static_coeff() 150 kbase_ipa_model_add_param_string(model, "thermal-zone", model_data->tz_name, sizeof(model_data->tz_name), true);
in add_params() 183 pr_warn_ratelimited("Error %ld getting thermal zone \'%s\', not yet ready?\n", PTR_ERR(model_data->gpu_tz),
in kbase_simple_power_model_recalculate()
|
H A D | mali_kbase_ipa.c | 16 #include <linux/thermal.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 18 #include <linux/thermal.h> 41 * @gpu_tz: thermal zone device 109 pr_warn_ratelimited("Error reading temperature for gpu thermal zone: %d\n", in model_static_coeff() 159 err = kbase_ipa_model_add_param_string(model, "thermal-zone", in add_params() 195 pr_warn_ratelimited("Error %ld getting thermal zone \'%s\', not yet ready?\n", in kbase_simple_power_model_recalculate()
|
H A D | mali_kbase_ipa.c | 17 #include <linux/thermal.h>
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvdec2.h | 20 #include <linux/thermal.h>
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvdec2.h | 20 #include <linux/thermal.h>
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | thermal.h | 3 * thermal.h ($Revision: 0 $) 18 #include <uapi/linux/thermal.h> 102 * struct thermal_zone_device - structure for a thermal zone 103 * @id: unique id number for each thermal zone 104 * @type: the thermal zone device type 105 * @device: &struct device for this thermal zone 109 * @mode: current mode of this thermal zone 111 * @trips: number of trip points the thermal zone supports 133 * @tzp: thermal zone parameters 134 * @governor: pointer to the governor for this thermal zon [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/platform/rk/ |
H A D | mali_kbase_config_rk.c | 25 #include <linux/thermal.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/platform/rk/ |
H A D | mali_kbase_config_rk.c | 26 #include <linux/thermal.h>
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/platform/rk/ |
H A D | mali_kbase_config_rk.c | 24 #include <linux/thermal.h>
|
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/ |
H A D | cpufreq-dt.c | 21 #include <linux/thermal.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/backend/ |
H A D | mali_kbase_ipa_counter_jm.c | 22 #include <linux/thermal.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/ |
H A D | arm.c | 35 #include <linux/thermal.h> 200 MALI_DEBUG_PRINT(2, ("Error reading temperature for gpu thermal zone: %d\n", ret)); in arm_model_static_power() 539 /* Some Socs didn't support the devfreq thermal for mali */ in mali_platform_device_init() 543 /* Get thermal zone */ in mali_platform_device_init() 546 MALI_DEBUG_PRINT(2, ("Error getting gpu thermal zone (%ld), not yet ready?\n", in mali_platform_device_init()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/ |
H A D | mali_kbase_config_rk.c | 33 #include <linux/thermal.h>
|