Lines Matching defs:charger
607 static int bq25700_field_read(struct bq25700_device *charger, in bq25700_field_read()
620 static int bq25700_field_write(struct bq25700_device *charger, in bq25700_field_write()
626 static int bq25700_get_chip_state(struct bq25700_device *charger, in bq25700_get_chip_state()
662 static int bq25700_dump_regs(struct bq25700_device *charger) in bq25700_dump_regs()
762 static int bq25703_dump_regs(struct bq25700_device *charger) in bq25703_dump_regs()
820 struct bq25700_device *charger = dev_get_drvdata(dev); in bq25700_charge_info_show() local
834 static void bq25700_init_sysfs(struct bq25700_device *charger) in bq25700_init_sysfs()
888 static int bq25700_fw_read_u32_props(struct bq25700_device *charger) in bq25700_fw_read_u32_props()
978 static int bq25700_hw_init(struct bq25700_device *charger) in bq25700_hw_init()
1099 static int bq25700_fw_probe(struct bq25700_device *charger) in bq25700_fw_probe()
1110 static void bq25700_enable_charger(struct bq25700_device *charger, in bq25700_enable_charger()
1239 static int bq25700_power_supply_init(struct bq25700_device *charger) in bq25700_power_supply_init()
1322 struct bq25700_device *charger = private; in bq25700_irq_handler_thread() local
1344 static void bq25700_enable_typec0(struct bq25700_device *charger) in bq25700_enable_typec0()
1352 static void bq25700_enable_typec1(struct bq25700_device *charger) in bq25700_enable_typec1()
1360 static void bq25700_disable_charge(struct bq25700_device *charger) in bq25700_disable_charge()
1368 static void bq25700_typec0_discharge(struct bq25700_device *charger) in bq25700_typec0_discharge()
1377 static void bq25700_typec1_discharge(struct bq25700_device *charger) in bq25700_typec1_discharge()
1386 static void bq25700_charger_evt_handel(struct bq25700_device *charger, in bq25700_charger_evt_handel()
1434 static void bq25700_charger_usb_bc_handel(struct bq25700_device *charger) in bq25700_charger_usb_bc_handel()
1463 struct bq25700_device *charger = container_of(work, in bq25700_charger_evt_worker() local
1475 struct bq25700_device *charger = container_of(work, in bq25700_charger_evt_worker1() local
1486 struct bq25700_device *charger = in bq25700_charger_evt_notifier() local
1499 struct bq25700_device *charger = in bq25700_charger_evt_notifier1() local
1508 static void bq25700_set_otg_vbus(struct bq25700_device *charger, bool enable) in bq25700_set_otg_vbus()
1519 struct bq25700_device *charger = in bq25700_host_evt_worker() local
1531 struct bq25700_device *charger = in bq25700_host_evt_worker1() local
1544 struct bq25700_device *charger = in bq25700_host_evt_notifier() local
1556 struct bq25700_device *charger = in bq25700_host_evt_notifier1() local
1565 static void bq25700_discnt(struct bq25700_device *charger, in bq25700_discnt()
1593 struct bq25700_device *charger = container_of(work, in bq25700_discnt_evt_worker() local
1600 static int bq25700_register_cg_extcon(struct bq25700_device *charger, in bq25700_register_cg_extcon()
1633 static int bq25700_register_cg_nb(struct bq25700_device *charger) in bq25700_register_cg_nb()
1674 static int bq25700_register_pd_nb(struct bq25700_device *charger) in bq25700_register_pd_nb()
1734 static int bq25700_register_host_nb(struct bq25700_device *charger) in bq25700_register_host_nb()
1773 struct bq25700_device *charger = rdev_get_drvdata(dev); in bq25700_otg_vbus_enable() local
1782 struct bq25700_device *charger = rdev_get_drvdata(dev); in bq25700_otg_vbus_disable() local
1791 struct bq25700_device *charger = rdev_get_drvdata(dev); in bq25700_otg_vbus_is_enabled() local
1819 static int bq25700_register_otg_vbus_regulator(struct bq25700_device *charger) in bq25700_register_otg_vbus_regulator()
1842 static long bq25700_init_usb(struct bq25700_device *charger) in bq25700_init_usb()
1901 static int bq25700_parse_dt(struct bq25700_device *charger) in bq25700_parse_dt()
1956 struct bq25700_device *charger; in bq25700_probe() local
2092 struct bq25700_device *charger = i2c_get_clientdata(client); in bq25700_shutdown() local
2106 struct bq25700_device *charger = dev_get_drvdata(dev); in bq25700_pm_suspend() local
2116 struct bq25700_device *charger = dev_get_drvdata(dev); in bq25700_pm_resume() local