Lines Matching refs:ltc2991_state
56 struct ltc2991_state { struct
62 static int ltc2991_read_reg(struct ltc2991_state *st, u8 addr, u8 reg_len, in ltc2991_read_reg() argument
80 static int ltc2991_get_voltage(struct ltc2991_state *st, u32 reg, long *val) in ltc2991_get_voltage()
101 struct ltc2991_state *st = dev_get_drvdata(dev); in ltc2991_read_in()
117 static int ltc2991_get_curr(struct ltc2991_state *st, u32 reg, int channel, in ltc2991_get_curr()
136 struct ltc2991_state *st = dev_get_drvdata(dev); in ltc2991_read_curr()
148 static int ltc2991_get_temp(struct ltc2991_state *st, u32 reg, int channel, in ltc2991_get_temp()
166 struct ltc2991_state *st = dev_get_drvdata(dev); in ltc2991_read_temp()
201 const struct ltc2991_state *st = data; in ltc2991_is_visible()
285 static int ltc2991_init(struct ltc2991_state *st, struct device *dev) in ltc2991_init()
383 struct ltc2991_state *st; in ltc2991_i2c_probe()