Home
last modified time | relevance | path

Searched refs:tsens_sensor (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/thermal/qcom/
Dtsens.h50 struct tsens_sensor { struct
73 int (*get_temp)(const struct tsens_sensor *s, int *temp); argument
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);
Dtsens.c111 static inline u32 degc_to_code(int degc, const struct tsens_sensor *s) in degc_to_code()
119 static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) in code_to_degc()
149 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC()
181 static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp) in tsens_mC_to_hw()
311 const struct tsens_sensor *s, in tsens_read_irq_state()
418 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_critical_irq_thread()
468 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_irq_thread()
537 struct tsens_sensor *s = tz->devdata; in tsens_set_trips()
597 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp) in get_temp_tsens_valid()
628 int get_temp_common(const struct tsens_sensor *s, int *temp) in get_temp_common()
[all …]