Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/thermal/qcom/
Dtsens.h30 struct tsens_priv;
56 struct tsens_priv *priv;
78 int (*init)(struct tsens_priv *priv);
79 int (*calibrate)(struct tsens_priv *priv);
82 int (*enable)(struct tsens_priv *priv, int i);
83 void (*disable)(struct tsens_priv *priv);
84 int (*suspend)(struct tsens_priv *priv);
85 int (*resume)(struct tsens_priv *priv);
569 struct tsens_priv { struct
626 int tsens_read_calibration_legacy(struct tsens_priv *priv,
[all …]
Dtsens.c73 int tsens_read_calibration(struct tsens_priv *priv, int shift, u32 *p1, u32 *p2, bool backup) in tsens_read_calibration()
169 int tsens_calibrate_nvmem(struct tsens_priv *priv, int shift) in tsens_calibrate_nvmem()
183 int tsens_calibrate_common(struct tsens_priv *priv) in tsens_calibrate_common()
205 int tsens_read_calibration_legacy(struct tsens_priv *priv, in tsens_read_calibration_legacy()
258 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1, in compute_intercept_slope()
330 struct tsens_priv *priv = s->priv; in tsens_hw_to_mC()
362 struct tsens_priv *priv = s->priv; in tsens_mC_to_hw()
372 static inline enum tsens_ver tsens_version(struct tsens_priv *priv) in tsens_version()
377 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v1()
396 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id, in tsens_set_interrupt_v2()
[all …]
Dtsens-v0_1.c86 static int calibrate_8916(struct tsens_priv *priv) in calibrate_8916()
146 static int calibrate_8974_nvmem(struct tsens_priv *priv) in calibrate_8974_nvmem()
169 static int calibrate_8974(struct tsens_priv *priv) in calibrate_8974()
210 static int __init init_8226(struct tsens_priv *priv) in init_8226()
222 static int __init init_8909(struct tsens_priv *priv) in init_8909()
243 static int __init init_8939(struct tsens_priv *priv) { in init_8939()
258 static int __init init_9607(struct tsens_priv *priv) in init_9607()
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.c45 static int calibrate_v1(struct tsens_priv *priv) in calibrate_v1()
137 static int __init init_8956(struct tsens_priv *priv) { in init_8956()