Home
last modified time | relevance | path

Searched refs:tsens_sensor (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/qcom/
H A Dtsens.h40 * struct tsens_sensor - data for each sensor connected to the tsens device
48 struct tsens_sensor { struct
72 int (*get_temp)(const struct tsens_sensor *s, int *temp);
78 int (*get_trend)(struct tsens_sensor *s, enum thermal_trend *trend);
575 struct tsens_sensor sensor[];
581 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp);
582 int get_temp_common(const struct tsens_sensor *s, int *temp);
H A Dtsens-8960.c221 struct tsens_sensor *s = priv->sensor; in calibrate_8960()
238 static inline int code_to_mdegC(u32 adc_code, const struct tsens_sensor *s) in code_to_mdegC()
248 static int get_temp_8960(const struct tsens_sensor *s, int *temp) in get_temp_8960()
H A Dtsens.c108 static inline u32 degc_to_code(int degc, const struct tsens_sensor *s) in degc_to_code()
116 static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) in code_to_degc()
146 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC()
178 static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp) in tsens_mC_to_hw()
308 const struct tsens_sensor *s, in tsens_read_irq_state()
415 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_critical_irq_thread()
465 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_irq_thread()
525 struct tsens_sensor *s = _sensor; in tsens_set_trips()
578 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp) in get_temp_tsens_valid()
607 int get_temp_common(const struct tsens_sensor *
[all...]
/kernel/linux/linux-6.6/drivers/thermal/qcom/
H A Dtsens.h47 * struct tsens_sensor - data for each sensor connected to the tsens device
55 struct tsens_sensor { struct
80 int (*get_temp)(const struct tsens_sensor *s, int *temp);
588 struct tsens_sensor sensor[];
635 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp);
636 int get_temp_common(const struct tsens_sensor *s, int *temp);
H A Dtsens.c290 static inline u32 degc_to_code(int degc, const struct tsens_sensor *s) in degc_to_code()
298 static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) in code_to_degc()
328 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC()
360 static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp) in tsens_mC_to_hw()
490 const struct tsens_sensor *s, in tsens_read_irq_state()
597 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_critical_irq_thread()
644 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_irq_thread()
690 struct tsens_sensor *s = thermal_zone_device_priv(tz); in tsens_set_trips()
750 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp) in get_temp_tsens_valid()
781 int get_temp_common(const struct tsens_sensor *
[all...]

Completed in 8 milliseconds