Lines Matching refs:max17042_chip
55 struct max17042_chip { struct
94 static int max17042_get_temperature(struct max17042_chip *chip, int *temp) in max17042_get_temperature()
111 static int max17042_get_status(struct max17042_chip *chip, int *status) in max17042_get_status()
174 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) in max17042_get_battery_health()
234 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_get_property()
436 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_set_property()
528 static inline void max17042_unlock_model(struct max17042_chip *chip) in max17042_unlock_model()
536 static inline void max17042_lock_model(struct max17042_chip *chip) in max17042_lock_model()
544 static inline void max17042_write_model_data(struct max17042_chip *chip, in max17042_write_model_data()
555 static inline void max17042_read_model_data(struct max17042_chip *chip, in max17042_read_model_data()
568 static inline int max17042_model_data_compare(struct max17042_chip *chip, in max17042_model_data_compare()
584 static int max17042_init_model(struct max17042_chip *chip) in max17042_init_model()
612 static int max17042_verify_model_lock(struct max17042_chip *chip) in max17042_verify_model_lock()
633 static void max17042_write_config_regs(struct max17042_chip *chip) in max17042_write_config_regs()
650 static void max17042_write_custom_regs(struct max17042_chip *chip) in max17042_write_custom_regs()
674 static void max17042_update_capacity_regs(struct max17042_chip *chip) in max17042_update_capacity_regs()
686 static void max17042_reset_vfsoc0_reg(struct max17042_chip *chip) in max17042_reset_vfsoc0_reg()
697 static void max17042_load_new_capacity_params(struct max17042_chip *chip) in max17042_load_new_capacity_params()
738 static inline void max17042_override_por_values(struct max17042_chip *chip) in max17042_override_por_values()
796 static int max17042_init_chip(struct max17042_chip *chip) in max17042_init_chip()
846 static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off) in max17042_set_soc_threshold()
864 struct max17042_chip *chip = dev; in max17042_thread_handler()
888 struct max17042_chip *chip = container_of(work, in max17042_init_worker()
889 struct max17042_chip, work); in max17042_init_worker()
904 max17042_get_of_pdata(struct max17042_chip *chip) in max17042_get_of_pdata()
946 max17042_get_default_pdata(struct max17042_chip *chip) in max17042_get_default_pdata()
987 max17042_get_pdata(struct max17042_chip *chip) in max17042_get_pdata()
1030 struct max17042_chip *chip = data; in max17042_stop_work()
1043 struct max17042_chip *chip; in max17042_probe()
1155 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_suspend()
1171 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_resume()