Searched refs:gpu_tz (Results 1 – 4 of 4) sorted by relevance
49 struct thermal_zone_device *gpu_tz; member101 struct thermal_zone_device *gpu_tz = model_data->gpu_tz; in model_static_coeff() local104 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()
183 static struct thermal_zone_device *gpu_tz; variable195 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()
235 static struct thermal_zone_device *gpu_tz; variable247 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()
102 struct thermal_zone_device *gpu_tz; member158 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()