Lines Matching defs:chip

160 static int max17040_reset(struct max17040_chip *chip)  in max17040_reset()
165 static int max17040_set_low_soc_alert(struct max17040_chip *chip, u32 level) in max17040_set_low_soc_alert()
172 static int max17040_set_soc_alert(struct max17040_chip *chip, bool enable) in max17040_set_soc_alert()
178 static int max17040_set_rcomp(struct max17040_chip *chip, u16 rcomp) in max17040_set_rcomp()
186 static int max17040_raw_vcell_to_uvolts(struct max17040_chip *chip, u16 vcell) in max17040_raw_vcell_to_uvolts()
194 static int max17040_get_vcell(struct max17040_chip *chip) in max17040_get_vcell()
203 static int max17040_get_soc(struct max17040_chip *chip) in max17040_get_soc()
212 static int max17040_get_version(struct max17040_chip *chip) in max17040_get_version()
222 static int max17040_get_online(struct max17040_chip *chip) in max17040_get_online()
228 static int max17040_get_status(struct max17040_chip *chip) in max17040_get_status()
246 static int max17040_get_of_data(struct max17040_chip *chip) in max17040_get_of_data()
284 static void max17040_check_changes(struct max17040_chip *chip) in max17040_check_changes()
290 static void max17040_queue_work(struct max17040_chip *chip) in max17040_queue_work()
298 struct max17040_chip *chip = data; in max17040_stop_work() local
305 struct max17040_chip *chip; in max17040_work() local
323 static bool max17040_handle_soc_alert(struct max17040_chip *chip) in max17040_handle_soc_alert()
345 struct max17040_chip *chip = dev; in max17040_thread_handler() local
362 static int max17040_enable_alert_irq(struct max17040_chip *chip) in max17040_enable_alert_irq()
391 struct max17040_chip *chip = power_supply_get_drvdata(psy); in max17040_set_property() local
416 struct max17040_chip *chip = power_supply_get_drvdata(psy); in max17040_get_property() local
470 struct max17040_chip *chip; in max17040_probe() local
563 struct max17040_chip *chip = i2c_get_clientdata(client); in max17040_suspend() local
580 struct max17040_chip *chip = i2c_get_clientdata(client); in max17040_resume() local