Searched refs:tsens_device (Results 1 – 7 of 7) sorted by relevance
| /Linux-v4.19/drivers/thermal/qcom/ |
| D | tsens.h | 22 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 …]
|
| D | tsens.c | 27 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()
|
| D | tsens-8960.c | 68 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()
|
| D | tsens-common.c | 54 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()
|
| D | tsens-v2.c | 15 static int get_temp_tsens_v2(struct tsens_device *tmdev, int id, int *temp) in get_temp_tsens_v2()
|
| D | tsens-8916.c | 51 static int calibrate_8916(struct tsens_device *tmdev) in calibrate_8916()
|
| D | tsens-8974.c | 103 static int calibrate_8974(struct tsens_device *tmdev) in calibrate_8974()
|