Searched refs:tsens_priv (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/thermal/qcom/ |
D | tsens.h | 22 struct tsens_priv; 41 struct tsens_priv *priv; 63 int (*init)(struct tsens_priv *priv); 64 int (*calibrate)(struct tsens_priv *priv); 65 int (*get_temp)(struct tsens_priv *priv, int i, int *temp); 67 int (*enable)(struct tsens_priv *priv, int i); 68 void (*disable)(struct tsens_priv *priv); 69 int (*suspend)(struct tsens_priv *priv); 70 int (*resume)(struct tsens_priv *priv); 71 int (*get_trend)(struct tsens_priv *priv, int i, enum thermal_trend *trend); [all …]
|
D | tsens.c | 18 struct tsens_priv *priv = s->priv; in tsens_get_temp() 26 struct tsens_priv *priv = s->priv; in tsens_get_trend() 36 struct tsens_priv *priv = dev_get_drvdata(dev); in tsens_suspend() 46 struct tsens_priv *priv = dev_get_drvdata(dev); in tsens_resume() 82 static int tsens_register(struct tsens_priv *priv) in tsens_register() 107 struct tsens_priv *priv; in tsens_probe() 180 struct tsens_priv *priv = platform_get_drvdata(pdev); in tsens_remove()
|
D | tsens-8960.c | 59 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() 248 static int get_temp_8960(struct tsens_priv *priv, int id, int *temp) in get_temp_8960()
|
D | tsens-common.c | 37 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1, in compute_intercept_slope() 86 int get_temp_tsens_valid(struct tsens_priv *priv, int i, int *temp) in get_temp_tsens_valid() 126 int get_temp_common(struct tsens_priv *priv, int i, int *temp) in get_temp_common() 154 int __init init_common(struct tsens_priv *priv) in init_common()
|
D | tsens-v0_1.c | 136 static int calibrate_8916(struct tsens_priv *priv) in calibrate_8916() 192 static int calibrate_8974(struct tsens_priv *priv) in calibrate_8974()
|
D | tsens-v1.c | 80 static int calibrate_v1(struct tsens_priv *priv) in calibrate_v1()
|