Home
last modified time | relevance | path

Searched refs:gpu_tz (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa_simple.c49 struct thermal_zone_device *gpu_tz; member
101 struct thermal_zone_device *gpu_tz = model_data->gpu_tz; in model_static_coeff() local
104 if (gpu_tz) { in model_static_coeff()
107 ret = gpu_tz->ops->get_temp(gpu_tz, &temp); in model_static_coeff()
190 model_data->gpu_tz = NULL; in kbase_simple_power_model_recalculate()
192 model_data->gpu_tz = thermal_zone_get_zone_by_name(model_data->tz_name); in kbase_simple_power_model_recalculate()
194 if (IS_ERR(model_data->gpu_tz)) { in kbase_simple_power_model_recalculate()
196 PTR_ERR(model_data->gpu_tz), in kbase_simple_power_model_recalculate()
198 model_data->gpu_tz = NULL; in kbase_simple_power_model_recalculate()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/platform/arm/
H A Darm.c183 static struct thermal_zone_device *gpu_tz; variable
195 if (gpu_tz) { in arm_model_static_power()
198 ret = gpu_tz->ops->get_temp(gpu_tz, &temperature); in arm_model_static_power()
544 gpu_tz = thermal_zone_get_zone_by_name("soc_thermal"); in mali_platform_device_init()
545 if (IS_ERR(gpu_tz)) { in mali_platform_device_init()
547 PTR_ERR(gpu_tz))); in mali_platform_device_init()
548 gpu_tz = NULL; in mali_platform_device_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/platform/rk/
H A Drk.c235 static struct thermal_zone_device *gpu_tz; variable
247 if (gpu_tz) { in rk_model_static_power()
250 ret = gpu_tz->ops->get_temp(gpu_tz, &temperature); in rk_model_static_power()
357 gpu_tz = thermal_zone_get_zone_by_name(tz_name); in power_model_simple_init()
358 if (IS_ERR(gpu_tz)) { in power_model_simple_init()
361 PTR_ERR(gpu_tz)); in power_model_simple_init()
362 gpu_tz = NULL; in power_model_simple_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa_simple.c102 struct thermal_zone_device *gpu_tz; member
158 struct thermal_zone_device *tz = READ_ONCE(model_data->gpu_tz); in poll_temperature()
309 model_data->gpu_tz = NULL; in kbase_simple_power_model_recalculate()
346 model_data->gpu_tz = tz; in kbase_simple_power_model_recalculate()