Searched refs:tsens_sensor (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/thermal/qcom/ |
H A D | tsens.h | 49 * struct tsens_sensor - data for each sensor connected to the tsens device 57 struct tsens_sensor { struct 82 int (*get_temp)(const struct tsens_sensor *s, int *temp); argument 591 struct tsens_sensor sensor[] __counted_by(num_sensors); 638 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp); 639 int get_temp_common(const struct tsens_sensor *s, int *temp); 58 privtsens_sensor global() argument
|
H A D | tsens.c | 291 static inline u32 degc_to_code(int degc, const struct tsens_sensor *s) in degc_to_code() 299 static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) in code_to_degc() 329 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC() 361 static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp) in tsens_mC_to_hw() 491 const struct tsens_sensor *s, in tsens_read_irq_state() 598 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_critical_irq_thread() 645 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_irq_thread() 691 struct tsens_sensor *s = thermal_zone_device_priv(tz); in tsens_set_trips() 751 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp) in get_temp_tsens_valid() 782 int get_temp_common(const struct tsens_sensor * [all...] |
H A D | tsens-v2.c | 141 static int tsens_v2_calibrate_sensor(struct device *dev, struct tsens_sensor *sensor, in tsens_v2_calibrate_sensor()
|