Lines Matching refs:bq25890_device
107 struct bq25890_device { struct
361 static int bq25890_field_read(struct bq25890_device *bq, in bq25890_field_read()
374 static int bq25890_field_write(struct bq25890_device *bq, in bq25890_field_write()
454 static irqreturn_t __bq25890_handle_irq(struct bq25890_device *bq);
456 static int bq25890_get_vbus_voltage(struct bq25890_device *bq) in bq25890_get_vbus_voltage()
467 static void bq25890_update_state(struct bq25890_device *bq, in bq25890_update_state()
492 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_power_supply_get_property()
689 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_power_supply_set_property()
736 static int bq25890_charger_get_scaled_iinlim_regval(struct bq25890_device *bq, in bq25890_charger_get_scaled_iinlim_regval()
746 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_charger_external_power_changed()
781 static int bq25890_get_chip_state(struct bq25890_device *bq, in bq25890_get_chip_state()
817 static irqreturn_t __bq25890_handle_irq(struct bq25890_device *bq) in __bq25890_handle_irq()
863 struct bq25890_device *bq = private; in bq25890_irq_handler_thread()
873 static int bq25890_chip_reset(struct bq25890_device *bq) in bq25890_chip_reset()
896 static int bq25890_rw_init_data(struct bq25890_device *bq) in bq25890_rw_init_data()
938 static int bq25890_hw_init(struct bq25890_device *bq) in bq25890_hw_init()
1022 static int bq25890_power_supply_init(struct bq25890_device *bq) in bq25890_power_supply_init()
1045 static int bq25890_set_otg_cfg(struct bq25890_device *bq, u8 val) in bq25890_set_otg_cfg()
1058 struct bq25890_device *bq = in bq25890_pump_express_work()
1059 container_of(data, struct bq25890_device, pump_express_work.work); in bq25890_pump_express_work()
1121 struct bq25890_device *bq = in bq25890_usb_work()
1122 container_of(data, struct bq25890_device, usb_work); in bq25890_usb_work()
1142 struct bq25890_device *bq = in bq25890_usb_notifier()
1143 container_of(nb, struct bq25890_device, usb_nb); in bq25890_usb_notifier()
1154 struct bq25890_device *bq = rdev_get_drvdata(rdev); in bq25890_vbus_enable()
1172 struct bq25890_device *bq = rdev_get_drvdata(rdev); in bq25890_vbus_disable()
1190 struct bq25890_device *bq = rdev_get_drvdata(rdev); in bq25890_vbus_is_enabled()
1197 struct bq25890_device *bq = rdev_get_drvdata(rdev); in bq25890_vbus_get_voltage()
1204 struct bq25890_device *bq = rdev_get_drvdata(rdev); in bq25890_vsys_get_voltage()
1243 static int bq25890_register_regulator(struct bq25890_device *bq) in bq25890_register_regulator()
1273 bq25890_register_regulator(struct bq25890_device *bq) in bq25890_register_regulator()
1279 static int bq25890_get_chip_version(struct bq25890_device *bq) in bq25890_get_chip_version()
1329 static int bq25890_irq_probe(struct bq25890_device *bq) in bq25890_irq_probe()
1341 static int bq25890_fw_read_u32_props(struct bq25890_device *bq) in bq25890_fw_read_u32_props()
1392 static int bq25890_fw_probe(struct bq25890_device *bq) in bq25890_fw_probe()
1439 struct bq25890_device *bq = data; in bq25890_non_devm_cleanup()
1453 struct bq25890_device *bq; in bq25890_probe()
1540 struct bq25890_device *bq = i2c_get_clientdata(client); in bq25890_remove()
1555 struct bq25890_device *bq = i2c_get_clientdata(client); in bq25890_shutdown()
1578 struct bq25890_device *bq = dev_get_drvdata(dev); in bq25890_suspend()
1590 struct bq25890_device *bq = dev_get_drvdata(dev); in bq25890_resume()