Lines Matching refs:ds2781_device_info

32 struct ds2781_device_info {  struct
47 static inline struct ds2781_device_info * argument
53 static inline int ds2781_battery_io(struct ds2781_device_info *dev_info, in ds2781_battery_io()
59 static int w1_ds2781_read(struct ds2781_device_info *dev_info, char *buf, in w1_ds2781_read()
65 static inline int ds2781_read8(struct ds2781_device_info *dev_info, u8 *val, in ds2781_read8()
71 static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val, in ds2781_read16()
86 static inline int ds2781_read_block(struct ds2781_device_info *dev_info, in ds2781_read_block()
92 static inline int ds2781_write(struct ds2781_device_info *dev_info, u8 *val, in ds2781_write()
108 static int ds2781_save_eeprom(struct ds2781_device_info *dev_info, int reg) in ds2781_save_eeprom()
124 static int ds2781_set_sense_register(struct ds2781_device_info *dev_info, in ds2781_set_sense_register()
138 static int ds2781_get_rsgain_register(struct ds2781_device_info *dev_info, in ds2781_get_rsgain_register()
145 static int ds2781_set_rsgain_register(struct ds2781_device_info *dev_info, in ds2781_set_rsgain_register()
159 static int ds2781_get_voltage(struct ds2781_device_info *dev_info, in ds2781_get_voltage()
188 static int ds2781_get_temperature(struct ds2781_device_info *dev_info, in ds2781_get_temperature()
215 static int ds2781_get_current(struct ds2781_device_info *dev_info, in ds2781_get_current()
260 static int ds2781_get_accumulated_current(struct ds2781_device_info *dev_info, in ds2781_get_accumulated_current()
297 static int ds2781_get_capacity(struct ds2781_device_info *dev_info, in ds2781_get_capacity()
311 static int ds2781_get_status(struct ds2781_device_info *dev_info, int *status) in ds2781_get_status()
336 static int ds2781_get_charge_now(struct ds2781_device_info *dev_info, in ds2781_get_charge_now()
358 static int ds2781_get_control_register(struct ds2781_device_info *dev_info, in ds2781_get_control_register()
364 static int ds2781_set_control_register(struct ds2781_device_info *dev_info, in ds2781_set_control_register()
382 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_battery_get_property()
452 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_pmod_enabled()
471 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_pmod_enabled()
506 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_sense_resistor_value()
524 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_sense_resistor_value()
544 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_rsgain_setting()
561 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_rsgain_setting()
587 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_pio_pin()
605 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_pio_pin()
631 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_read_param_eeprom_bin()
644 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_write_param_eeprom_bin()
676 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_read_user_eeprom_bin()
690 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_write_user_eeprom_bin()
752 struct ds2781_device_info *dev_info; in ds2781_battery_probe()