Lines Matching defs:bq24257_device
82 struct bq24257_device {
210 static int bq24257_field_read(struct bq24257_device *bq,
223 static int bq24257_field_write(struct bq24257_device *bq,
261 static int bq24257_get_input_current_limit(struct bq24257_device *bq,
285 static int bq24257_set_input_current_limit(struct bq24257_device *bq,
306 struct bq24257_device *bq = power_supply_get_drvdata(psy);
400 struct bq24257_device *bq = power_supply_get_drvdata(psy);
421 static int bq24257_get_chip_state(struct bq24257_device *bq,
462 static bool bq24257_state_changed(struct bq24257_device *bq,
530 static int bq24257_iilimit_autoset(struct bq24257_device *bq)
593 struct bq24257_device *bq = container_of(work, struct bq24257_device,
599 static void bq24257_handle_state_change(struct bq24257_device *bq,
652 struct bq24257_device *bq = private;
676 static int bq24257_hw_init(struct bq24257_device *bq)
768 struct bq24257_device *bq = power_supply_get_drvdata(psy);
779 struct bq24257_device *bq = power_supply_get_drvdata(psy);
790 struct bq24257_device *bq = power_supply_get_drvdata(psy);
812 struct bq24257_device *bq = power_supply_get_drvdata(psy);
849 static int bq24257_power_supply_init(struct bq24257_device *bq)
864 static void bq24257_pg_gpio_probe(struct bq24257_device *bq)
881 static int bq24257_fw_probe(struct bq24257_device *bq)
956 struct bq24257_device *bq;
1082 struct bq24257_device *bq = i2c_get_clientdata(client);
1095 struct bq24257_device *bq = dev_get_drvdata(dev);
1112 struct bq24257_device *bq = dev_get_drvdata(dev);