Lines Matching refs:ds2780_device_info
34 struct ds2780_device_info { struct
49 static inline struct ds2780_device_info * argument
55 static inline int ds2780_battery_io(struct ds2780_device_info *dev_info, in ds2780_battery_io()
61 static inline int ds2780_read8(struct ds2780_device_info *dev_info, u8 *val, in ds2780_read8()
67 static int ds2780_read16(struct ds2780_device_info *dev_info, s16 *val, in ds2780_read16()
82 static inline int ds2780_read_block(struct ds2780_device_info *dev_info, in ds2780_read_block()
88 static inline int ds2780_write(struct ds2780_device_info *dev_info, u8 *val, in ds2780_write()
104 static int ds2780_save_eeprom(struct ds2780_device_info *dev_info, int reg) in ds2780_save_eeprom()
120 static int ds2780_set_sense_register(struct ds2780_device_info *dev_info, in ds2780_set_sense_register()
134 static int ds2780_get_rsgain_register(struct ds2780_device_info *dev_info, in ds2780_get_rsgain_register()
141 static int ds2780_set_rsgain_register(struct ds2780_device_info *dev_info, in ds2780_set_rsgain_register()
155 static int ds2780_get_voltage(struct ds2780_device_info *dev_info, in ds2780_get_voltage()
183 static int ds2780_get_temperature(struct ds2780_device_info *dev_info, in ds2780_get_temperature()
214 static int ds2780_get_current(struct ds2780_device_info *dev_info, in ds2780_get_current()
259 static int ds2780_get_accumulated_current(struct ds2780_device_info *dev_info, in ds2780_get_accumulated_current()
296 static int ds2780_get_capacity(struct ds2780_device_info *dev_info, in ds2780_get_capacity()
310 static int ds2780_get_status(struct ds2780_device_info *dev_info, int *status) in ds2780_get_status()
334 static int ds2780_get_charge_now(struct ds2780_device_info *dev_info, in ds2780_get_charge_now()
356 static int ds2780_get_control_register(struct ds2780_device_info *dev_info, in ds2780_get_control_register()
362 static int ds2780_set_control_register(struct ds2780_device_info *dev_info, in ds2780_set_control_register()
380 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_battery_get_property()
450 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pmod_enabled()
469 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pmod_enabled()
504 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_sense_resistor_value()
522 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_sense_resistor_value()
542 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_rsgain_setting()
559 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_rsgain_setting()
585 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pio_pin()
603 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pio_pin()
629 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_param_eeprom_bin()
642 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_param_eeprom_bin()
674 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_user_eeprom_bin()
687 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_user_eeprom_bin()
748 struct ds2780_device_info *dev_info; in ds2780_battery_probe()