Searched refs:lp8727_chg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
H A Dlp8727_charger.c88 struct lp8727_chg { struct
105 static int lp8727_read_bytes(struct lp8727_chg *pchg, u8 reg, u8 *data, u8 len) lp8727_read_bytes()
116 static inline int lp8727_read_byte(struct lp8727_chg *pchg, u8 reg, u8 *data) lp8727_read_byte()
121 static int lp8727_write_byte(struct lp8727_chg *pchg, u8 reg, u8 data) lp8727_write_byte()
142 static int lp8727_init_device(struct lp8727_chg *pchg) lp8727_init_device()
162 static int lp8727_is_dedicated_charger(struct lp8727_chg *pchg) lp8727_is_dedicated_charger()
170 static int lp8727_is_usb_charger(struct lp8727_chg *pchg) lp8727_is_usb_charger()
178 static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) lp8727_ctrl_switch()
183 static void lp8727_id_detection(struct lp8727_chg *pchg, u8 id, int vbusin) lp8727_id_detection()
217 static void lp8727_enable_chgdet(struct lp8727_chg *pchg) lp8727_enable_chgdet()
228 struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg, lp8727_delayed_func()
252 struct lp8727_chg *pchg = ptr; lp8727_isr_func()
258 static int lp8727_setup_irq(struct lp8727_chg *pchg) lp8727_setup_irq()
285 static void lp8727_release_irq(struct lp8727_chg *pchg) lp8727_release_irq()
314 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); lp8727_charger_get_property()
340 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); lp8727_battery_get_property()
403 struct lp8727_chg *pchg = dev_get_drvdata(psy->dev.parent); lp8727_charger_changed()
446 static int lp8727_register_psy(struct lp8727_chg *pchg) lp8727_register_psy()
483 static void lp8727_unregister_psy(struct lp8727_chg *pchg) lp8727_unregister_psy()
551 struct lp8727_chg *pchg; lp8727_probe()
598 struct lp8727_chg *pchg = i2c_get_clientdata(cl); lp8727_remove()

Completed in 35 milliseconds