Home
last modified time | relevance | path

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

/drivers/thermal/qcom/
Dtsens.c77 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1, in compute_intercept_slope()
148 struct tsens_priv *priv = s->priv; in tsens_hw_to_mC()
180 struct tsens_priv *priv = s->priv; in tsens_mC_to_hw()
190 static inline enum tsens_ver tsens_version(struct tsens_priv *priv) in tsens_version()
195 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1()
214 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2()
261 static void tsens_set_interrupt(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt()
282 static int tsens_threshold_violated(struct tsens_priv *priv, u32 hw_id, in tsens_threshold_violated()
307 static int tsens_read_irq_state(struct tsens_priv *priv, u32 hw_id, in tsens_read_irq_state()
387 struct tsens_priv *priv = data; in tsens_critical_irq_thread()
[all …]
Dtsens.h24 struct tsens_priv;
49 struct tsens_priv *priv;
70 int (*init)(struct tsens_priv *priv);
71 int (*calibrate)(struct tsens_priv *priv);
74 int (*enable)(struct tsens_priv *priv, int i);
75 void (*disable)(struct tsens_priv *priv);
76 int (*suspend)(struct tsens_priv *priv);
77 int (*resume)(struct tsens_priv *priv);
556 struct tsens_priv { struct
579 void compute_intercept_slope(struct tsens_priv *priv, u32 *pt1, u32 *pt2, u32 mode); argument
[all …]
Dtsens-8960.c59 static int suspend_8960(struct tsens_priv *priv) in suspend_8960()
85 static int resume_8960(struct tsens_priv *priv) in resume_8960()
115 static int enable_8960(struct tsens_priv *priv, int id) in enable_8960()
141 static void disable_8960(struct tsens_priv *priv) in disable_8960()
165 static int init_8960(struct tsens_priv *priv) in init_8960()
215 static int calibrate_8960(struct tsens_priv *priv) in calibrate_8960()
252 struct tsens_priv *priv = s->priv; in get_temp_8960()
Dtsens-v1.c140 static int calibrate_v1(struct tsens_priv *priv) in calibrate_v1()
206 static int calibrate_8976(struct tsens_priv *priv) in calibrate_8976()
336 static int __init init_8956(struct tsens_priv *priv) { in init_8956()
Dtsens-v0_1.c193 static int calibrate_8916(struct tsens_priv *priv) in calibrate_8916()
249 static int calibrate_8939(struct tsens_priv *priv) in calibrate_8939()
319 static int calibrate_8974(struct tsens_priv *priv) in calibrate_8974()