Lines Matching refs:ltc2947_data
120 struct ltc2947_data { struct
133 static int __ltc2947_val_read16(const struct ltc2947_data *st, const u8 reg, in __ltc2947_val_read16() argument
148 static int __ltc2947_val_read24(const struct ltc2947_data *st, const u8 reg, in __ltc2947_val_read24()
163 static int __ltc2947_val_read64(const struct ltc2947_data *st, const u8 reg, in __ltc2947_val_read64()
178 static int ltc2947_val_read(struct ltc2947_data *st, const u8 reg, in ltc2947_val_read()
222 static int __ltc2947_val_write64(const struct ltc2947_data *st, const u8 reg, in __ltc2947_val_write64()
231 static int __ltc2947_val_write16(const struct ltc2947_data *st, const u8 reg, in __ltc2947_val_write16()
240 static int ltc2947_val_write(struct ltc2947_data *st, const u8 reg, in ltc2947_val_write()
273 static int ltc2947_reset_history(struct ltc2947_data *st, const u8 reg_h, in ltc2947_reset_history()
288 static int ltc2947_alarm_read(struct ltc2947_data *st, const u8 reg, in ltc2947_alarm_read()
325 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_show_value()
344 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_read_temp()
407 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_read_power()
454 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_read_curr()
502 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_read_in()
611 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_write_temp()
662 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_write_power()
688 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_write_curr()
714 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_write_in()
960 static int ltc2947_setup(struct ltc2947_data *st) in ltc2947_setup()
1098 struct ltc2947_data *st; in ltc2947_core_probe()
1125 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_resume()
1154 struct ltc2947_data *st = dev_get_drvdata(dev); in ltc2947_suspend()