Searched refs:tt_zone (Results 1 – 1 of 1) sorted by relevance
54 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))81 struct tt_thermal_zone *tt_zone; member112 struct tt_thermal_zone *tt_zone = data; in tt_zone_tz_temp_get() local114 guard(tt_zone)(tt_zone); in tt_zone_tz_temp_get() local116 if (!tt_zone->tz) in tt_zone_tz_temp_get()119 *val = tt_zone->tz_temp; in tt_zone_tz_temp_get()125 struct tt_thermal_zone *tt_zone = data; in tt_zone_tz_temp_set() local127 guard(tt_zone)(tt_zone); in tt_zone_tz_temp_set() local129 if (!tt_zone->tz) in tt_zone_tz_temp_set()132 WRITE_ONCE(tt_zone->tz_temp, val); in tt_zone_tz_temp_set()[all …]