/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | thermal.h | 35 struct thermal_zone_device; 62 int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *); 63 int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *); 64 int (*get_temp)(struct thermal_zone_device *, int *); 65 int (*set_trips)(struct thermal_zone_device *, int, int); 66 int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode); 67 int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *); 68 int (*get_trip_temp)(struct thermal_zone_device *, int, int *); 69 int (*set_trip_temp)(struct thermal_zone_device *, int, int); 70 int (*get_trip_hyst)(struct thermal_zone_device *, in 144 struct thermal_zone_device { global() struct [all...] |
H A D | power_supply.h | 298 struct thermal_zone_device *tzd;
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | thermal_core.h | 46 int for_each_thermal_zone(int (*cb)(struct thermal_zone_device *, void *), 55 struct thermal_zone_device *thermal_zone_get_by_id(int id); 88 int get_tz_trend(struct thermal_zone_device *tz, int trip); 91 get_thermal_instance(struct thermal_zone_device *tz, 103 struct thermal_zone_device *tz; 120 container_of(_dev, struct thermal_zone_device, device) 127 void thermal_zone_device_rebind_exception(struct thermal_zone_device *, 129 void thermal_zone_device_unbind_exception(struct thermal_zone_device *, 131 int thermal_zone_device_set_policy(struct thermal_zone_device *, char *); 135 void thermal_zone_set_trips(struct thermal_zone_device *t [all...] |
H A D | rockchip_pvtm.c | 77 struct thermal_zone_device *tz;
|
H A D | rockchip_system_monitor.c | 72 struct thermal_zone_device *tz; 1301 static int notify_dummy(struct thermal_zone_device *tz, int trip) in notify_dummy()
|
H A D | rockchip_opp_select.c | 58 struct thermal_zone_device *tz;
|
/device/soc/rockchip/common/sdk_linux/drivers/thermal/ |
H A D | thermal_core.h | 43 int for_each_thermal_zone(int (*cb)(struct thermal_zone_device *, void *), void *); 49 struct thermal_zone_device *thermal_zone_get_by_id(int id); 78 int get_tz_trend(struct thermal_zone_device *tz, int trip); 80 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, 91 struct thermal_zone_device *tz; 107 #define to_thermal_zone(_dev) container_of(_dev, struct thermal_zone_device, device) 113 void thermal_zone_device_rebind_exception(struct thermal_zone_device *tz, const char *cdev_type, size_t size); 114 void thermal_zone_device_unbind_exception(struct thermal_zone_device *tz, const char *cdev_type, size_t size); 115 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, char *policy); 119 void thermal_zone_set_trips(struct thermal_zone_device *t [all...] |
H A D | thermal_core.c | 72 * @tz: a valid pointer to a struct thermal_zone_device 78 static void bind_previous_governor(struct thermal_zone_device *tz, const char *failed_gov_name) in bind_previous_governor() 93 * @tz: a valid pointer to a struct thermal_zone_device 100 static int thermal_set_governor(struct thermal_zone_device *tz, struct thermal_governor *new_gov) in thermal_set_governor() 126 struct thermal_zone_device *pos; in thermal_register_governor() 179 struct thermal_zone_device *pos; in thermal_unregister_governor() 206 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, char *policy) in thermal_zone_device_set_policy() 297 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, int delay) in thermal_zone_device_set_polling() 308 static inline bool should_stop_polling(struct thermal_zone_device *tz) in should_stop_polling() 313 static void monitor_thermal_zone(struct thermal_zone_device *t [all...] |
H A D | rockchip_thermal.c | 156 struct thermal_zone_device *tzd;
1181 struct thermal_zone_device *tzd = sensor->tzd;
in rockchip_thermal_toggle_sensor() 1407 struct thermal_zone_device *tz = sensor->tzd;
in rockchip_dump_temperature()
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | thermal.h | 17 struct thermal_zone_device; 19 TP_PROTO(struct thermal_zone_device *tz, int *irq_wakeable),
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 43 static int kbase_simple_power_model_get_dummy_temp(struct thermal_zone_device *tz, unsigned long *temp) in kbase_simple_power_model_get_dummy_temp() 52 static int kbase_simple_power_model_get_dummy_temp(struct thermal_zone_device *tz, int *temp) in kbase_simple_power_model_get_dummy_temp() 97 struct thermal_zone_device *gpu_tz; 155 struct thermal_zone_device *tz = READ_ONCE(model_data->gpu_tz); in poll_temperature() 279 struct thermal_zone_device *tz; in kbase_simple_power_model_recalculate() 309 * thermal_zone_device pointer, otherwise model_data->tz_name & in kbase_simple_power_model_recalculate()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/ |
H A D | mali_kbase_ipa_simple.c | 52 struct thermal_zone_device *tz, in kbase_simple_power_model_get_dummy_temp() 98 struct thermal_zone_device *gpu_tz; 154 struct thermal_zone_device *tz = READ_ONCE(model_data->gpu_tz); in poll_temperature() 302 struct thermal_zone_device *tz; in kbase_simple_power_model_recalculate() 333 * thermal_zone_device pointer, otherwise model_data->tz_name & in kbase_simple_power_model_recalculate()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 47 struct thermal_zone_device *gpu_tz;
98 struct thermal_zone_device *gpu_tz = model_data->gpu_tz;
in model_static_coeff()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/ |
H A D | mali_kbase_ipa_simple.c | 49 struct thermal_zone_device *gpu_tz; 101 struct thermal_zone_device *gpu_tz = model_data->gpu_tz; in model_static_coeff()
|
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/ |
H A D | rockchip_ipa.h | 12 struct thermal_zone_device *tz;
|
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/ |
H A D | rockchip_ipa.h | 12 struct thermal_zone_device *tz;
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | rk.c | 230 static struct thermal_zone_device *gpu_tz;
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | rk.c | 234 static struct thermal_zone_device *gpu_tz;
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/ |
H A D | arm.c | 183 static struct thermal_zone_device *gpu_tz;
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_pvtm.c | 72 struct thermal_zone_device *tz;
|
H A D | rockchip_system_monitor.c | 70 struct thermal_zone_device *tz;
1284 static int notify_dummy(struct thermal_zone_device *tz, int trip)
in notify_dummy()
|
H A D | rockchip_opp_select.c | 57 struct thermal_zone_device *tz;
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvdec.c | 179 struct thermal_zone_device *thermal_zone;
406 struct thermal_zone_device *tz = dec->thermal_zone;
in model_static_power()
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_rkvdec.c | 185 struct thermal_zone_device *thermal_zone; 428 struct thermal_zone_device *tz = dec->thermal_zone; in model_static_power()
|
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/ |
H A D | power_supply_core.c | 1007 static int power_supply_read_temp(struct thermal_zone_device *tzd, int *temp)
in power_supply_read_temp()
|