Lines Matching refs:bq25700_device

155 struct bq25700_device {  struct
603 static void bq25700_disable_charge(struct bq25700_device *charger);
605 static struct bq25700_device *bq25700_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()
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()
1137 struct bq25700_device *bq = power_supply_get_drvdata(psy); in bq25700_power_supply_get_property()
1239 static int bq25700_power_supply_init(struct bq25700_device *charger) in bq25700_power_supply_init()
1255 static void bq25700_discnt(struct bq25700_device *charger, enum tpyec_port_t port);
1260 struct bq25700_device *bq = in bq2570x_pd_notifier_call()
1261 container_of(nb, struct bq25700_device, nb); in bq2570x_pd_notifier_call()
1322 struct bq25700_device *charger = private; in bq25700_irq_handler_thread()
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()
1464 struct bq25700_device, usb_work.work); in bq25700_charger_evt_worker()
1475 struct bq25700_device *charger = container_of(work, in bq25700_charger_evt_worker1()
1476 struct bq25700_device, usb_work1.work); in bq25700_charger_evt_worker1()
1486 struct bq25700_device *charger = in bq25700_charger_evt_notifier()
1487 container_of(nb, struct bq25700_device, cable_cg_nb); in bq25700_charger_evt_notifier()
1499 struct bq25700_device *charger = in bq25700_charger_evt_notifier1()
1500 container_of(nb, struct bq25700_device, cable_cg_nb1); in bq25700_charger_evt_notifier1()
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()
1520 container_of(work, struct bq25700_device, host_work.work); in bq25700_host_evt_worker()
1531 struct bq25700_device *charger = in bq25700_host_evt_worker1()
1532 container_of(work, struct bq25700_device, host_work1.work); in bq25700_host_evt_worker1()
1544 struct bq25700_device *charger = in bq25700_host_evt_notifier()
1545 container_of(nb, struct bq25700_device, cable_host_nb); in bq25700_host_evt_notifier()
1556 struct bq25700_device *charger = in bq25700_host_evt_notifier1()
1557 container_of(nb, struct bq25700_device, cable_host_nb1); in bq25700_host_evt_notifier1()
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()
1594 struct bq25700_device, in bq25700_discnt_evt_worker()
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()
1782 struct bq25700_device *charger = rdev_get_drvdata(dev); in bq25700_otg_vbus_disable()
1791 struct bq25700_device *charger = rdev_get_drvdata(dev); in bq25700_otg_vbus_is_enabled()
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()
2092 struct bq25700_device *charger = i2c_get_clientdata(client); in bq25700_shutdown()
2106 struct bq25700_device *charger = dev_get_drvdata(dev); in bq25700_pm_suspend()
2116 struct bq25700_device *charger = dev_get_drvdata(dev); in bq25700_pm_resume()