Lines Matching refs:max17042_chip
54 struct max17042_chip {
94 static int max17042_get_temperature(struct max17042_chip *chip, int *temp)
111 static int max17042_get_status(struct max17042_chip *chip, int *status)
174 static int max17042_get_battery_health(struct max17042_chip *chip, int *health)
234 struct max17042_chip *chip = power_supply_get_drvdata(psy);
443 struct max17042_chip *chip = power_supply_get_drvdata(psy);
530 static inline void max17042_unlock_model(struct max17042_chip *chip)
538 static inline void max17042_lock_model(struct max17042_chip *chip)
546 static inline void max17042_write_model_data(struct max17042_chip *chip,
557 static inline void max17042_read_model_data(struct max17042_chip *chip,
570 static inline int max17042_model_data_compare(struct max17042_chip *chip,
586 static int max17042_init_model(struct max17042_chip *chip)
614 static int max17042_verify_model_lock(struct max17042_chip *chip)
635 static void max17042_write_config_regs(struct max17042_chip *chip)
652 static void max17042_write_custom_regs(struct max17042_chip *chip)
676 static void max17042_update_capacity_regs(struct max17042_chip *chip)
688 static void max17042_reset_vfsoc0_reg(struct max17042_chip *chip)
699 static void max17042_load_new_capacity_params(struct max17042_chip *chip)
740 static inline void max17042_override_por_values(struct max17042_chip *chip)
798 static int max17042_init_chip(struct max17042_chip *chip)
848 static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off)
866 struct max17042_chip *chip = dev;
889 struct max17042_chip *chip = container_of(work,
890 struct max17042_chip, work);
905 max17042_get_of_pdata(struct max17042_chip *chip)
947 max17042_get_default_pdata(struct max17042_chip *chip)
988 max17042_get_pdata(struct max17042_chip *chip)
1037 struct max17042_chip *chip;
1149 struct max17042_chip *chip = dev_get_drvdata(dev);
1165 struct max17042_chip *chip = dev_get_drvdata(dev);