Lines Matching refs:tsens_priv

73 int tsens_read_calibration(struct tsens_priv *priv, int shift, u32 *p1, u32 *p2, bool backup)
169 int tsens_calibrate_nvmem(struct tsens_priv *priv, int shift)
183 int tsens_calibrate_common(struct tsens_priv *priv)
205 int tsens_read_calibration_legacy(struct tsens_priv *priv,
258 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1,
330 struct tsens_priv *priv = s->priv;
362 struct tsens_priv *priv = s->priv;
372 static inline enum tsens_ver tsens_version(struct tsens_priv *priv)
377 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id,
396 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id,
443 static void tsens_set_interrupt(struct tsens_priv *priv, u32 hw_id,
464 static int tsens_threshold_violated(struct tsens_priv *priv, u32 hw_id,
489 static int tsens_read_irq_state(struct tsens_priv *priv, u32 hw_id,
569 struct tsens_priv *priv = data;
639 struct tsens_priv *priv = data;
691 struct tsens_priv *priv = s->priv;
732 static int tsens_enable_irq(struct tsens_priv *priv)
745 static void tsens_disable_irq(struct tsens_priv *priv)
752 struct tsens_priv *priv = s->priv;
783 struct tsens_priv *priv = s->priv;
814 struct tsens_priv *priv = platform_get_drvdata(pdev);
832 struct tsens_priv *priv = platform_get_drvdata(pdev);
859 struct tsens_priv *priv = platform_get_drvdata(pdev);
888 int __init init_common(struct tsens_priv *priv)
1075 struct tsens_priv *priv = s->priv;
1082 struct tsens_priv *priv = dev_get_drvdata(dev);
1092 struct tsens_priv *priv = dev_get_drvdata(dev);
1155 static int tsens_register_irq(struct tsens_priv *priv, char *irqname,
1196 static int tsens_register(struct tsens_priv *priv)
1249 struct tsens_priv *priv;
1324 struct tsens_priv *priv = platform_get_drvdata(pdev);