Home
last modified time | relevance | path

Searched refs:tsens_priv (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/thermal/qcom/
Dtsens.c78 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1, in compute_intercept_slope()
150 struct tsens_priv *priv = s->priv; in tsens_hw_to_mC()
182 struct tsens_priv *priv = s->priv; in tsens_mC_to_hw()
192 static inline enum tsens_ver tsens_version(struct tsens_priv *priv) in tsens_version()
197 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1()
216 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2()
263 static void tsens_set_interrupt(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt()
284 static int tsens_threshold_violated(struct tsens_priv *priv, u32 hw_id, in tsens_threshold_violated()
309 static int tsens_read_irq_state(struct tsens_priv *priv, u32 hw_id, in tsens_read_irq_state()
389 struct tsens_priv *priv = data; in tsens_critical_irq_thread()
[all …]
Dtsens.h25 struct tsens_priv;
51 struct tsens_priv *priv;
72 int (*init)(struct tsens_priv *priv);
73 int (*calibrate)(struct tsens_priv *priv);
76 int (*enable)(struct tsens_priv *priv, int i);
77 void (*disable)(struct tsens_priv *priv);
78 int (*suspend)(struct tsens_priv *priv);
79 int (*resume)(struct tsens_priv *priv);
558 struct tsens_priv { struct
581 void compute_intercept_slope(struct tsens_priv *priv, u32 *pt1, u32 *pt2, u32 mode); argument
[all …]
Dtsens-8960.c55 static int suspend_8960(struct tsens_priv *priv) in suspend_8960()
81 static int resume_8960(struct tsens_priv *priv) in resume_8960()
111 static int enable_8960(struct tsens_priv *priv, int id) in enable_8960()
154 static void disable_8960(struct tsens_priv *priv) in disable_8960()
178 static int calibrate_8960(struct tsens_priv *priv) in calibrate_8960()
Dtsens-v1.c145 static void compute_intercept_slope_8976(struct tsens_priv *priv, in compute_intercept_slope_8976()
169 static int calibrate_v1(struct tsens_priv *priv) in calibrate_v1()
235 static int calibrate_8976(struct tsens_priv *priv) in calibrate_8976()
Dtsens-v0_1.c226 static int calibrate_8916(struct tsens_priv *priv) in calibrate_8916()
282 static int calibrate_8939(struct tsens_priv *priv) in calibrate_8939()
352 static int calibrate_8974(struct tsens_priv *priv) in calibrate_8974()
488 static int calibrate_9607(struct tsens_priv *priv) in calibrate_9607()