Home
last modified time | relevance | path

Searched defs:tsens_ops (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-4.19/drivers/thermal/qcom/
Dtsens.h45 struct tsens_ops { struct
66 const struct tsens_ops *ops; argument
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dtsens.h68 struct tsens_ops { struct
70 int (*init)(struct tsens_priv *priv);
71 int (*calibrate)(struct tsens_priv *priv);
72 int (*get_temp)(const struct tsens_sensor *s, int *temp);
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);
78 int (*get_trend)(struct tsens_sensor *s, enum thermal_trend *trend);