Lines Matching defs:chip
99 static int max17042_get_temperature(struct max17042_chip *chip, int *temp) in max17042_get_temperature()
122 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) in max17042_get_battery_health()
182 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_get_property() local
345 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_set_property() local
432 static inline void max10742_unlock_model(struct max17042_chip *chip) in max10742_unlock_model()
440 static inline void max10742_lock_model(struct max17042_chip *chip) in max10742_lock_model()
448 static inline void max17042_write_model_data(struct max17042_chip *chip, in max17042_write_model_data()
459 static inline void max17042_read_model_data(struct max17042_chip *chip, in max17042_read_model_data()
469 static inline int max17042_model_data_compare(struct max17042_chip *chip, in max17042_model_data_compare()
485 static int max17042_init_model(struct max17042_chip *chip) in max17042_init_model()
513 static int max17042_verify_model_lock(struct max17042_chip *chip) in max17042_verify_model_lock()
534 static void max17042_write_config_regs(struct max17042_chip *chip) in max17042_write_config_regs()
550 static void max17042_write_custom_regs(struct max17042_chip *chip) in max17042_write_custom_regs()
574 static void max17042_update_capacity_regs(struct max17042_chip *chip) in max17042_update_capacity_regs()
586 static void max17042_reset_vfsoc0_reg(struct max17042_chip *chip) in max17042_reset_vfsoc0_reg()
597 static void max17042_load_new_capacity_params(struct max17042_chip *chip) in max17042_load_new_capacity_params()
638 static inline void max17042_override_por_values(struct max17042_chip *chip) in max17042_override_por_values()
691 static int max17042_init_chip(struct max17042_chip *chip) in max17042_init_chip()
741 static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off) in max17042_set_soc_threshold()
758 struct max17042_chip *chip = dev; in max17042_thread_handler() local
774 struct max17042_chip *chip = container_of(work, in max17042_init_worker() local
863 struct max17042_chip *chip; in max17042_probe() local
953 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_suspend() local
969 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_resume() local