Lines Matching defs:bq
219 static int bq24257_field_read(struct bq24257_device *bq, in bq24257_field_read()
232 static int bq24257_field_write(struct bq24257_device *bq, in bq24257_field_write()
270 static int bq24257_get_input_current_limit(struct bq24257_device *bq, in bq24257_get_input_current_limit()
294 static int bq24257_set_input_current_limit(struct bq24257_device *bq, in bq24257_set_input_current_limit()
315 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_get_property() local
409 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_set_property() local
430 static int bq24257_get_chip_state(struct bq24257_device *bq, in bq24257_get_chip_state()
471 static bool bq24257_state_changed(struct bq24257_device *bq, in bq24257_state_changed()
539 static int bq24257_iilimit_autoset(struct bq24257_device *bq) in bq24257_iilimit_autoset()
602 struct bq24257_device *bq = container_of(work, struct bq24257_device, in bq24257_iilimit_setup_work() local
608 static void bq24257_handle_state_change(struct bq24257_device *bq, in bq24257_handle_state_change()
661 struct bq24257_device *bq = private; in bq24257_irq_handler_thread() local
685 static int bq24257_hw_init(struct bq24257_device *bq) in bq24257_hw_init()
777 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_ovp_voltage() local
788 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_in_dpm_voltage() local
799 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_show_enable() local
821 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_set_enable() local
860 static int bq24257_power_supply_init(struct bq24257_device *bq) in bq24257_power_supply_init()
874 static void bq24257_pg_gpio_probe(struct bq24257_device *bq) in bq24257_pg_gpio_probe()
891 static int bq24257_fw_probe(struct bq24257_device *bq) in bq24257_fw_probe()
966 struct bq24257_device *bq; in bq24257_probe() local
1098 struct bq24257_device *bq = i2c_get_clientdata(client); in bq24257_remove() local
1113 struct bq24257_device *bq = dev_get_drvdata(dev); in bq24257_suspend() local
1130 struct bq24257_device *bq = dev_get_drvdata(dev); in bq24257_resume() local