Lines Matching refs:temp
449 int temp;
451 temp = clamp_val(trip_temp, min_low_temp, max_high_temp);
452 if (temp != trip_temp)
454 trip_temp, temp);
455 return temp;
479 int temp;
485 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain;
488 r = REG_SET_MASK(r, sg->thermtrip_threshold_mask, temp);
519 int temp, cpu_throt, gpu_throt;
526 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain;
545 r = REG_SET_MASK(r, sg->thermctl_lvl0_up_thresh_mask, temp);
546 r = REG_SET_MASK(r, sg->thermctl_lvl0_dn_thresh_mask, temp);
569 int i, temp = min_low_temp;
573 return temp;
578 return tt[i].temp;
582 return temp;
585 static int tegra_thermctl_set_trip_temp(struct thermal_zone_device *tz, int trip_id, int temp)
608 return thermtrip_program(dev, sg, temp);
628 return throttrip_program(dev, sg, stc, temp);
690 static int get_hot_temp(struct thermal_zone_device *tz, int *trip_id, int *temp)
1549 "missing thermtrips, will use critical trips as shut down temp\n");
1571 tt[i].temp = tlb[j + 1];