Lines Matching defs:bq

205 static int bq24257_field_read(struct bq24257_device *bq,  in bq24257_field_read()
218 static int bq24257_field_write(struct bq24257_device *bq, in bq24257_field_write()
256 static int bq24257_get_input_current_limit(struct bq24257_device *bq, in bq24257_get_input_current_limit()
280 static int bq24257_set_input_current_limit(struct bq24257_device *bq, in bq24257_set_input_current_limit()
301 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_get_property() local
395 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_set_property() local
416 static int bq24257_get_chip_state(struct bq24257_device *bq, in bq24257_get_chip_state()
457 static bool bq24257_state_changed(struct bq24257_device *bq, in bq24257_state_changed()
525 static int bq24257_iilimit_autoset(struct bq24257_device *bq) in bq24257_iilimit_autoset()
588 struct bq24257_device *bq = container_of(work, struct bq24257_device, in bq24257_iilimit_setup_work() local
594 static void bq24257_handle_state_change(struct bq24257_device *bq, in bq24257_handle_state_change()
647 struct bq24257_device *bq = private; in bq24257_irq_handler_thread() local
671 static int bq24257_hw_init(struct bq24257_device *bq) in bq24257_hw_init()
763 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_ovp_voltage() local
773 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_show_in_dpm_voltage() local
783 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_show_enable() local
805 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_sysfs_set_enable() local
842 static int bq24257_power_supply_init(struct bq24257_device *bq) in bq24257_power_supply_init()
857 static void bq24257_pg_gpio_probe(struct bq24257_device *bq) in bq24257_pg_gpio_probe()
874 static int bq24257_fw_probe(struct bq24257_device *bq) in bq24257_fw_probe()
947 struct bq24257_device *bq; in bq24257_probe() local
1065 struct bq24257_device *bq = i2c_get_clientdata(client); in bq24257_remove() local
1076 struct bq24257_device *bq = dev_get_drvdata(dev); in bq24257_suspend() local
1093 struct bq24257_device *bq = dev_get_drvdata(dev); in bq24257_resume() local