Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/qcom/
A Dtsens.h53 struct tsens_sensor { struct
76 int (*get_temp)(const struct tsens_sensor *s, int *temp); argument
584 struct tsens_sensor sensor[];
631 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp);
632 int get_temp_common(const struct tsens_sensor *s, int *temp);
A Dtsens.c276 static inline u32 degc_to_code(int degc, const struct tsens_sensor *s) in degc_to_code()
284 static inline int code_to_degc(u32 adc_code, const struct tsens_sensor *s) in code_to_degc()
314 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC()
346 static int tsens_mC_to_hw(const struct tsens_sensor *s, int temp) in tsens_mC_to_hw()
476 const struct tsens_sensor *s, in tsens_read_irq_state()
583 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_critical_irq_thread()
630 const struct tsens_sensor *s = &priv->sensor[i]; in tsens_irq_thread()
676 struct tsens_sensor *s = tz->devdata; in tsens_set_trips()
736 int get_temp_tsens_valid(const struct tsens_sensor *s, int *temp) in get_temp_tsens_valid()
767 int get_temp_common(const struct tsens_sensor *s, int *temp) in get_temp_common()
[all …]

Completed in 7 milliseconds