Lines Matching defs:chip
96 struct max17042_chip *chip = power_supply_get_drvdata(psy); in max17042_get_property() local
268 static inline void max10742_unlock_model(struct max17042_chip *chip) in max10742_unlock_model()
276 static inline void max10742_lock_model(struct max17042_chip *chip) in max10742_lock_model()
284 static inline void max17042_write_model_data(struct max17042_chip *chip, in max17042_write_model_data()
295 static inline void max17042_read_model_data(struct max17042_chip *chip, in max17042_read_model_data()
305 static inline int max17042_model_data_compare(struct max17042_chip *chip, in max17042_model_data_compare()
321 static int max17042_init_model(struct max17042_chip *chip) in max17042_init_model()
349 static int max17042_verify_model_lock(struct max17042_chip *chip) in max17042_verify_model_lock()
370 static void max17042_write_config_regs(struct max17042_chip *chip) in max17042_write_config_regs()
386 static void max17042_write_custom_regs(struct max17042_chip *chip) in max17042_write_custom_regs()
410 static void max17042_update_capacity_regs(struct max17042_chip *chip) in max17042_update_capacity_regs()
422 static void max17042_reset_vfsoc0_reg(struct max17042_chip *chip) in max17042_reset_vfsoc0_reg()
433 static void max17042_load_new_capacity_params(struct max17042_chip *chip) in max17042_load_new_capacity_params()
474 static inline void max17042_override_por_values(struct max17042_chip *chip) in max17042_override_por_values()
527 static int max17042_init_chip(struct max17042_chip *chip) in max17042_init_chip()
577 static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off) in max17042_set_soc_threshold()
594 struct max17042_chip *chip = dev; in max17042_thread_handler() local
610 struct max17042_chip *chip = container_of(work, in max17042_init_worker() local
686 struct max17042_chip *chip; in max17042_probe() local
772 struct max17042_chip *chip = i2c_get_clientdata(client); in max17042_remove() local
783 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_suspend() local
799 struct max17042_chip *chip = dev_get_drvdata(dev); in max17042_resume() local