Lines Matching defs:st

187 static int ltc2992_read_reg(struct ltc2992_state *st, u8 addr, const u8 reg_len)  in ltc2992_read_reg()
205 static int ltc2992_write_reg(struct ltc2992_state *st, u8 addr, const u8 reg_len, u32 val) in ltc2992_write_reg()
218 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_get() local
237 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_get_multiple() local
261 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_set() local
282 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_set_multiple() local
301 static int ltc2992_config_gpio(struct ltc2992_state *st) in ltc2992_config_gpio()
345 const struct ltc2992_state *st = data; in ltc2992_is_visible() local
408 static int ltc2992_get_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long *val) in ltc2992_get_voltage()
422 static int ltc2992_set_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long val) in ltc2992_set_voltage()
430 static int ltc2992_read_gpio_alarm(struct ltc2992_state *st, int nr_gpio, u32 attr, long *val) in ltc2992_read_gpio_alarm()
452 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_read_gpios_in() local
481 static int ltc2992_read_in_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) in ltc2992_read_in_alarm()
503 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_read_in() local
535 static int ltc2992_get_current(struct ltc2992_state *st, u32 reg, u32 channel, long *val) in ltc2992_get_current()
549 static int ltc2992_set_current(struct ltc2992_state *st, u32 reg, u32 channel, long val) in ltc2992_set_current()
559 static int ltc2992_read_curr_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) in ltc2992_read_curr_alarm()
581 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_read_curr() local
610 static int ltc2992_get_power(struct ltc2992_state *st, u32 reg, u32 channel, long *val) in ltc2992_get_power()
624 static int ltc2992_set_power(struct ltc2992_state *st, u32 reg, u32 channel, long val) in ltc2992_set_power()
634 static int ltc2992_read_power_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) in ltc2992_read_power_alarm()
656 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_read_power() local
702 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_write_curr() local
721 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_write_gpios_in() local
740 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_write_in() local
762 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_write_power() local
781 struct ltc2992_state *st = dev_get_drvdata(dev); in ltc2992_write_chip() local
855 static int ltc2992_parse_dt(struct ltc2992_state *st) in ltc2992_parse_dt()
888 struct ltc2992_state *st; in ltc2992_i2c_probe() local