Lines Matching refs:stts751_priv
85 struct stts751_priv { struct
117 static int stts751_adjust_resolution(struct stts751_priv *priv) in stts751_adjust_resolution() argument
149 static int stts751_update_temp(struct stts751_priv *priv) in stts751_update_temp()
200 static int stts751_set_temp_reg16(struct stts751_priv *priv, int temp, in stts751_set_temp_reg16()
215 static int stts751_set_temp_reg8(struct stts751_priv *priv, int temp, u8 reg) in stts751_set_temp_reg8()
223 static int stts751_read_reg16(struct stts751_priv *priv, int *temp, in stts751_read_reg16()
241 static int stts751_read_reg8(struct stts751_priv *priv, int *temp, u8 reg) in stts751_read_reg8()
260 static int stts751_update_alert(struct stts751_priv *priv) in stts751_update_alert()
313 struct stts751_priv *priv = i2c_get_clientdata(client); in stts751_alert()
355 static int stts751_update(struct stts751_priv *priv) in stts751_update()
380 struct stts751_priv *priv = dev_get_drvdata(dev); in max_alarm_show()
397 struct stts751_priv *priv = dev_get_drvdata(dev); in min_alarm_show()
414 struct stts751_priv *priv = dev_get_drvdata(dev); in input_show()
428 struct stts751_priv *priv = dev_get_drvdata(dev); in therm_show()
438 struct stts751_priv *priv = dev_get_drvdata(dev); in therm_store()
470 struct stts751_priv *priv = dev_get_drvdata(dev); in hyst_show()
481 struct stts751_priv *priv = dev_get_drvdata(dev); in hyst_store()
504 struct stts751_priv *priv = dev_get_drvdata(dev); in therm_trip_show()
518 struct stts751_priv *priv = dev_get_drvdata(dev); in max_show()
528 struct stts751_priv *priv = dev_get_drvdata(dev); in max_store()
552 struct stts751_priv *priv = dev_get_drvdata(dev); in min_show()
562 struct stts751_priv *priv = dev_get_drvdata(dev); in min_store()
586 struct stts751_priv *priv = dev_get_drvdata(dev); in interval_show()
599 struct stts751_priv *priv = dev_get_drvdata(dev); in interval_store()
699 static int stts751_read_chip_config(struct stts751_priv *priv) in stts751_read_chip_config()
768 struct stts751_priv *priv; in stts751_probe()