tsens_sensor
static int tsens_v2_calibrate_sensor(struct device *dev, struct tsens_sensor *sensor,
struct tsens_sensor *s = thermal_zone_device_priv(tz);
static inline u32 degc_to_code(int degc, const struct tsens_sensor *s)
static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s)
static int tsens_hw_to_mC(const struct tsens_sensor *s, int field)
static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp)
const struct tsens_sensor *s,
const struct tsens_sensor *s = &priv->sensor[i];
const struct tsens_sensor *s = &priv->sensor[i];
struct tsens_sensor *s = thermal_zone_device_priv(tz);
int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp)
int get_temp_common(const struct tsens_sensor *s, int *temp)
struct tsens_sensor sensor[] __counted_by(num_sensors);
int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp);
int get_temp_common(const struct tsens_sensor *s, int *temp);
int (*get_temp)(const struct tsens_sensor *s, int *temp);