Lines Matching refs:tsens_priv
77 void compute_intercept_slope(struct tsens_priv *priv, u32 *p1,
148 struct tsens_priv *priv = s->priv;
180 struct tsens_priv *priv = s->priv;
190 static inline enum tsens_ver tsens_version(struct tsens_priv *priv)
195 static void tsens_set_interrupt_v1(struct tsens_priv *priv, u32 hw_id,
214 static void tsens_set_interrupt_v2(struct tsens_priv *priv, u32 hw_id,
261 static void tsens_set_interrupt(struct tsens_priv *priv, u32 hw_id,
282 static int tsens_threshold_violated(struct tsens_priv *priv, u32 hw_id,
307 static int tsens_read_irq_state(struct tsens_priv *priv, u32 hw_id,
387 struct tsens_priv *priv = data;
457 struct tsens_priv *priv = data;
526 struct tsens_priv *priv = s->priv;
560 static int tsens_enable_irq(struct tsens_priv *priv)
573 static void tsens_disable_irq(struct tsens_priv *priv)
580 struct tsens_priv *priv = s->priv;
609 struct tsens_priv *priv = s->priv;
626 struct tsens_priv *priv = platform_get_drvdata(pdev);
644 struct tsens_priv *priv = platform_get_drvdata(pdev);
671 struct tsens_priv *priv = platform_get_drvdata(pdev);
707 int __init init_common(struct tsens_priv *priv)
860 struct tsens_priv *priv = s->priv;
868 struct tsens_priv *priv = s->priv;
878 struct tsens_priv *priv = dev_get_drvdata(dev);
888 struct tsens_priv *priv = dev_get_drvdata(dev);
937 static int tsens_register_irq(struct tsens_priv *priv, char *irqname,
969 static int tsens_register(struct tsens_priv *priv)
1002 struct tsens_priv *priv;
1073 struct tsens_priv *priv = platform_get_drvdata(pdev);