Searched refs:temp_C (Results 1 – 2 of 2) sorted by relevance
35 static uint16_t bcm2835_thermal_temp2adc(int temp_C) in bcm2835_thermal_temp2adc() argument37 return (temp_C - THERMAL_OFFSET_C) / THERMAL_COEFF; in bcm2835_thermal_temp2adc()
102 int temp_C; /* units of 0.1 °C */ member306 di->temp_C = di->temp_raw + (di->temp_raw / 4); in ds2760_battery_read_status()332 di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()340 di->empty_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()572 val->intval = di->temp_C; in ds2760_battery_get_property()