Home
last modified time | relevance | path

Searched refs:tsens_device (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/thermal/qcom/
Dtsens.h22 struct tsens_device;
25 struct tsens_device *tmdev;
47 int (*init)(struct tsens_device *);
48 int (*calibrate)(struct tsens_device *);
49 int (*get_temp)(struct tsens_device *, int, int *);
51 int (*enable)(struct tsens_device *, int);
52 void (*disable)(struct tsens_device *);
53 int (*suspend)(struct tsens_device *);
54 int (*resume)(struct tsens_device *);
55 int (*get_trend)(struct tsens_device *, int, enum thermal_trend *);
[all …]
Dtsens.c27 struct tsens_device *tmdev = s->tmdev; in tsens_get_temp()
35 struct tsens_device *tmdev = s->tmdev; in tsens_get_trend()
45 struct tsens_device *tmdev = dev_get_drvdata(dev); in tsens_suspend()
55 struct tsens_device *tmdev = dev_get_drvdata(dev); in tsens_resume()
88 static int tsens_register(struct tsens_device *tmdev) in tsens_register()
118 struct tsens_device *tmdev; in tsens_probe()
188 struct tsens_device *tmdev = platform_get_drvdata(pdev); in tsens_remove()
Dtsens-8960.c68 static int suspend_8960(struct tsens_device *tmdev) in suspend_8960()
94 static int resume_8960(struct tsens_device *tmdev) in resume_8960()
124 static int enable_8960(struct tsens_device *tmdev, int id) in enable_8960()
150 static void disable_8960(struct tsens_device *tmdev) in disable_8960()
174 static int init_8960(struct tsens_device *tmdev) in init_8960()
224 static int calibrate_8960(struct tsens_device *tmdev) in calibrate_8960()
255 static int get_temp_8960(struct tsens_device *tmdev, int id, int *temp) in get_temp_8960()
Dtsens-common.c54 void compute_intercept_slope(struct tsens_device *tmdev, u32 *p1, in compute_intercept_slope()
103 int get_temp_common(struct tsens_device *tmdev, int id, int *temp) in get_temp_common()
127 int __init init_common(struct tsens_device *tmdev) in init_common()
Dtsens-v2.c15 static int get_temp_tsens_v2(struct tsens_device *tmdev, int id, int *temp) in get_temp_tsens_v2()
Dtsens-8916.c51 static int calibrate_8916(struct tsens_device *tmdev) in calibrate_8916()
Dtsens-8974.c103 static int calibrate_8974(struct tsens_device *tmdev) in calibrate_8974()